This adds basic IPv6 underlay support for EVPN zones.
This does rely on [1], without it FRR won't advertise v6 next-hops. So
this should not be applied before the FRR version we ship includes [1],
based on @Gabriel's estimate this could be included in a version that may
be released early next month(february). I did test this with the latest
master of FRR.

(this also needs the changes to `get_local_route_ip` added with [2])

Aside from that, like for VXLAN, we prefer IPv6 if the underlaying
fabric should offer both, and we don't support peer addresses with
different IP versions. So either all v6 or all v4.


[1] https://github.com/FRRouting/frr/pull/19498
[2] 
https://lore.proxmox.com/pve-devel/[email protected]/T/#u

pve-network:

Hannes Laimer (6):
  sdn: evpn: prepare IPv6 underlay support
  sdn: controller: fallback to interface mac if no master
  sdn: controller: prevent invalid router-id generation from zero mac
  sdn: evpn: keep router-id valid on IPv6 underlay
  sdn: vxlan: sort peer IPs when generating sdn config
  sdn: evpn: add tests covering ipv6 underlays

 src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 70 ++++++++++++---
 src/PVE/Network/SDN/Controllers/Plugin.pm     |  9 +-
 src/PVE/Network/SDN/Zones/EvpnPlugin.pm       | 28 ++++--
 src/PVE/Network/SDN/Zones/VxlanPlugin.pm      |  2 +-
 .../expected_controller_config                | 64 ++++++++++++++
 .../expected_sdn_interfaces                   | 56 ++++++++++++
 .../exitnode_local_routing_ipv6/interfaces    |  7 ++
 .../exitnode_local_routing_ipv6/sdn_config    | 27 ++++++
 .../expected_controller_config                | 86 +++++++++++++++++++
 .../expected_sdn_interfaces                   | 64 ++++++++++++++
 .../evpn/openfabric_fabric_ipv6/interfaces    |  6 ++
 .../evpn/openfabric_fabric_ipv6/sdn_config    | 83 ++++++++++++++++++
 .../expected_controller_config                | 74 ++++++++++++++++
 .../expected_sdn_interfaces                   | 58 +++++++++++++
 .../openfabric_fabric_ipv6_only/interfaces    |  6 ++
 .../openfabric_fabric_ipv6_only/sdn_config    | 79 +++++++++++++++++
 16 files changed, 701 insertions(+), 18 deletions(-)
 create mode 100644 
src/test/zones/evpn/exitnode_local_routing_ipv6/expected_controller_config
 create mode 100644 
src/test/zones/evpn/exitnode_local_routing_ipv6/expected_sdn_interfaces
 create mode 100644 src/test/zones/evpn/exitnode_local_routing_ipv6/interfaces
 create mode 100644 src/test/zones/evpn/exitnode_local_routing_ipv6/sdn_config
 create mode 100644 
src/test/zones/evpn/openfabric_fabric_ipv6/expected_controller_config
 create mode 100644 
src/test/zones/evpn/openfabric_fabric_ipv6/expected_sdn_interfaces
 create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6/interfaces
 create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6/sdn_config
 create mode 100644 
src/test/zones/evpn/openfabric_fabric_ipv6_only/expected_controller_config
 create mode 100644 
src/test/zones/evpn/openfabric_fabric_ipv6_only/expected_sdn_interfaces
 create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6_only/interfaces
 create mode 100644 src/test/zones/evpn/openfabric_fabric_ipv6_only/sdn_config


Summary over all repositories:
  16 files changed, 701 insertions(+), 18 deletions(-)

-- 
Generated by git-murpp 0.8.1


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to