X-Git-Url: http://git.onelab.eu/?p=nodemanager-topo.git;a=blobdiff_plain;f=create-topo-attributes.py;h=6d64d99c2e23709116eff25bfa153b6fe13d00c5;hp=816c8196e1c2678b6304d05365cd379317056618;hb=6f3e93b60a0293a320cc71947461ad1ffab984d1;hpb=c5ebfa8eecd71b87e1dbcfe2429cc38f50fc875e diff --git a/create-topo-attributes.py b/create-topo-attributes.py index 816c819..6d64d99 100755 --- a/create-topo-attributes.py +++ b/create-topo-attributes.py @@ -128,9 +128,10 @@ for slice in GetSlices(): id = slice['slice_id'] AddSliceAttribute(id, 'topo_rspec', topo_str, node) - """ Remove old topo_rspec entries """ - for node in topo_attr: - DeleteSliceAttribute(topo_attr[node]) - else: print "No EGRE key for %s" % slice['name'] + + """ Remove old topo_rspec entries """ + for node in topo_attr: + DeleteSliceAttribute(topo_attr[node]) +