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
convert GetNodeNetworks to GetInterfaces and nodenetwork_ids to interface_ids
[monitor.git]
/
monitor
/
bootman.py
diff --git
a/monitor/bootman.py
b/monitor/bootman.py
index
effd750
..
bfb295c
100755
(executable)
--- a/
monitor/bootman.py
+++ b/
monitor/bootman.py
@@
-813,7
+813,7
@@
def restore(sitehist, hostname, config=None, forced_action=None):
args = {}
try:
node = plccache.GetNodeByName(hostname)
- net = api.Get
NodeNetworks(node['nodenetwork
_ids'])[0]
+ net = api.Get
Interfaces(node['interface
_ids'])[0]
except:
email_exception()
print traceback.print_exc()