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:
@ -140,6 +140,8 @@ class ifupdownMain(ifupdownBase):
|
|||||||
def run_down(self, ifaceobj):
|
def run_down(self, ifaceobj):
|
||||||
# Skip link sets on ifaceobjs of type 'vlan' (used for l2 attrs)
|
# Skip link sets on ifaceobjs of type 'vlan' (used for l2 attrs)
|
||||||
# there is no real interface behind it
|
# there is no real interface behind it
|
||||||
|
if ifaceobj.kind & ifaceLinkKind.VRF:
|
||||||
|
return
|
||||||
if ifaceobj.type == ifaceType.BRIDGE_VLAN:
|
if ifaceobj.type == ifaceType.BRIDGE_VLAN:
|
||||||
return
|
return
|
||||||
if (ifaceobj.addr_method and
|
if (ifaceobj.addr_method and
|
||||||
|
Reference in New Issue
Block a user