Searched refs:is_in_same_subnet (Results 1 – 4 of 4) sorted by relevance
/external/autotest/client/common_lib/ |
D | site_utils_unittest.py | 133 self.assertTrue(utils.is_in_same_subnet('192.168.0.0', '192.168.1.2', 135 self.assertFalse(utils.is_in_same_subnet('192.168.0.0', '192.168.1.2', 137 self.assertTrue(utils.is_in_same_subnet('192.168.0.0', '192.168.0.255', 139 self.assertFalse(utils.is_in_same_subnet('191.168.0.0', '192.168.0.0',
|
D | site_utils.py | 593 def is_in_same_subnet(ip_1, ip_2, mask_bits=24): function 648 if server_ip and is_in_same_subnet(server_ip, host_ip, mask_bits): 667 if is_in_same_subnet(subnet_ip, host_ip, mask_bits): 698 if is_in_same_subnet(subnet_ip, host_ip, int(maskbit)):
|
/external/autotest/server/site_tests/provision_AutoUpdate/ |
D | provision_AutoUpdate.py | 68 if not utils.is_in_same_subnet(devserver_ip, dut_ip, 19):
|
/external/autotest/client/common_lib/cros/ |
D | dev_server.py | 447 if utils.is_in_same_subnet(host_ip, subnet_ip, mask_bits):
|