]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: set addrgenmode to none for vrrp macvlan
authorTrey Aspelund <taspelund@nvidia.com>
Fri, 15 Oct 2021 16:53:20 +0000 (12:53 -0400)
committerJulien Fortin <jfortin@nvidia.com>
Fri, 27 May 2022 10:04:14 +0000 (12:04 +0200)
commit46579015f593ff379f376ccb289835cb7bbc5b0b
tree97f3cfd916548a9371a3718ca446ba4e82772cff
parent63155c61d3d79954527892702db31034e212bb07
addons: set addrgenmode to none for vrrp macvlan

A VRRP macvlan interface should only have addresses matching the
VIP defined by the user.  This change ensures we set ipv6 addrgenmode
to none, that way there won't be any unexpected (from user standpoint)
ipv6 link-local addresses to cause confusion or erroneous Type-2 EVPN
routes (in the case of advertise-default-gw with VRRP instead of VRR)
that advertise IP addresses that don't represent a VIP.

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Signed-off-by: Julien Fortin <jfortin@nvidia.com>
ifupdown2/addons/addressvirtual.py