git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Setting tag monitor-3.1-5
[monitor.git]
/
tests
/
bwlimit.py
diff --git
a/tests/bwlimit.py
b/tests/bwlimit.py
index
bd24f49
..
850ad53
100755
(executable)
--- a/
tests/bwlimit.py
+++ b/
tests/bwlimit.py
@@
-20,7
+20,7
@@
def main():
for h in d_nodes:
host = d_nodes[h]
for nw_id in host['interface_ids']:
for h in d_nodes:
host = d_nodes[h]
for nw_id in host['interface_ids']:
- l_nw = plc.getNodeNetworks({'
nodenetwork
_id': host['interface_ids']})
+ l_nw = plc.getNodeNetworks({'
interface
_id': host['interface_ids']})
bwlimit[h] = []
for nw in l_nw:
if nw['bwlimit'] != None and nw['bwlimit'] < 500000:
bwlimit[h] = []
for nw in l_nw:
if nw['bwlimit'] != None and nw['bwlimit'] < 500000: