From 5af28c4de5eeace702cb76aa8540533ef77b9016 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Fri, 9 Oct 2020 15:56:56 +0200 Subject: 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 --- api-guide/source/port_with_resource_request.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api-guide') diff --git a/api-guide/source/port_with_resource_request.rst b/api-guide/source/port_with_resource_request.rst index b5bb5bc491..bab2962537 100644 --- a/api-guide/source/port_with_resource_request.rst +++ b/api-guide/source/port_with_resource_request.rst @@ -36,5 +36,8 @@ same-cell resize if the server has such ports. As of 21.0.0 (Ussuri), nova supports evacuating, live migrating and unshelving servers with neutron ports having resource requests. +As of 23.0.0 (Wallaby), nova supports attaching neutron ports having QoS +minimum bandwidth rules. + See :nova-doc:`the admin guide ` for administrative details. -- cgit v1.2.1