Copy new dhcp.filters into place for newton

On upgrading from mitaka, dhcp.filters needs an upgrade
due to a recent neutron change in the newton release. See
[1,2] for more details.

[1] https://review.openstack.org/301747
[2] https://review.openstack.org/364131

Partial-bug: #1622002
Change-Id: Id36552fde5bbfdf57df8e9c57ffcd3b678cbc748
This commit is contained in:
Brian Haley 2016-09-15 13:20:43 -04:00 committed by Armando Migliaccio
parent b69f485195
commit bda43eaa48

View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# ``upgrade-neutron``
function configure_neutron_upgrade {
local xtrace
xtrace=$(set +o | grep xtrace)
set -o xtrace
# Apply new rootwrap dhcp.filters because of dnsmasq dhcp_release6 change
sudo cp -f $TARGET_RELEASE_DIR/neutron/etc/neutron/rootwrap.d/dhcp.filters $NEUTRON_CONF_DIR/rootwrap.d/
$xtrace
}