Searched refs:rf_switch (Results 1 - 11 of 11) sorted by relevance

/external/autotest/server/cros/network/
H A Drf_switch_utils.py10 RF_SWITCH_LABEL = 'rf_switch'
24 # Get a list of hosts with label rf_switch that are not locked.
27 for rf_switch in rf_switch_hosts:
29 if afe.lock_host(rf_switch.hostname, LOCK_REASON):
30 return rf_switch
32 'RF Switch %s could not be locked' % rf_switch.hostname)
42 @return True if rf_switch is unlocked, False otherwise.
47 rf_switch = afe.get_hosts(hostnames=[rf_switch_host.hostname])
48 return not rf_switch.locked
H A Drf_switch_utils_test.py37 rf_switch = rf_switch_utils.allocate_rf_switch()
38 self.assertEquals(rf_switch, mock_host_instance)
39 self.assertEquals(rf_switch.hostname, 'chromeos9-rfswitch1')
/external/autotest/server/cros/network/rf_switch/
H A Drf_switch_unittest.py5 """Unit tests for server/cros/network/rf_switch/rf_switch.py."""
10 from autotest_lib.server.cros.network.rf_switch import rf_mocks
11 from autotest_lib.server.cros.network.rf_switch import rf_switch namespace
12 from autotest_lib.server.cros.network.rf_switch import scpi
40 '%s\n' % rf_switch.RfSwitch._CMD_WAIT)
73 with self.assertRaises(rf_switch.RfSwitchException):
80 '%s (@%s)\n' % (rf_switch.RfSwitch._CMD_CLOSE_RELAYS, relays))
89 rf_switch
[all...]
H A Drf_switch_ssh_tunnel_unittest.py5 """Unit tests for server/cros/network/rf_switch/rf_switch_ssh_tunnel.py."""
11 from autotest_lib.server.cros.network.rf_switch import rf_switch namespace
12 from autotest_lib.server.cros.network.rf_switch import rf_switch_ssh_tunnel
13 from autotest_lib.server.cros.network.rf_switch import scpi_ssh_tunnel
34 self.god.stub_class_method(rf_switch.RfSwitch, '__init__')
41 self.assertEqual(0, rf_switch.RfSwitch.__init__.num_calls,
H A Drf_switch_ssh_tunnel.py32 from autotest_lib.server.cros.network.rf_switch import rf_switch namespace
33 from autotest_lib.server.cros.network.rf_switch import scpi
34 from autotest_lib.server.cros.network.rf_switch import scpi_ssh_tunnel
37 class RfSwitchSshTunnel(scpi_ssh_tunnel.ScpiSshTunnel, rf_switch.RfSwitch):
H A Drf_mocks.py14 from autotest_lib.server.cros.network.rf_switch import rf_switch namespace
15 from autotest_lib.server.cros.network.rf_switch import scpi
55 class RfSwitchMock(rf_switch.RfSwitch):
H A Dscpi_unittest.py5 """Unit tests for server/cros/network/rf_switch/scpi.py."""
11 from autotest_lib.server.cros.network.rf_switch import rf_mocks
12 from autotest_lib.server.cros.network.rf_switch import scpi
H A Dscpi_ssh_tunnel.py37 from autotest_lib.server.cros.network.rf_switch import scpi
H A Drf_switch.py15 from autotest_lib.server.cros.network.rf_switch import scpi
/external/autotest/server/cros/
H A Drf_switch_1_ap_box_4_ap_list.conf7 wan_hostname = rf_switch-dummy
/external/autotest/client/cros/cellular/
H A Demulator_config.py41 if 'rf_switch' not in config.cell:
43 switch_config = config.cell['rf_switch']
76 rf_switch = _CreateRfSwitch(config)
77 if rf_switch:
80 'Changing switch port from %s to %s' % (rf_switch.Query(), port))
81 rf_switch.SelectPort(port)

Completed in 199 milliseconds