X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pcucontrol%2Fmodels%2FIPAL.py;h=1f521902810188c9018d41e1544914ec6c768744;hb=6e0002914c3efb262f55cb250a0627b40659ccbf;hp=758beaefee885c4a57a7f76b8bff577d7fb6c4e2;hpb=4db75f0e8ecc9b9b5c46499b85b73d507f86ebcd;p=monitor.git diff --git a/pcucontrol/models/IPAL.py b/pcucontrol/models/IPAL.py index 758beae..1f52190 100644 --- a/pcucontrol/models/IPAL.py +++ b/pcucontrol/models/IPAL.py @@ -100,6 +100,8 @@ class IPAL(PCUControl): elif status == '0': # down power_on = False + elif status == '6': + raise ExceptionPort("IPAL reported 'Cable Error' on %s socket %s : %s" % (self.host, node_port, ret)) else: raise Exception("Unknown status for PCU %s socket %s : %s" % (self.host, node_port, ret)) else: @@ -128,6 +130,8 @@ class IPAL(PCUControl): elif status == '0': # down power_on = False + elif status == '6': + raise ExceptionPort("IPAL reported 'Cable Error' on %s socket %s : %s" % (self.host, node_port, ret)) else: raise Exception("Unknown status for PCU %s socket %s : %s" % (self.host, node_port, ret)) else: