nova/api-guide/source
Balazs Gibizer 5af28c4de5 Support interface attach with QoS ports
The following logic is added to the ComputeManager attach_interface
flow:

* gather the resource request of the port from neutron
* query allocation candidates restricted to the current compute node
  from placement
* extend the existing allocation of the instance with one of the
  allocation candidates in placement
* update the InstancePCIRequest (if any) to ensure that the PCI claim
  only allocates VF from the PF the placement resources are allocated from
* ensure that during port binding neutron gets the RP UUID, the resources
  are allocated from, in the allocation key of the binding profile

This patch bumps the compute service version to indicate that QoS
interface attach is supported. Also the check that was so far rejected
such attach is now updated to only reject it if the compute service
version is too old.

The "scheduling" during interface attach for PCI backed ports has the
same limitation as normal scheduling for such ports. It always selects
the first allocation candidate returned by placement even if later in
the process it turns out that such allocation candidate points to a PCI
PF that has no free VFs left.

Blueprint: support-interface-attach-with-qos-ports

Change-Id: Id4684093e8bdf3b61667490443e3d2f6ed65f4b3
2021-02-11 16:43:17 +01:00
..
accelerator-support.rst Cyborg shelve/unshelve support 2021-01-15 03:21:17 +00:00
authentication.rst Rearranges to create new Compute API Guide 2015-11-12 10:47:23 +00:00
conf.py Fix pygments_style 2020-05-20 21:56:41 +02:00
down_cells.rst Fix duplicated words issue like "during during boot time" 2020-01-06 14:19:03 +08:00
extra_specs_and_properties.rst api-guide: flesh out flavor extra specs and image properties 2019-11-25 09:19:24 -05:00
faults.rst api-guide: flesh out the server actions section 2019-12-02 15:13:48 -05:00
general_info.rst nova-net: Remove 'nova-network' binary 2019-11-27 09:36:17 +00:00
index.rst Add release notes for Cyborg-Nova integration. 2020-04-03 17:13:04 +08:00
limits.rst Update api-ref location 2019-07-22 19:17:28 +02:00
links_and_references.rst Fix none-ascii char in doc 2018-08-07 00:13:00 +00:00
microversions.rst Improve formats of the Compute API guide 2018-11-07 04:01:40 +00:00
paginated_collections.rst Improve formats of the Compute API guide 2018-11-07 04:01:40 +00:00
polling_changes.rst Improve formats of the Compute API guide 2018-11-07 04:01:40 +00:00
port_with_resource_request.rst Support interface attach with QoS ports 2021-02-11 16:43:17 +01:00
request_and_response_formats.rst Change api-site to v2.1 format 2016-08-16 16:17:03 -07:00
server_concepts.rst Non-Admin user can filter their instances by more filters 2020-03-15 17:35:49 +01:00
users.rst api-guide: flesh out todos in user doc 2019-11-25 09:19:24 -05:00
versions.rst Update api-ref location 2019-07-22 19:17:28 +02:00