HomeSort by relevance Sort by last modified time
    Searched refs:hostname (Results 151 - 175 of 796) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/autotest/client/bin/
local_host.py 15 def _initialize(self, hostname=None, bootloader=None, *args, **dargs):
18 # hostname will be an actual hostname when this client was created
20 if not hostname:
21 hostname = platform.node()
22 self.hostname = hostname
  /external/autotest/contrib/
manage_powerunit_info.py 10 We store rpm hostname, outlet, hydra information for a host in cautotest
47 # The host attribute key name for get rpm hostname.
52 'SERVER', 'hostname', default=None)
59 @param device: the device hostname, e.g. 'chromeos1-rack1-host1'
64 if not afe.get_hosts(hostname=device):
70 afe.set_host_attribute(key, val, hostname=device)
105 logging.info('Proccessing %s', h.hostname)
106 f.write(h.hostname + ',')
122 info = h.hostname + ','
  /external/autotest/server/hosts/
chameleon_host.py 54 super(ChameleonHost, self)._initialize(hostname=chameleon_host,
66 self.hostname, chameleon_port)
74 If self.hostname is an IP address, we treat it as is not in lab zone.
77 self._is_in_lab = (False if dnsname_mangler.is_ip_address(self.hostname)
78 else utils.host_is_in_lab_zone(self.hostname))
222 hosts = afe.get_hosts(hostname=dut)
abstract_ssh.py 27 def _initialize(self, hostname, user="root", port=22, password="",
30 super(AbstractSSHHost, self)._initialize(hostname=hostname,
63 self._ip = socket.getaddrinfo(self.hostname, None)[0][4][0]
106 self.hostname)
129 remote = self.hostname
172 return '%s %s "%s"' % (base_cmd, self.hostname, utils.sh_escape(cmd))
525 logging.debug('Host %s is now up', self.hostname)
533 self.hostname, int(timeout + time.time() - end_time))
587 self.hostname, old_boot_id
    [all...]
paramiko_host.py 16 def _initialize(self, hostname, *args, **dargs):
17 super(ParamikoHost, self)._initialize(hostname=hostname, *args, **dargs)
22 self.keys = self.get_user_keys(hostname)
53 def get_user_keys(hostname):
70 and fnmatch.fnmatch(hostname, host_pattern)):
113 return self.hostname, self.port
134 self.hostname, self.port)
139 "giving up", self.hostname, self.port,
gce_host.py 31 def _initialize(self, hostname, gce_args=None,
35 @param hostname: the hostnname to be passed down to AbstractSSHHost.
39 super(GceHost, self)._initialize(hostname=hostname,
servo_host.py 69 """Given a DUT's hostname, return the hostname of its servo.
71 @param dut_hostname: hostname of a DUT.
73 @return hostname of the DUT's servo.
115 super(ServoHost, self)._initialize(hostname=servo_host,
118 self._is_in_lab = utils.host_is_in_lab_zone(self.hostname)
121 self._is_localhost = (self.hostname == 'localhost')
122 remote = 'http://%s:%s' % (self.hostname, servo_port)
348 'information about the host.', self.hostname)
352 (self.hostname, e)
    [all...]
  /external/autotest/site_utils/
host_history.py 95 3rd element: hostname of the dut.
101 result_strs, stat_intervals_lst, hostname = zip(*results)
119 'hostname',
137 return result_str, stat_intervals, input['hostname']
207 for result_str, status_intervals, hostname in results:
208 if hostname:
209 all_history[hostname] = host_history_utils.build_history(
210 hostname, status_intervals)
host_label_utils.py 50 def get_host_labels(days_back=0, hostname=None, labels=None):
55 @param hostname: Name of the host, if set to None, return labels for all
58 @return: A dictionary of host labels, key is the hostname, and value is a
82 if hostname:
83 equality_constraints.append(('hostname', hostname))
88 fields_returned=['hostname', 'labels'],
94 host_labels[hit['hostname']] = hit['labels']
109 'hostname': host.hostname,
    [all...]
server_manager_actions.py 101 print 'Run command `%s` on server %s' % (command, server.hostname)
103 infra.execute_command(server.hostname, command)
106 (server.hostname, e))
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/
test_website.py 66 location = RedirectLocation(hostname='example.com')
70 ('<RedirectAllRequestsTo><HostName>'
71 'example.com</HostName></RedirectAllRequestsTo>'), xml)
74 location = RedirectLocation(hostname='example.com', protocol='https')
78 ('<RedirectAllRequestsTo><HostName>'
79 'example.com</HostName><Protocol>https</Protocol>'
120 redirect = Redirect(hostname='example.com',
137 <HostName>example.com</HostName>
180 redirect = Redirect(hostname='example.com'
    [all...]
  /external/libmicrohttpd/src/testcurl/https/
test_https_sni.c 41 * A hostname, server key and certificate.
46 const char *hostname; member in struct:Hosts
61 load_keys(const char *hostname,
72 host->hostname = hostname;
156 if (0 == strncmp (name, host->hostname, name_len))
  /external/okhttp/android/test/java/com/squareup/okhttp/internal/
PlatformTest.java 60 assertEquals("host", openSslSocket.hostname);
82 private String hostname; field in class:PlatformTest.FullOpenSSLSocketImpl
95 public void setHostname(String hostname) {
96 this.hostname = hostname;
  /external/curl/lib/
pipeline.c 41 char *hostname; member in struct:site_blacklist_entry
50 Curl_safefree(entry->hostname);
180 if(Curl_raw_equal(site->hostname, conn->host.name) &&
206 char *hostname; local
210 hostname = strdup(*sites);
211 if(!hostname) {
218 free(hostname);
223 port = strchr(hostname, ':');
234 entry->hostname = hostname;
    [all...]
  /external/autotest/frontend/client/src/autotest/afe/
HostDetailView.java 151 private String hostname = ""; field in class:HostDetailView
213 return hostname;
231 private void fetchDataByHostname(String hostname) {
233 params.put("hostname", new JSONString(hostname));
242 private void fetchByHostname(String hostname) {
243 fetchDataByHostname(hostname);
298 hostname = currentHostObject.get("hostname").isString().stringValue();
302 String task_url = Utils.getRetrieveLogsUrl("hosts/" + hostname + "/" + task)
535 String hostname = arguments.get("hostname"); local
    [all...]
  /external/dnsmasq/src/
lease.c 158 lease_set_hostname(lease, config->hostname, 1);
203 ourprintf(&err, "%s ", lease->hostname ? lease->hostname : "*");
256 if (!(daemon->options & OPT_DHCP_FQDN) && lease->hostname)
257 cache_add_dhcp_entry(lease->hostname, &lease->addr, lease->expires);
274 if (lease->hostname)
428 free(lease->hostname);
431 lease->old_hostname = lease->hostname;
433 lease->hostname = lease->fqdn = NULL;
441 if (lease->hostname && name && hostname_isequal(lease->hostname, name)
    [all...]
  /external/autotest/client/cros/cellular/
prologix_scpi_driver.py 32 def __init__(self, hostname, port=1234, gpib_address=14,
36 hostname: hostname of prologix device
45 s = 'IP:%s GPIB:%s: ' % (hostname, gpib_address)
51 self.connection_key = "%s:%s" % (hostname, port)
58 self.socket = connect_to_port(hostname, port, connect_timeout_seconds)
188 def connect_to_port(hostname, port, connect_timeout_seconds):
192 hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM):
208 (hostname, port)
  /external/autotest/server/cros/dynamic_suite/
host_spec.py 70 def mark_host_success(self, hostname):
73 @param hostname: the name of the host that was reimaged.
98 @var _hostname_data_dict: {hostname: HostData()}.
133 def mark_host_success(self, hostname):
134 self._hostname_data_dict[hostname].image_success = True
160 self._hostname_data_dict[host.hostname] = self.HostData(spec)
169 return host.hostname in self._hostname_data_dict
233 def mark_host_success(self, hostname):
234 self._successful_hosts.add(hostname)
  /system/extras/multinetwork/
httpurl.cpp 39 std::string hostname; member in struct:Parameters
72 parameters->hostname = parameters->host.substr(1, closing_bracket - 1);
86 parameters->hostname = parameters->host.substr(0, first_colon);
88 parameters->hostname = parameters->host;
94 std::cerr << "Resolving hostname=" << parameters->hostname
108 parameters->hostname.c_str(),
113 rval = getaddrinfo(parameters->hostname.c_str(),
  /system/core/adb/
adb_auth_host.cpp 111 char hostname[1024], username[1024]; local
114 if (getenv("HOSTNAME") != NULL) {
115 strncpy(hostname, getenv("HOSTNAME"), sizeof(hostname));
116 hostname[sizeof(hostname)-1] = '\0';
122 ret = gethostname(hostname, sizeof(hostname));
125 strcpy(hostname, "unknown")
    [all...]
  /external/autotest/server/site_tests/network_FirewallHolePunchServer/
network_FirewallHolePunchServer.py 33 clientsocket.connect((self.hostname, self.port))
187 self.hostname = self.client.hostname
  /external/autotest/site_utils/rpm_control_system/
rpm_client.py 29 def set_power(hostname, new_state, timeout_mins=RPM_CALL_TIMEOUT_MINS):
32 @param hostname: host who's power outlet we want to change.
40 args=(hostname, new_state),
52 'state: %s.' % (hostname, new_state))
61 help='Machine hostname to change outlet state.')
  /external/okhttp/android/main/java/com/squareup/okhttp/internal/
Platform.java 71 SSLSocket sslSocket, String hostname, List<Protocol> protocols) {
73 if (hostname != null) {
75 SET_HOSTNAME.invokeOptionalWithoutCheckedException(sslSocket, hostname);
  /external/webrtc/webrtc/base/
nethelpers.cc 25 int ResolveHostname(const std::string& hostname, int family,
41 int ret = getaddrinfo(hostname.c_str(), NULL, &hints, &result);
94 error_ = ResolveHostname(addr_.hostname().c_str(), addr_.family(),
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLContext.java 103 * Used for replacing the hostname in an InetSocketAddress object during
107 private final String hostname; field in class:TestSSLContext.HostnameRewritingObjectOutputStream
109 public HostnameRewritingObjectOutputStream(OutputStream out, String hostname)
112 this.hostname = hostname;
117 return new PutFieldProxy(super.putFields(), hostname);
122 private final String hostname; field in class:TestSSLContext.HostnameRewritingObjectOutputStream.PutFieldProxy
124 public PutFieldProxy(ObjectOutputStream.PutField delegate, String hostname) {
126 this.hostname = hostname;
    [all...]

Completed in 2079 milliseconds

1 2 3 4 5 67 8 91011>>