* [pve-devel] applied: [PATCH v2 pve-network] fix #5364: bgp|evpn: derivated router-id from mac address for ipv6 underlay
[not found] <20240412125742.69845-1-alexandre.derumier@groupe-cyllene.com>
@ 2024-04-22 12:03 ` Thomas Lamprecht
0 siblings, 0 replies; only message in thread
From: Thomas Lamprecht @ 2024-04-22 12:03 UTC (permalink / raw)
To: Alexandre Derumier, pve-devel
Am 12/04/2024 um 14:57 schrieb Alexandre Derumier:
> for ipv4, we use the iface ipv4 router-id as router-id need to 32bit.
>
> That's doesn't work for pure ipv6 underlay network.
>
> since https://www.rfc-editor.org/rfc/rfc6286, we can use any 32bit id,
> it's just need to be unique in the ASN.
>
> Simply use the last 4 bytes of iface mac address as unique id
>
>
> changelog V2: add missing test
>
> Signed-off-by: Alexandre Derumier <alexandre.derumier@groupe-cyllene.com>
> ---
> src/PVE/Network/SDN/Controllers/BgpPlugin.pm | 3 +-
> src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 7 ++-
> src/PVE/Network/SDN/Controllers/Plugin.pm | 21 +++++++++
> src/test/run_test_zones.pl | 8 ++++
> .../ipv6underlay/expected_controller_config | 45 +++++++++++++++++++
> .../evpn/ipv6underlay/expected_sdn_interfaces | 42 +++++++++++++++++
> src/test/zones/evpn/ipv6underlay/interfaces | 7 +++
> src/test/zones/evpn/ipv6underlay/sdn_config | 27 +++++++++++
> 8 files changed, 157 insertions(+), 3 deletions(-)
> create mode 100644 src/test/zones/evpn/ipv6underlay/expected_controller_config
> create mode 100644 src/test/zones/evpn/ipv6underlay/expected_sdn_interfaces
> create mode 100644 src/test/zones/evpn/ipv6underlay/interfaces
> create mode 100644 src/test/zones/evpn/ipv6underlay/sdn_config
>
>
applied, thanks!
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-22 12:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20240412125742.69845-1-alexandre.derumier@groupe-cyllene.com>
2024-04-22 12:03 ` [pve-devel] applied: [PATCH v2 pve-network] fix #5364: bgp|evpn: derivated router-id from mac address for ipv6 underlay Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox