X-Git-Url: http://git.onelab.eu/?p=nodemanager-topo.git;a=blobdiff_plain;f=topo.py;h=03c2636d94cd470aaef0cd002ab6d80c2e2acd8a;hp=c895741e553a3f85fc2c6ebd7b54bfd5aa6c9b35;hb=4e42a4f26fd3ff1784ebd98159cc5a92ade779d2;hpb=4d2db6bf4fca9a75c83d97f4df252076e16b8b2b diff --git a/topo.py b/topo.py index c895741..03c2636 100755 --- a/topo.py +++ b/topo.py @@ -135,13 +135,13 @@ def clean_up_old_virtual_links(): for iface in old_ifaces: m = re.match(pattern1, iface) if m: - key = int(m.group(1)) - node = int(m.group(2)) + key = m.group(1) + node = m.group(2) teardown_virtual_link(key, node) m = re.match(pattern2, iface) if m: - key = int(m.group(1)) + key = m.group(1) teardown_nat(key) return