1 from pcucontrol.reboot import *
3 class WTIIPS4(PCUControl):
5 def run_telnet(self, node_port, dryrun):
6 self.transport.open(self.host)
7 self.transport.sendPassword(self.password, "Enter Password:")
9 self.transport.ifThenSend("IPS> ", "/Boot %s" % node_port)
11 self.transport.ifThenSend("Sure? (Y/N): ", "N")
13 self.transport.ifThenSend("Sure? (Y/N): ", "Y")
15 self.transport.ifThenSend("IPS> ", "")
17 self.transport.close()