mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Skip VXLANs when rewriting the bridge name for migrations
This commit is contained in:
parent
a0aa0604ec
commit
e9bf7512b4
@ -26,6 +26,8 @@ def isOldStyleBridge(brName):
|
|||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
def isNewStyleBridge(brName):
|
def isNewStyleBridge(brName):
|
||||||
|
if brName.startswith('brvx-'):
|
||||||
|
return False
|
||||||
if re.match(r"br(\w+)-(\d+)", brName) == None:
|
if re.match(r"br(\w+)-(\d+)", brName) == None:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user