]> git.proxmox.com Git - mirror_ifupdown2.git/commit - ifupdown/scheduler.py
Support for manual method + rearrange some code
authorroopa <roopa@cumulusnetworks.com>
Tue, 18 Feb 2014 03:01:37 +0000 (19:01 -0800)
committerroopa <roopa@cumulusnetworks.com>
Tue, 18 Feb 2014 03:01:37 +0000 (19:01 -0800)
commitbe0b20f288a87e09a8953732cecabe323ee8aa7f
tree9fe1ac1029fa8adfe07053ce00cdb992923c7940
parent83c1f241fd08a1f38340c9aab0dcaa3e2a0af7b0
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)
pkg/ifupdownbase.py
pkg/ifupdownmain.py
pkg/networkinterfaces.py
pkg/scheduler.py
sbin/ifupdown