7 from qa.PLCs import PLC, PLCs
14 def call(self, plc_name):
17 plc = PLC(self.config)
18 plcs = getattr(self.config, 'plcs', [])
20 if p['name'] in [plc_name]:
23 command = " /sbin/service plc stop "
24 if self.config.verbose:
27 (status, output) = plc.commands(command)
29 if self.config.verbose:
34 if __name__ == '__main__':
35 args = tuple(sys.argv[1:])