nova/nova/pci
Adrian Chiris 30295f1a14 Add get_instance_pci_request_from_vif
This change extends nova/pci/request.py with a method
that retrieves an instance's PCI request from a given VIF
if the given VIF required a PCI allocation during instance
creation.

The PCI request, if retrieved, belongs to a PCI device
in the compute node where the instance is running.

The change is required to facilitate SR-IOV live migration
allowing to claim VIF related PCI resources on
the destination node.

Change-Id: I9ba475e91b8283f063db446de74d3e4b2de002c5
Partial-Implements: blueprint libvirt-neutron-sriov-livemigration
2019-03-07 11:37:53 +02:00
..
__init__.py PCI utils 2013-08-23 14:21:12 +08:00
devspec.py [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
manager.py Separate methods to free claimed and allocated devs 2019-03-07 10:21:41 +02:00
request.py Add get_instance_pci_request_from_vif 2019-03-07 11:37:53 +02:00
stats.py Ensure that bandwidth and VF are from the same PF 2019-03-05 17:48:29 +01:00
utils.py pci: don't consider case when match tags specs 2018-05-30 11:13:03 +02:00
whitelist.py remove unnecessary conf imports 2018-03-09 14:30:10 -05:00