[pve-devel] [PATCH v2 pve-network 00/13] pve-network improvements

Alexandre Derumier aderumier at odiso.com
Thu Aug 29 12:32:41 CEST 2019


Hi,

pve-network is now able to generate bgp evpn configuration,
so we have a true anycast routable vxlan sdn now :)

It's still missing configuration for outside gateway,
but 2vms in 2differents vnet/subnet should be already able to communicate.

Frr6 from debian buster official repo seem to be buggy,
but it's working with frr7 buster deb from https://deb.frrouting.org/

Here the packages:
https://deb.frrouting.org/frr/pool/frr-stable/f/frr/frr_7.1-1~deb10u1_amd64.deb
https://deb.frrouting.org/frr/pool/frr-stable/f/frr/frr-pythontools_7.1-1~deb10u1_all.deb
(pythontools is needed for frr reload)


Changelog v2:
 - add support to unicast/frr vxlan config in unified vxlan plugin
 - add frr plugin
 - add frr config generation
 - add documentation with sample pvesh commands

Changelog v1:
-add subs for local network config generation
-add code and api for transport/vnet local status

Alexandre Derumier (13):
  add generate_etc_network_config && write_etc_network_config subs
  add new status sub and move code from test
  api2: add local endpoint for listing content of a transportzone
  api2: add local endpoint for listing transportzones status
  make Vxlanplugin generic for multicast/unicast/frr
  add frr plugin
  vxlanplugin: add vrf and vrfvxlan
  vxlan: add support for ipv4/ipv6/mac for anycast routing
  generate network config in a hash
  sdn: add generate_frr_config
  add update_delete hook on frr related options
  sdn: add write_frr_config
  add documentation.txt

 PVE/API2/Network/Makefile               |   2 +
 PVE/API2/Network/SDN.pm                 |   3 +-
 PVE/API2/Network/SDN/Content.pm         |  80 +++++++
 PVE/API2/Network/SDN/Makefile           |   8 +
 PVE/API2/Network/SDN/Status.pm          | 110 ++++++++++
 PVE/Network/SDN.pm                      | 246 ++++++++++++++++++++-
 PVE/Network/SDN/FrrPlugin.pm            | 101 +++++++++
 PVE/Network/SDN/Makefile                |   2 +-
 PVE/Network/SDN/Plugin.pm               |  28 +++
 PVE/Network/SDN/VlanPlugin.pm           |  32 +--
 PVE/Network/SDN/VnetPlugin.pm           |   7 +-
 PVE/Network/SDN/VxlanMulticastPlugin.pm | 121 -----------
 PVE/Network/SDN/VxlanPlugin.pm          | 277 ++++++++++++++++++++++++
 test/documentation.txt                  |  82 +++++++
 test/generateconfig.pl                  |  86 +-------
 test/statuscheck.pl                     |  37 +---
 16 files changed, 966 insertions(+), 256 deletions(-)
 create mode 100644 PVE/API2/Network/SDN/Content.pm
 create mode 100644 PVE/API2/Network/SDN/Makefile
 create mode 100644 PVE/API2/Network/SDN/Status.pm
 create mode 100644 PVE/Network/SDN/FrrPlugin.pm
 delete mode 100644 PVE/Network/SDN/VxlanMulticastPlugin.pm
 create mode 100644 PVE/Network/SDN/VxlanPlugin.pm
 create mode 100644 test/documentation.txt

-- 
2.20.1




More information about the pve-devel mailing list