git://git.onelab.eu
/
nodemanager-topo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e9a2d77
)
Do not erase manual topology
author
Andy Bavier
<acb@cs.princeton.edu>
Fri, 17 Jul 2009 20:00:09 +0000
(20:00 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Fri, 17 Jul 2009 20:00:09 +0000
(20:00 +0000)
create-topo-attributes.py
patch
|
blob
|
history
diff --git
a/create-topo-attributes.py
b/create-topo-attributes.py
index
3ebe2ff
..
5f42684
100755
(executable)
--- a/
create-topo-attributes.py
+++ b/
create-topo-attributes.py
@@
-378,9
+378,10
@@
for i in slices:
print "Slice %s not using IIAS" % slice.name
if topo_type == 'manual' and slice.get_tag('egre_key', slicetags):
- topo_tag = slice.get_tag('topo_rspec', slicetags)
- if topo_tag:
- topo_tag.updated = True
+ for node in slice.get_nodes(nodes):
+ topo_tag = slice.get_tag('topo_rspec', slicetags, node)
+ if topo_tag:
+ topo_tag.updated = True
# Update the tag values in the database
for i in slicetags: