[OVN][migration] Clean sg- and fg- interfaces
During the clone-br-int the interfaces sg- (SNAT)
and the interfaces fg- (FIP) are cloned. But this
is not necessary, since this kind of interfaces
are useless on OVN (OVN uses OpenFlow).
Change-Id: I3cd74d1d4fca9add50b0700a82b8e8a16140f085
(cherry picked from commit 25350b2492
)
This commit is contained in:
parent
d7d43f7a8c
commit
af0828e5e0
|
@ -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…
Reference in New Issue