Merge "[OVN][migration] Clean sg- and fg- interfaces"
This commit is contained in:
commit
1aa36e7a3c
tools/ovn_migration/tripleo_environment/playbooks/roles/migration
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Cleanup neutron router and dhcp interfaces
|
||||
shell: |
|
||||
ovs-vsctl list interface | awk '/name[ ]*: qr-|ha-|qg-|rfp-/ { print $3 }' | xargs -n1 ovs-vsctl del-port
|
||||
ovs-vsctl list interface | awk '/name[ ]*: qr-|ha-|qg-|rfp-|sg-|fg-/ { print $3 }' | xargs -n1 ovs-vsctl del-port
|
||||
|
||||
# dhcp tap ports cannot be easily distinguished from ovsfw ports, so we
|
||||
# list them from within the qdhcp namespaces
|
||||
|
@ -49,7 +49,7 @@ function recreate_bridge_mappings() {
|
||||
|
||||
function copy_interfaces_to_br_migration() {
|
||||
|
||||
interfaces=$(ovs-vsctl list-ifaces br-int | egrep -v 'qr-|ha-|qg-|rfp-')
|
||||
interfaces=$(ovs-vsctl list-ifaces br-int | egrep -v 'qr-|ha-|qg-|rfp-|sg-|fg-')
|
||||
for interface in $interfaces; do
|
||||
if [[ "$interface" == "br-int" ]]; then
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user