move pcucontrol package into pcucontrol module.
[pcucontrol.git] / pcucontrol / models / ManualPCU.py
1 from pcucontrol.reboot import *
2
3 class ManualPCU(PCUControl):
4         supported_ports = [22,23,80,443]
5
6         def run_http(self, node_port, dryrun):
7                 if not dryrun:
8                         # TODO: send email message to monitor admin requesting manual
9                         # intervention.  This should always be an option for ridiculous,
10                         # custom jobs.
11                         pass
12                 return 0
13