[pve-devel] [PATCH v2 pve-network 0/5] evpn && bgp improvements

Alexandre Derumier aderumier at odiso.com
Wed Apr 21 22:55:44 CEST 2021


- fix broken evpn tests since last commit
  https://lists.proxmox.com/pipermail/pve-devel/2021-April/047521.html 

- add ebgp-multihop option
  (replace https://lists.proxmox.com/pipermail/pve-devel/2021-April/047547.html)


Changelog v2:

- move mac address option from vnet to evpn zone(this is only need for evpn anycast gateway)
- readd lost ip-forward,ip6-forward,arp-accept since subnet implementation
- fix ipv6 snat
- tests : add ipv6 and ipv4v6 tests
- tests: add an hetzner routed setup with mutiple /32 && a full /29

Alexandre Derumier (5):
  tests: fix evpn vrf
  bgp: add ebgp_multihop option
  zones: evpn: move vnet mac option to evpn zone plugin
  zones: evpn: fix arp-accept && ip-forward + ipv6 snat
  zones: simple: fix ip-forward && ipv6 snat

 PVE/Network/SDN/Controllers/BgpPlugin.pm      |  7 +++
 PVE/Network/SDN/VnetPlugin.pm                 |  6 ---
 PVE/Network/SDN/Zones/EvpnPlugin.pm           | 46 +++++++++++++------
 PVE/Network/SDN/Zones/SimplePlugin.pm         | 34 ++++++++++----
 .../evpn/ebgp/expected_controller_config      |  1 +
 test/zones/evpn/ebgp/expected_sdn_interfaces  |  3 ++
 test/zones/evpn/ebgp/sdn_config               |  2 +-
 .../ebgp_loopback/expected_sdn_interfaces     |  3 ++
 .../evpn/exitnode/expected_sdn_interfaces     |  3 ++
 .../exitnode_snat/expected_sdn_interfaces     | 26 +++++++++++
 test/zones/evpn/exitnode_snat/sdn_config      | 12 ++++-
 test/zones/evpn/ipv4/expected_sdn_interfaces  |  4 ++
 test/zones/evpn/ipv4/sdn_config               |  2 +-
 .../evpn/ipv4ipv6/expected_controller_config  | 31 +++++++++++++
 .../evpn/ipv4ipv6/expected_sdn_interfaces     | 44 ++++++++++++++++++
 test/zones/evpn/ipv4ipv6/interfaces           |  7 +++
 test/zones/evpn/ipv4ipv6/sdn_config           | 32 +++++++++++++
 .../evpn/ipv6/expected_controller_config      | 31 +++++++++++++
 test/zones/evpn/ipv6/expected_sdn_interfaces  | 42 +++++++++++++++++
 test/zones/evpn/ipv6/interfaces               |  7 +++
 test/zones/evpn/ipv6/sdn_config               | 27 +++++++++++
 .../simple/hetzner/expected_sdn_interfaces    | 19 ++++++++
 test/zones/simple/hetzner/interfaces          |  6 +++
 test/zones/simple/hetzner/sdn_config          | 34 ++++++++++++++
 .../zones/simple/ipv4/expected_sdn_interfaces |  1 +
 .../simple/ipv4snat/expected_sdn_interfaces   |  1 +
 .../simple/ipv4v6/expected_sdn_interfaces     | 11 +++++
 test/zones/simple/ipv4v6/interfaces           |  5 ++
 test/zones/simple/ipv4v6/sdn_config           | 27 +++++++++++
 .../simple/ipv6snat/expected_sdn_interfaces   | 13 ++++++
 test/zones/simple/ipv6snat/interfaces         |  7 +++
 test/zones/simple/ipv6snat/sdn_config         | 24 ++++++++++
 32 files changed, 487 insertions(+), 31 deletions(-)
 create mode 100644 test/zones/evpn/ipv4ipv6/expected_controller_config
 create mode 100644 test/zones/evpn/ipv4ipv6/expected_sdn_interfaces
 create mode 100644 test/zones/evpn/ipv4ipv6/interfaces
 create mode 100644 test/zones/evpn/ipv4ipv6/sdn_config
 create mode 100644 test/zones/evpn/ipv6/expected_controller_config
 create mode 100644 test/zones/evpn/ipv6/expected_sdn_interfaces
 create mode 100644 test/zones/evpn/ipv6/interfaces
 create mode 100644 test/zones/evpn/ipv6/sdn_config
 create mode 100644 test/zones/simple/hetzner/expected_sdn_interfaces
 create mode 100644 test/zones/simple/hetzner/interfaces
 create mode 100644 test/zones/simple/hetzner/sdn_config
 create mode 100644 test/zones/simple/ipv4v6/expected_sdn_interfaces
 create mode 100644 test/zones/simple/ipv4v6/interfaces
 create mode 100644 test/zones/simple/ipv4v6/sdn_config
 create mode 100644 test/zones/simple/ipv6snat/expected_sdn_interfaces
 create mode 100644 test/zones/simple/ipv6snat/interfaces
 create mode 100644 test/zones/simple/ipv6snat/sdn_config

-- 
2.20.1




More information about the pve-devel mailing list