git://git.onelab.eu
/
nodemanager-topo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keep in line with schema.
[nodemanager-topo.git]
/
vinilinkspec.py
diff --git
a/vinilinkspec.py
b/vinilinkspec.py
index
d2aeee2
..
1f47e26
100755
(executable)
--- a/
vinilinkspec.py
+++ b/
vinilinkspec.py
@@
-68,16
+68,16
@@
def linkSpecDict():
ifspecs = []
for node in nodeset:
ifspecs.append(ifSpecDict(node))
ifspecs = []
for node in nodeset:
ifspecs.append(ifSpecDict(node))
- linkspecs.append({
'LinkSpec': {
\
+ linkspecs.append({\
'type': 'ipv4',
'init_params': None,
'bw': '1Gbps',
'min_alloc': '0',
'bw': '1Gbps',
'type': 'ipv4',
'init_params': None,
'bw': '1Gbps',
'min_alloc': '0',
'bw': '1Gbps',
- 'endpoint
s
': ifspecs,
+ 'endpoint': ifspecs,
'start_time': int(time()),
'start_time': int(time()),
- 'duration': '-1'}
}
)
- return
linkspecs
+ 'duration': '-1'})
+ return
{'LinkSpec': linkspecs}
def main():
def main():