Comment 2 for bug 1903732

Revision history for this message
Gábor Mészáros (gabor.meszaros) wrote :

I believe the relevant code to extend is in the charmhelpers:
https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/openstack/context.py#L2600

in the PCINetDevices class there is already a function to get_device_from_pci_address()
https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/hardware/pci.py#L276