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:
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: