Home
last modified time | relevance | path

Searched refs:is_in_same_subnet (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/common_lib/
Dsite_utils_unittest.py133 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',
Dsite_utils.py593 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/
Dprovision_AutoUpdate.py68 if not utils.is_in_same_subnet(devserver_ip, dut_ip, 19):
/external/autotest/client/common_lib/cros/
Ddev_server.py447 if utils.is_in_same_subnet(host_ip, subnet_ip, mask_bits):