Home
last modified time | relevance | path

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

/external/autotest/client/virt/
Dvirt_utils.py291 def _generate_mac_address_prefix(mac_pool): argument
301 if "prefix" in mac_pool:
302 prefix = mac_pool["prefix"]
308 mac_pool["prefix"] = prefix
325 mac_pool, lock_file = _open_mac_pool(fcntl.LOCK_EX)
327 if key in mac_pool:
328 mac = mac_pool[key]
330 prefix = _generate_mac_address_prefix(mac_pool)
332 while key not in mac_pool:
335 if mac in mac_pool.values():
[all …]