Balazs Gibizer b10482cbc0 Support resource_class and traits in PCI alias
The [pci]alias configuration option now accepts two new optional fields:

* resource_class: that can be used to request PCI device by placement
  RC name.

* traits: a comma separated list of placement trait names that can be
  used to filter placement PCI resource provider by traits.

These fields has the matching counterpart in [pci]device_spec
implemented already.

These fields are matched by the Placement GET allocation_candidates
query therefore these fields are ignored when PCI device pools are
matched against IntancePCIRequest by nova.

Note that InstancePCIRequest object spec field is defined as a list of
dicts. But in reality nova creates the request always with a single
dict. So we restricted the placement logic to handle a single spec.

blueprint: pci-device-tracking-in-placement
Change-Id: I5c8f05c3c5d7597175e60b29e4ab2f22e6496ecd
2022-10-17 13:56:18 +02:00
..
2022-10-06 12:09:51 +00:00
2022-09-23 09:09:37 +05:30
2022-09-23 09:09:37 +05:30
2022-09-23 09:09:37 +05:30
2022-09-23 09:09:37 +05:30
2021-04-19 10:47:17 +01:00
2022-09-23 09:09:37 +05:30