ovn-migration: Delete FIP agent gateway ports

In DVR environment, there are FG interfaces on nodes. We can delete
those after the migration.

Change-Id: I44967e55213d12af24acbf9561a96afb34548324
Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
This commit is contained in:
Jakub Libosvar authored and Rodolfo Alonso committed 2021-04-22 06:47:07 +00:00
1 parent d5b5f1ac9c
commit 456acdeb8f
1 file changed
+3
@@ -26,4 +26,7 @@ do
openstack network delete $i
done
# Delete DVR gateway ports
openstack port delete $(openstack port list --device-owner "network:floatingip_agent_gateway" -c id -f value)
exit 0