git://git.onelab.eu
/
monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
defcd65
)
Fixed syntax error in passing PCU info.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 2 Apr 2007 20:28:50 +0000
(20:28 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 2 Apr 2007 20:28:50 +0000
(20:28 +0000)
reboot.py
patch
|
blob
|
history
diff --git
a/reboot.py
b/reboot.py
index
6b947bd
..
297abe6
100755
(executable)
--- a/
reboot.py
+++ b/
reboot.py
@@
-384,9
+384,9
@@
def racadm_reboot(ip, username, password, port):
# Returns true if rebooted via PCU
def reboot(nodename):
- pcu = plc.getpcu(
[nodename]
)
+ pcu = plc.getpcu(
nodename
)
if not pcu:
- plc.nodePOD(
[nodename]
)
+ plc.nodePOD(
nodename
)
return False
# Try the PCU first
logger.debug("Trying PCU %s %s" % (pcu['hostname'], pcu['model']))