1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

ifupdownmain: don't down vrf master in sched callback ops

This was bringing down vrf master earlier than required
leading to ssh session hangs in case of management vrf

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
This commit is contained in:
Roopa Prabhu
2016-03-24 21:55:58 -07:00
parent 934c4c49c0
commit 9219cef3d6

View File

@ -140,6 +140,8 @@ class ifupdownMain(ifupdownBase):
def run_down(self, ifaceobj):
# Skip link sets on ifaceobjs of type 'vlan' (used for l2 attrs)
# there is no real interface behind it
if ifaceobj.kind & ifaceLinkKind.VRF:
return
if ifaceobj.type == ifaceType.BRIDGE_VLAN:
return
if (ifaceobj.addr_method and