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
no functional change, just comments + cosmetic code change to be more similar to...
[nodemanager.git]
/
plugins
/
hostmap.py
diff --git
a/plugins/hostmap.py
b/plugins/hostmap.py
index
8af33cf
..
8bd1c08
100644
(file)
--- a/
plugins/hostmap.py
+++ b/
plugins/hostmap.py
@@
-56,7
+56,7
@@
def GetSlivers(data, config=None, plc=None):
if len(parts)==2:
line = "%s pvt.%s private%d" % (parts[0], parts[1], index)
- if
not (hostname_filter
in parts[1]):
+ if
(parts[0].startswith("10.")) and (hostname_filter not
in parts[1]):
continue
if (index==0):