X-Git-Url: http://git.onelab.eu/?p=pcucontrol.git;a=blobdiff_plain;f=pcucontrol%2Fmodels%2FHPiLO.py;fp=pcucontrol%2Fmodels%2FHPiLO.py;h=7a2863addaf948f9c665841f12cb42c67ee0e31e;hp=e0595beae29ec59b06656b9f7f649cce32311082;hb=fec28d68cc164e581c476ee93fd4b4b68ef939fd;hpb=4c1af5526615cf1958b801176c802283d7d4d308 diff --git a/pcucontrol/models/HPiLO.py b/pcucontrol/models/HPiLO.py index e0595be..7a2863a 100644 --- a/pcucontrol/models/HPiLO.py +++ b/pcucontrol/models/HPiLO.py @@ -12,7 +12,7 @@ class HPiLO(BasicPCUControl): else: raise ExceptionNoTransport("Unimplemented Transport for HPiLO %s" % self.type) - def pcu_run(self, node_port): + def pcu_run(self, node_port, dryrun=False): r = self.run_https(node_port, dryrun=False) if "No error" in r: return r @@ -21,7 +21,7 @@ class HPiLO(BasicPCUControl): return r2 return r + " :: " +r2 - def pcu_test(self, node_port): + def pcu_test(self, node_port, dryrun=True): r = self.run_https(node_port, dryrun=True) if "No error" in r: return r