[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
This commit is contained in:
Slawek Kaplonski 2021-10-08 15:06:19 +02:00
parent 5092f3fb98
commit bf6831e0d2

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