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
(parent:
b85ce57
)
Keep in line with schema.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Tue, 10 Mar 2009 18:49:14 +0000
(18:49 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Tue, 10 Mar 2009 18:49:14 +0000
(18:49 +0000)
vinilinkspec.py
patch
|
blob
|
history
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))
- linkspecs.append({
'LinkSpec': {
\
+ linkspecs.append({\
'type': 'ipv4',
'init_params': None,
'bw': '1Gbps',
'min_alloc': '0',
'bw': '1Gbps',
- 'endpoint
s
': ifspecs,
+ 'endpoint': ifspecs,
'start_time': int(time()),
- 'duration': '-1'}
}
)
- return
linkspecs
+ 'duration': '-1'})
+ return
{'LinkSpec': linkspecs}
def main():