Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/
Dsite_utils_unittest.py141 self.assertTrue(utils.is_in_same_subnet('192.168.0.0', '192.168.1.2',
143 self.assertFalse(utils.is_in_same_subnet('192.168.0.0', '192.168.1.2',
145 self.assertTrue(utils.is_in_same_subnet('192.168.0.0', '192.168.0.255',
147 self.assertFalse(utils.is_in_same_subnet('191.168.0.0', '192.168.0.0',
Dsite_utils.py735 def is_in_same_subnet(ip_1, ip_2, mask_bits=24): function
793 if server_ip and is_in_same_subnet(server_ip, host_ip, mask_bits):
812 if is_in_same_subnet(subnet_ip, host_ip, mask_bits):
848 if (is_in_same_subnet(subnet_ip, host_ip, maskbit) and
/external/autotest/client/common_lib/cros/
Ddev_server.py706 if utils.is_in_same_subnet(host_ip, subnet_ip, mask_bits):