]> git.proxmox.com Git - mirror_ifupdown2.git/commit
ifupdown: add new 'down [yes|no]' link attribute to keep link down
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Wed, 4 Jan 2017 22:52:09 +0000 (14:52 -0800)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Thu, 5 Jan 2017 16:30:11 +0000 (08:30 -0800)
commit02e00f54bbf9d0ca647c1ed2c39f7af28b6653b7
tree787b4d272a1b80289e0fae314223d5318c1faea3
parent7a04fa917e08beff62a4468a8cc6bce1340f38f5
ifupdown: add new 'down [yes|no]' link attribute to keep link down

Ticket: CM-13434
Reviewed by: julien, nikhil, daniel
Testing Done: ifreload and multiple down [yes|no] sequences under
physical and logical interfaces (ifupdown2-tests test case is pending)

This also moves the fix done for CM-4125 (inet manual handling for
logical devices) into a single place under ifupdownmain.

attribute 'down [yes|no]' will not work in all cases when 'inet manual'
is used. This is only to preserve the semantics of 'inet manual'.
Best use of 'down [yes|no]' is to use it without 'inet manual'..
they are conflicting features anyways.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
addons/address.py
addons/bond.py
addons/bridge.py
addons/vlan.py
addons/vxlan.py
ifupdown/iface.py
ifupdown/ifupdownmain.py