git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv6.py adapted to check if the node's virtualization is LXC or VS,
[nodemanager.git]
/
plugins
/
ipv6.py
diff --git
a/plugins/ipv6.py
b/plugins/ipv6.py
index
4f5d39f
..
a9df0e7
100644
(file)
--- a/
plugins/ipv6.py
+++ b/
plugins/ipv6.py
@@
-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))