mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Ticket: CM-12084 Reviewed By: julien, nikhil Testing Done: Tested ifreload/ifup/ifdown --allow=<class> vrf slave brings up the master if master is not up yet. Today this is done only when ALL (auto) option is set just as an optimization. because you dont want to bring up the master in cases where user just wants to bring up the vrf slave. eg ifup -v eth0. This does not work so well, when user uses --allow classes to bring up vrf master and slaves together (eg mgmt vrf). This patch removes the ALL check when bringing up master and replaces it with an ALL or CLASS check. ie make sure vrf master belongs to the same class as you when CLASS is specified. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
42 KiB
42 KiB