From edad9f26e04ba9902aacb1f2d65d1fef4e2164a3 Mon Sep 17 00:00:00 2001 From: asarfaty Date: Sun, 15 Dec 2019 11:59:53 +0200 Subject: [PATCH] V2P migration: Improve config file migration Update the FWaaS service providor to allow the migration tool to migrate FWaaS resources. Change-Id: Icec6353a3b495a091227f1a17ace9b9ef5c28ab1 --- tools/migrate_v_conf.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/migrate_v_conf.sh b/tools/migrate_v_conf.sh index d6a4cd1200..f5f661f9a0 100644 --- a/tools/migrate_v_conf.sh +++ b/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" }