mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Only warn on ifdown of an interface who has upperifaces still around +
cleanup Ticket: CM-1438 Reviewed By: Testing Done: Tested ifup/ifdown sanity
This commit is contained in:
@ -726,7 +726,7 @@ class ifupdownMain(ifupdownBase):
|
||||
# If iface list is given by the caller, always check if iface
|
||||
# is present
|
||||
if self.validate_ifaces(ifacenames) != 0:
|
||||
raise Exception('all or some interfaces not found')
|
||||
raise Exception('all or some interfaces were never up')
|
||||
# if iface list not given by user, assume all from config file
|
||||
if not ifacenames: ifacenames = self.ifaceobjdict.keys()
|
||||
# filter interfaces based on auto and allow classes
|
||||
|
Reference in New Issue
Block a user