git://git.onelab.eu
/
pcucontrol.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Verify expect versions of DRAC, HPiLO and updates to APCControl, & OpenIPMI
[pcucontrol.git]
/
pcucontrol
/
models
/
DRAC.py
diff --git
a/pcucontrol/models/DRAC.py
b/pcucontrol/models/DRAC.py
index
672d92f
..
d9e4fe6
100644
(file)
--- a/
pcucontrol/models/DRAC.py
+++ b/
pcucontrol/models/DRAC.py
@@
-4,12
+4,12
@@
import time
class DRAC(BasicPCUControl):
supported_ports = [22,443,5869]
def run_drac(self, node_port, dryrun):
class DRAC(BasicPCUControl):
supported_ports = [22,443,5869]
def run_drac(self, node_port, dryrun):
- return self.run_expect_script("DRAC.exp racadm
5
", dryrun=dryrun, model="None")
+ return self.run_expect_script("DRAC.exp racadm", dryrun=dryrun, model="None")
def run_ssh(self, node_port, dryrun):
return self.run_expect_script("DRAC.exp ssh", dryrun=dryrun, model="None")
def run_ssh(self, node_port, dryrun):
return self.run_expect_script("DRAC.exp ssh", dryrun=dryrun, model="None")
- def pcu_run(self, node_port):
+ def pcu_run(self, node_port
, dryrun=False
):
r = self.run_ssh(node_port, dryrun=False)
if "No error" in r:
return r
r = self.run_ssh(node_port, dryrun=False)
if "No error" in r:
return r
@@
-18,7
+18,7
@@
class DRAC(BasicPCUControl):
return r2
return r + " :: " +r2
return r2
return r + " :: " +r2
- def pcu_test(self, node_port):
+ def pcu_test(self, node_port
, dryrun=True
):
r = self.run_ssh(node_port, dryrun=True)
if "No error" in r:
return r
r = self.run_ssh(node_port, dryrun=True)
if "No error" in r:
return r