Browse Source

V2P migration: Improve config file migration

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

Change-Id: Icec6353a3b495a091227f1a17ace9b9ef5c28ab1
changes/10/699110/2
asarfaty 2 years ago
parent
commit
edad9f26e0
  1. 3
      tools/migrate_v_conf.sh

3
tools/migrate_v_conf.sh

@ -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/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"
}

Loading…
Cancel
Save