charm-neutron-openvswitch/hooks
Billy Olsen e3ec31c91d Migrate openvswitch-switch file to avoid restarts
The 16.10 release of the neutron-openvswitch charm changed the
file management strategy of /etc/default/openvswitch-switch
config file from managing the file when dpdk is enabled to always
managing the file. Additionally, the template file was changed
in the 16.10 release to modify the file header (commit 4463c334).
These two changes guarantee that the contents of the file will
change when upgrading the charm.

The changing file contents causes the openvswitch-switch service
to be restarted, which in turn causes a data plane outage. This
commit fixes that by migrating the /etc/default/openvswitch-switch
to be charm managed without restarting the openvswitch-switch
service.

The change will only attempt to migrate versions of the file
which were created before 16.10 by searching for a marker in the
rendered version of the file which was added in 16.10.

Change-Id: Icc0f326991be239b88a57292740473f501181ebb
Closes-Bug: #1712444
2017-08-23 15:39:36 -07:00
..
charmhelpers Support polling-interval rpc-response-timeout and report-interval 2017-08-07 09:57:46 +01:00
amqp-relation-broken Restore management of neutron.conf to plugin 2014-06-11 09:44:51 +00:00
amqp-relation-changed Restore management of neutron.conf to plugin 2014-06-11 09:44:51 +00:00
amqp-relation-departed Restore management of neutron.conf to plugin 2014-06-11 09:44:51 +00:00
amqp-relation-joined Restore management of neutron.conf to plugin 2014-06-11 09:44:51 +00:00
config-changed Principle for Neutron API 2014-06-05 11:59:23 +01:00
install Principle for Neutron API 2014-06-05 11:59:23 +01:00
neutron_ovs_context.py Support polling-interval rpc-response-timeout and report-interval 2017-08-07 09:57:46 +01:00
neutron_ovs_hooks.py Migrate openvswitch-switch file to avoid restarts 2017-08-23 15:39:36 -07:00
neutron_ovs_utils.py Support configurable metadata_workers 2017-08-11 18:20:13 +01:00
neutron-control-relation-broken Add neutron-control interface 2016-08-31 10:40:07 +00:00
neutron-control-relation-changed Add neutron-control interface 2016-08-31 10:40:07 +00:00
neutron-control-relation-departed Add neutron-control interface 2016-08-31 10:40:07 +00:00
neutron-control-relation-joined Add neutron-control interface 2016-08-31 10:40:07 +00:00
neutron-plugin-api-relation-broken Add support for neutron-plugin-api relation and switch to using that for security group settings 2014-06-17 16:14:17 +01:00
neutron-plugin-api-relation-changed Add support for neutron-plugin-api relation and switch to using that for security group settings 2014-06-17 16:14:17 +01:00
neutron-plugin-api-relation-departed Add support for neutron-plugin-api relation and switch to using that for security group settings 2014-06-17 16:14:17 +01:00
neutron-plugin-relation-changed Principle for Neutron API 2014-06-05 11:59:23 +01:00
neutron-plugin-relation-departed Principle for Neutron API 2014-06-05 11:59:23 +01:00
neutron-plugin-relation-joined Principle for Neutron API 2014-06-05 11:59:23 +01:00
pci.py Update SR-IOV support for >= Mitaka 2017-02-07 14:55:32 +01:00
stop Tidy up and fix bug causing sec group settings to not be updated by api service 2014-06-23 13:50:23 +01:00
update-status Add missing update-status hook 2016-10-10 09:28:46 +01:00
upgrade-charm General tidyup after initial feedback 2014-06-17 15:31:03 +01:00
zeromq-configuration-relation-changed Add 0mq support 2014-09-09 13:09:30 +00:00
zeromq-configuration-relation-joined Add 0mq support 2014-09-09 13:09:30 +00:00