Home
last modified time | relevance | path

Searched refs:device_hostname (Results 1 – 9 of 9) sorted by relevance

/external/autotest/contrib/
Dgenerate_rpm_mapping.py50 def get_rpm_hostname(cls, device_hostname): argument
62 def get_rpm_outlet(cls, device_hostname): argument
74 def get_hydra_hostname(cls, device_hostname): argument
86 def is_device_in_the_lab(cls, device_hostname): argument
95 return device_hostname.lab == cls.LAB_NUMBER
105 def get_rpm_hostname(cls, device_hostname): argument
113 if not device_hostname.row:
116 device_hostname.lab, device_hostname.row,
117 device_hostname.rack)
121 def get_rpm_outlet(cls, device_hostname): argument
[all …]
/external/autotest/site_utils/rpm_control_system/
Dfrontend_server.py100 def set_power_via_poe(self, device_hostname, new_state): argument
114 device_hostname = device_hostname.split('.')[0]
118 'state %s', device_hostname, new_state)
121 device_hostname, new_state)
122 powerunit_info = self._get_poe_powerunit_info(device_hostname)
127 return self.set_power_via_poe(device_hostname, new_state)
130 def set_power_via_rpm(self, device_hostname, rpm_hostname, argument
154 'state %s', device_hostname, new_state)
157 device_hostname, new_state)
160 device_hostname=device_hostname,
[all …]
Drpm_integration_test.py19 device_hostname='chromeos1-rack8e-hostbs1',
25 device_hostname='chromeos1-rack8e-hostbs2',
31 device_hostname='chromeos1-rack8e-hostbs3',
46 device_hostname='chromeos1-rack8e-hostbs1',
52 device_hostname='chromeos1-rack8e-hostbs2',
67 device_hostname='chromeos-rack8-hostbs1',
73 device_hostname='chromeos-rack8-hostbs2',
99 device_hostname='chromeos1-rack4-host1bs-servo',
105 device_hostname='chromeos1-rack4-host2bs-servo',
120 device_hostname='chromeos1-rack4-host1bs-servo',
[all …]
Drpm_controller.py158 device_hostname = request['powerunit_info'].device_hostname
176 'terminated!', device_hostname, process.pid)
186 device_hostname, request['new_state'])
189 'Raised exception: %s', device_hostname,
247 request['powerunit_info'].device_hostname,
494 powerunit_info.device_hostname)
527 device_hostname = powerunit_info.device_hostname
532 'attributes in afe.', device_hostname, new_state)
541 'state %s failed.', device_hostname, new_state)
543 logging.debug('Outlet for device: %s set to %s', device_hostname,
[all …]
Dutils.py38 def __init__(self, device_hostname, powerunit_type, argument
40 self.device_hostname = device_hostname
Drpm_controller_unittest.py25 device_hostname='chromos-rack1-host8',
57 device_hostname='chromos-rack1-host8',
117 device_hostname=dut,
163 device_hostname=PORT,
Drpm_dispatcher.py135 powerunit_info.device_hostname, new_state)
Dfrontend_server_unittest.py35 device_hostname=DUT_HOSTNAME,
/external/autotest/server/site_tests/network_WiFi_UpdateRouter/
Dnetwork_WiFi_UpdateRouter.py100 device_hostname = dnsname_mangler.get_pcap_addr(
103 device_hostname = site_linux_router.build_router_hostname(
108 if not ping_helper.simple_ping(device_hostname):
112 raise e('%s not found / is down.' % device_hostname)
119 device_host = hosts.create_host(device_hostname,