commit c9bf347a238d45072c54d0915e4b9ea0a8683a17
Author: Dan Sneddon <email address hidden>
Date: Sat Sep 29 04:28:14 2018 -0700
Apply IP/netmask/route/MTU changes without bouncing interfaces.
Modifications to impl_ifcfg.py to support making changes to IP
address, MTU, and routes live, rather than running ifdown/ifup on the
interface. Bouncing the interface is very disruptive, especially with
bridges where all the child interfaces are also bounced.
If only the IP address, netmask, MTU, routes, and/or boot status are
changed, the file will be written and 'ip' or 'ip route' commands
will be run to apply the new config on the fly. If any commands fail,
the interface will be restarted instead.
Reviewed: https:/ /review. openstack. org/606396 /git.openstack. org/cgit/ openstack/ os-net- config/ commit/ ?id=c9bf347a238 d45072c54d0915e 4b9ea0a8683a17
Committed: https:/
Submitter: Zuul
Branch: master
commit c9bf347a238d450 72c54d0915e4b9e a0a8683a17
Author: Dan Sneddon <email address hidden>
Date: Sat Sep 29 04:28:14 2018 -0700
Apply IP/netmask/ route/MTU changes without bouncing interfaces.
Modifications to impl_ifcfg.py to support making changes to IP
address, MTU, and routes live, rather than running ifdown/ifup on the
interface. Bouncing the interface is very disruptive, especially with
bridges where all the child interfaces are also bounced.
If only the IP address, netmask, MTU, routes, and/or boot status are
changed, the file will be written and 'ip' or 'ip route' commands
will be run to apply the new config on the fly. If any commands fail,
the interface will be restarted instead.
Closes-bug: 1795129 8feb80f09a67aa5 a947d64ac30
Change-Id: I75239fd3f273a8