cloudbase-init/cloudbaseinit/osutils
Alessandro Pilotti 1fc57be0f7 Add get_network_adapter_name_by_mac_address
A simple way to get an adapter name given the MAC address. This is needed
since the MAC address is used to uniquely identify NICs based on
information provided by metadata services.

get_network_adapter_name_by_mac_address raises in case no adapters or
multiple adapters with the same MAC are found.

Change-Id: Ie17ee65445dc55a5946653ece1fef68ad7b87aba
Partially-Implements: blueprint json-network-config
2018-09-10 21:05:13 +03:00
..
__init__.py Initial commit 2012-12-01 23:50:15 +02:00
base.py Add get_network_adapter_name_by_mac_address 2018-09-10 21:05:13 +03:00
factory.py Global mass refactor 2015-01-18 17:51:56 +02:00
posix.py Fix misspelled classname in posix 2016-07-27 13:19:00 +03:00
windows.py Add get_network_adapter_name_by_mac_address 2018-09-10 21:05:13 +03:00