hostname = data['hostname']
+ hostname_filter = ".".join(hostname.split(".")[1:])
+
for sliver in data['slivers']:
slicename = sliver['name']
for tag in sliver['attributes']:
if len(parts)==2:
line = "%s pvt.%s private%d" % (parts[0], parts[1], index)
+ if (parts[0].startswith("10.")) and (hostname_filter not in parts[1]):
+ continue
+
if (index==0):
line = line + " headnode"