mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
statically configured Ticket: CM-12277 Reviewed By: CCR-5059 Testing Done: ifreload with a VxlanClagClosConfig.py config get_vxlan_peers gets remote ip addresses if they are statically configured through ifupdown2 (vxlan-remoteip <address>). These are cached in ifupdown2's link object so that they can be used in 'ip link set' (if link exists already), 'ifquery -r' and 'ifquery -c'. ifupdown2 should ignore and not cache these addresses if they are provisioned by vxrd. Check if vxrd is running before caching remote ip addresses. This helps in optimizing time taken to ifreload with 1k bridge/vxlan interfaces (vlan-aware bridge) in a vxrd/vxsnd setup. Signed-off-by: Balakrishnan Raman <ramanb@cumulusnetworks.com>