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

Support for manual method + rearrange some code

Ticket: CM-1438
Reviewed By:
Testing Done:

- Moved link config to base ifupdown. I had been debating about this,
  this is need to support manual and also the --no-scripts option.
- helps executing only link up/down operations if needed on an interface
- While at it, i also moved the scheduler methods to be classmethods
  instead of instance methods (which again was a pending cleanup task)
This commit is contained in:
roopa
2014-02-17 19:01:37 -08:00
parent 83c1f241fd
commit be0b20f288
5 changed files with 200 additions and 171 deletions

View File

@@ -275,7 +275,6 @@ handlers = {'up' : run_up,
def main(argv):
""" main function """
args = None
try:
op = None
if re.search(r'ifup', argv[0]) != None: