xcp.net.biosdevname

Utility functions to get information from biosdevname about the current network state.

xcp.net.biosdevname.all_devices_all_names()[source]

Get all information, including all names, for all devices. Returns a dictionary of devices, indexed by current kernel name. All entries will be string to string mappings, with the exception of ‘BIOS device’ which will be a dictonary of policies to names.

xcp.net.biosdevname.has_ppn_quirks(bdn_dicts)[source]