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>
(cherry picked from commit 456acdeb8fd308870170ac7f2b0165aabd25f46c)
changes/16/800616/1
Jakub Libosvar 2 years ago
parent 6e9decaeb8
commit 0e95ac3600
  1. 3
      migration/tripleo_environment/playbooks/roles/delete-neutron-resources/templates/delete-neutron-resources.sh.j2

@ -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

Loading…
Cancel
Save