]> git.proxmox.com Git - mirror_ifupdown2.git/commit - ifupdown2/ifupdown/ifupdownmain.py
Disable exec of legacy /etc/network/<scripts> for now because of the
authorroopa <roopa@cumulusnetworks.com>
Thu, 20 Feb 2014 17:07:55 +0000 (09:07 -0800)
committerroopa <roopa@cumulusnetworks.com>
Thu, 20 Feb 2014 17:07:55 +0000 (09:07 -0800)
commit6bd7fc74669ee3c5b25aa6cad7c3706555ac45f6
tree5a544a5fd1adfd52fe5a8d0db41dc5bcce4df329
parentfe0a57d3557341a203c52c67e8b00573d255cd52
Disable exec of legacy /etc/network/<scripts> for now because of the
overhead

Ticket: CM-1438
Reviewed By:
Testing Done:

These are executed with shell=True and python subprocess performance
with shell=True sucks. This seems to have improved in python3. Will try
that out next. And also plan to make this controllable via an option.

This reduces time to ifup by half.
pkg/ifupdownmain.py
pkg/scheduler.py