]> git.proxmox.com Git - mirror_ifupdown2.git/commit - addons/vrf.py
addons: addressvirtual: enslave macvlans on vrf slaves to the vrf master
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Mon, 18 Jul 2016 05:50:26 +0000 (22:50 -0700)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 26 Jul 2016 21:43:47 +0000 (14:43 -0700)
commit1b284018d5eb2771888b02f8cebf84a82ed21c88
tree7e57dc77e4f46110aa9d3518f3df6d698da9e9e8
parent1efda6c232f67717da5ffbfa2669ff14886b9dfc
addons: addressvirtual: enslave macvlans on vrf slaves to the vrf master

Ticket: CM-11803
Reviewed By: dsa, scotte, wkok, nikhil, julien
Testing Done: tested config of address-virtual lines on vrf slaves

This patch does the following:
- addressvirtual: enslaves macvlans created on vrf slaves
to the vrf master
- vrf: when looking for stale slaves on vrf master, skip
macvlan devices. This code does basic checking right now
and can be improved to include more cases.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
addons/addressvirtual.py
addons/vrf.py
ifupdownaddons/iproute2.py