Lines Matching full:machine
51 # server control file, on whatever machine the test was
83 def _get_dut(self, machine=None): argument
84 """Returns the DUT record for machine from cell["duts"]
86 machine: name or IP of machine. None: for "the current machine".
89 machine we're running on. The important thing is that this
95 if self.ip and not machine:
96 machine = self.ip
98 if not machine:
105 machine = get_interface_ip(interface)
106 if machine:
108 machine)
109 self.ip = machine
114 if not machine:
116 'Could not determine which machine we are.\n'
123 if machine == dut["address"] or machine == dut["name"]:
127 'This machine %s not matching: (%s,%s) in config. Cell = %s: %s' %
128 (machine, dut['address'],
131 def get_technologies(self, machine=None): argument
132 """Gets technologies to use for machine; defaults to all available.
133 @param machine: Machine to get technologies for.
138 m = self._get_dut(machine)
150 def get_rf_switch_port(self, machine=None): argument
151 """Get the RF Switch Port for the specified machine.
152 @param machine: machine to get rf switch port for
154 dut = self._get_dut(machine)