Commit b8548c33 by Bach Dániel

fix ovs-vsctl parser

parent b1757b8c
......@@ -126,7 +126,7 @@ class Switch(object):
elif t[0] == 'Port':
port = t[1].replace('"', '') # valahol idezojel van
if port.endswith('-EXT'):
port = port.rstrip('-EXT')
port = port.rsplit('-EXT')[0]
type = 'internal'
else:
type = 'external'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment