[OVN Migration] Remove trunk's subports from the nodes

After migration from ML2/OVS to ML2/OVN trunk subports which were created
by the neutron-ovs-agent to connect br-int with trunk bridges (tbr-)
aren't needed anymore and should be deleted.

Closes-Bug: #1946479
Change-Id: Ib1e3b78597ebdde1aa9d2b242e2005a05a7db89f
(cherry picked from commit bf6831e0d2)
This commit is contained in:
Slawek Kaplonski 2021-10-08 15:06:19 +02:00
parent 0c5a5ef921
commit 753be029a9
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@
done
done
- name: Cleanup neutron trunk subports
shell: |
ovs-vsctl list interface | awk '/name[ ]*: sp[it]-/ { print $3 }' | xargs -n1 ovs-vsctl del-port
- name: Clean neutron datapath security groups from iptables
shell: |