git://git.onelab.eu
/
infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move as much as we can to buzzcocks - only f18 remains on reed for now
[infrastructure.git]
/
scripts
/
vsys_vnet_admin.py
diff --git
a/scripts/vsys_vnet_admin.py
b/scripts/vsys_vnet_admin.py
index
5dfeab4
..
52cdd96
100755
(executable)
--- a/
scripts/vsys_vnet_admin.py
+++ b/
scripts/vsys_vnet_admin.py
@@
-89,9
+89,9
@@
or %prog -a -S <slicename> : assigns a range to slice <slicename>"""
if not pl_slice:
pl_slice = raw_input ("Please, enter your slice name \n")
if not pl_slice:
pl_slice = raw_input ("Please, enter your slice name \n")
-
if pl_slice in assigned.values():
-
print "Error: This slice already has a tag vsys_vnet assigned!!!"
-
sys.exit(1)
+ if pl_slice in assigned.values():
+ print "Error: This slice already has a tag vsys_vnet assigned!!!"
+ sys.exit(1)
slice_tag_id = assign_vsys_vent(api, auth, vsys_vnet, pl_slice)
slice_tag_id = assign_vsys_vent(api, auth, vsys_vnet, pl_slice)