V2P migration: Improve config file migration

Update the FWaaS service providor to allow the migration tool to migrate
FWaaS resources.

Change-Id: Icec6353a3b495a091227f1a17ace9b9ef5c28ab1
This commit is contained in:
asarfaty 2019-12-15 11:59:53 +02:00
parent 50b93766ef
commit edad9f26e0

View File

@ -123,6 +123,9 @@ function create_neutron_conf {
sed -i 's/vmware_nsxv_edge_v2/vmware_nsxp_edge_v2/' $p_neutron_conf sed -i 's/vmware_nsxv_edge_v2/vmware_nsxp_edge_v2/' $p_neutron_conf
sed -i 's/vmware_nsxv_edge/vmware_nsxp_edge_v2/' $p_neutron_conf sed -i 's/vmware_nsxv_edge/vmware_nsxp_edge_v2/' $p_neutron_conf
# Replace the FWaaS service provider temporarily to allow the migration
sed -i 's/neutron_fwaas.services.firewall.service_drivers.agents.agents.FirewallAgentDriver/vmware_nsx.services.fwaas.common.api_replay_driver.ApiReplayFirewallAgentDriver/' $p_neutron_conf
echo "Created $p_neutron_conf for policy plugin neutron.conf" echo "Created $p_neutron_conf for policy plugin neutron.conf"
} }