mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Fixes for some corner cases + cleanup
Ticket: CM-1438 Reviewed By: Testing Done: Also includes fix for CM-2307 and some other fixes for primary/secondary address handling.
This commit is contained in:
@@ -14,6 +14,7 @@ from collections import deque
|
||||
from collections import OrderedDict
|
||||
import logging
|
||||
import traceback
|
||||
import sys
|
||||
from graph import *
|
||||
from collections import deque
|
||||
from threading import *
|
||||
@@ -198,6 +199,8 @@ class ifaceScheduler():
|
||||
order, followdependents)
|
||||
except Exception, e:
|
||||
if continueonfailure:
|
||||
if ifupdownobj.logger.isEnabledFor(logging.DEBUG):
|
||||
traceback.print_tb(sys.exc_info()[2])
|
||||
ifupdownobj.logger.error('%s : %s' %(ifacename, str(e)))
|
||||
pass
|
||||
else:
|
||||
|
Reference in New Issue
Block a user