mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Ticket: CM-7087 Reviewed By: CCR-3379 Testing Done: unit testing with clag_vxlan_clos_spec/cfg.py On clag pairing, clagd changes local address of vxlan device to anycast ip. If user does ifreload now, ifupdown2 will overwrite local address with individual ip contained in /etc/netwrok/interfaces. vxlan.py caches anycast_ip configuration so that ifquery -c can skip it from flagging error and ifreload skip overwriting vxlan device's local ip. vxrd provisions head-end replication endpoints by adding bridge fdb entries. If /etc/network/interfaces doesn't have remote-ip attribute, then on ifreload ifupdown2 will delete all vxrd provisioned entries. ifupdown will check for presence of vxrd service and skip add/delete bridge fdb entries for head-end replication On ifreload vxlan device are put in proto-down even if they are up and running. Check for operstate and put it in proto-down only if operstate transitions from down to up.