ipv6.py adapted to check if the node's virtualization is LXC or VS,
[nodemanager.git] / plugins / ipv6.py
index 4f5d39f..a9df0e7 100644 (file)
@@ -216,6 +216,9 @@ def start_radvd():
 def GetSlivers(data, config, plc):
 
     type = 'sliver.LXC'
+    virt=tools.get_node_virt()
+    if virt!='lxc':
+        return
 
     interfaces = data['interfaces']
     logger.log(repr(interfaces))