Add support for microversion v2.72
This microversion in Nova is added to support Neutron ports having resource request during server create to guarantee minimum bandwidth QoS. This is a behavior-only change in the compute API, there are no changes to the server create request or response schema. Change-Id: I1a39390015acd8703e8bab55af13f5c75ae226db Depends-On: https://review.openstack.org/636360 Partial-Bug: #1578989 See-Also: https://review.openstack.org/502306 (nova spec) See-Also: https://review.openstack.org/508149 (neutron spec)
This commit is contained in:
parent
b2cd7e12cc
commit
62bf8809c6
@ -956,6 +956,10 @@ nova boot
|
|||||||
|
|
||||||
Boot a new server.
|
Boot a new server.
|
||||||
|
|
||||||
|
In order to create a server with pre-existing ports that contain a
|
||||||
|
``resource_request`` value, such as for guaranteed minimum bandwidth
|
||||||
|
quality of service support, microversion ``2.72`` is required.
|
||||||
|
|
||||||
**Positional arguments:**
|
**Positional arguments:**
|
||||||
|
|
||||||
``<name>``
|
``<name>``
|
||||||
|
@ -25,4 +25,4 @@ API_MIN_VERSION = api_versions.APIVersion("2.1")
|
|||||||
# when client supported the max version, and bumped sequentially, otherwise
|
# when client supported the max version, and bumped sequentially, otherwise
|
||||||
# the client may break due to server side new version may include some
|
# the client may break due to server side new version may include some
|
||||||
# backward incompatible change.
|
# backward incompatible change.
|
||||||
API_MAX_VERSION = api_versions.APIVersion("2.71")
|
API_MAX_VERSION = api_versions.APIVersion("2.72")
|
||||||
|
@ -4132,6 +4132,7 @@ class ShellTest(utils.TestCase):
|
|||||||
# flavor information.
|
# flavor information.
|
||||||
70, # There are no version-wrapped shell method changes for this.
|
70, # There are no version-wrapped shell method changes for this.
|
||||||
71, # There are no version-wrapped shell method changes for this.
|
71, # There are no version-wrapped shell method changes for this.
|
||||||
|
72, # There are no version-wrapped shell method changes for this.
|
||||||
])
|
])
|
||||||
versions_supported = set(range(0,
|
versions_supported = set(range(0,
|
||||||
novaclient.API_MAX_VERSION.ver_minor + 1))
|
novaclient.API_MAX_VERSION.ver_minor + 1))
|
||||||
|
@ -1236,6 +1236,10 @@ class ServerManager(base.BootingManagerWithFind):
|
|||||||
"""
|
"""
|
||||||
Create (boot) a new server.
|
Create (boot) a new server.
|
||||||
|
|
||||||
|
In order to create a server with pre-existing ports that contain a
|
||||||
|
``resource_request`` value, such as for guaranteed minimum bandwidth
|
||||||
|
quality of service support, microversion ``2.72`` is required.
|
||||||
|
|
||||||
:param name: Something to name the server.
|
:param name: Something to name the server.
|
||||||
:param image: The :class:`Image` to boot with.
|
:param image: The :class:`Image` to boot with.
|
||||||
:param flavor: The :class:`Flavor` to boot onto.
|
:param flavor: The :class:`Flavor` to boot onto.
|
||||||
|
10
releasenotes/notes/microversion-v2_72-d910ce07ec3948d6.yaml
Normal file
10
releasenotes/notes/microversion-v2_72-d910ce07ec3948d6.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Support has been added for `microversion 2.72`_. This microversion
|
||||||
|
allows creating a server using the ``nova boot`` command with
|
||||||
|
pre-existing ports having a ``resource_request`` value to enable
|
||||||
|
features such as guaranteed minimum bandwidth for `quality of service`_.
|
||||||
|
|
||||||
|
.. _microversion 2.72: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id65
|
||||||
|
.. _quality of service: https://docs.openstack.org/neutron/latest/admin/config-qos.html
|
Loading…
Reference in New Issue
Block a user