Lines Matching full:machine
61 # server control file, on whatever machine the test was
93 def _get_dut(self, machine=None): argument
94 """Returns the DUT record for machine from cell["duts"]
96 machine: name or IP of machine. None: for "the current machine".
99 machine we're running on. The important thing is that this
105 if self.ip and not machine:
106 machine = self.ip
108 if not machine:
115 machine = get_interface_ip(interface)
116 if machine:
118 machine)
119 self.ip = machine
124 if not machine:
126 'Could not determine which machine we are.\n'
133 if machine == dut["address"] or machine == dut["name"]:
137 'This machine %s not matching: (%s,%s) in config. Cell = %s: %s' %
138 (machine, dut['address'],
141 def get_technologies(self, machine=None): argument
142 """Gets technologies to use for machine; defaults to all available.
143 @param machine: Machine to get technologies for.
148 m = self._get_dut(machine)
160 def get_rf_switch_port(self, machine=None): argument
161 """Get the RF Switch Port for the specified machine.
162 @param machine: machine to get rf switch port for
164 dut = self._get_dut(machine)