mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Remove batch support when deleting addresses. batching code does not
update the cache yet and that can cause problems during add Ticket: CM-2491 Reviewed By: Testing Done: Still working on the cache update support during batching.
This commit is contained in:
@@ -25,8 +25,6 @@ from sets import Set
|
||||
class ifupdownMain(ifupdownBase):
|
||||
""" ifupdown2 main class """
|
||||
|
||||
|
||||
|
||||
# Flags
|
||||
WITH_DEPENDS = False
|
||||
ALL = False
|
||||
@@ -736,7 +734,7 @@ class ifupdownMain(ifupdownBase):
|
||||
return
|
||||
|
||||
def reload(self, upops, downops, auto=False, allow=None,
|
||||
ifacenames=None, excludepats=None, downchangediface=False):
|
||||
ifacenames=None, excludepats=None):
|
||||
""" reload interface config """
|
||||
|
||||
allow_classes = []
|
||||
@@ -792,8 +790,6 @@ class ifupdownMain(ifupdownBase):
|
||||
if not newifaceobjlist:
|
||||
ifacedownlist.append(ifname)
|
||||
continue
|
||||
if not downchangediface:
|
||||
continue
|
||||
# If interface has changed between the current file
|
||||
# and the last installed append it to the down list
|
||||
if len(newifaceobjlist) != len(lastifaceobjlist):
|
||||
|
Reference in New Issue
Block a user