Home
last modified time | relevance | path

Searched refs:restricted_subnets (Results 1 – 6 of 6) sorted by relevance

/external/autotest/server/
Dsystem_utils.py57 def refresh(cls, restricted_subnets=utils.RESTRICTED_SUBNETS): argument
67 if (not restricted_subnets or
69 restricted_subnets)):
77 cls, restricted_subnets=utils.RESTRICTED_SUBNETS): argument
84 cls.refresh(restricted_subnets)
90 def get_drone_ip_map(cls, restricted_subnets=utils.RESTRICTED_SUBNETS): argument
97 cls.refresh(restricted_subnets)
/external/autotest/scheduler/
Dagent_task.py381 self, restricted_subnets=utils.RESTRICTED_SUBNETS, argument
385 if (self.hostnames and restricted_subnets and enable_drone_in_subnet):
388 restricted_subnets)
427 if (filtered_drones is None and restricted_subnets and
431 restricted_subnets=restricted_subnets))
/external/autotest/client/common_lib/cros/
Ddev_server.py748 cls, restricted_subnets=utils.RESTRICTED_SUBNETS): argument
757 if not restricted_subnets:
763 if not utils.get_restricted_subnet(server_name, restricted_subnets):
797 restricted_subnets=utils.RESTRICTED_SUBNETS): argument
818 return cls.get_unrestricted_devservers(restricted_subnets), False
823 if host_ip and restricted_subnets:
825 host_ip, restricted_subnets=restricted_subnets)
843 return cls.get_unrestricted_devservers(restricted_subnets), False
2783 restricted_subnets=utils.RESTRICTED_SUBNETS): argument
2792 for subnet_ip, mask_bits in restricted_subnets:
Ddev_server_unittest.py1437 restricted_subnets = [('127.0.0.0', 24)]
1446 unrestricted_host, True, restricted_subnets),
1453 unrestricted_host, False, restricted_subnets),
1460 None, True, restricted_subnets),
1467 restricted_host, True, restricted_subnets),
/external/autotest/client/common_lib/
Dutils.py2532 def get_restricted_subnet(hostname, restricted_subnets=None): argument
2542 if restricted_subnets is None:
2543 restricted_subnets=RESTRICTED_SUBNETS
2547 for subnet_ip, mask_bits in restricted_subnets:
/external/autotest/
Dglobal_config.ini375 restricted_subnets: key
390 # devservers inside restricted subnet, specified in CROS/restricted_subnets.