Skip VXLANs when rewriting the bridge name for migrations

This commit is contained in:
Aaron Brady 2016-04-21 15:19:56 +01:00
parent a0aa0604ec
commit e9bf7512b4

View File

@ -26,6 +26,8 @@ def isOldStyleBridge(brName):
else:
return False
def isNewStyleBridge(brName):
if brName.startswith('brvx-'):
return False
if re.match(r"br(\w+)-(\d+)", brName) == None:
return False
else: