This adds the 2.37 microversion to the REST API for automatically
allocating a network, i.e. get me a network.
The majority of the changes to the REST API concern request
validation. 'networks' is now required in the server POST body
after this microversion. The 'auto' or 'none' special network
uuid values are used, but if specified, can not be specified
with any other requested network values.
The other special case that is checked is when the minimum
compute service version is not new enough to support this change,
i.e. a Mitaka compute will not have the network API code that
knows how to deal with the special auto/none network IDs. Because
the REST API is checking the service version, the service caches
the service version after the first check. Once all computes are
updated to Newton then a restart of the nova-api service(s) will
be required to flush the cache. A release note is provided for
this situation.
The api-ref docs are also updated for this microversion including
an example API sample request.
The matching Tempest change to test this is here:
I89b18709e0cfbbcbf9be96a91a13a1356cdf85b0
The matching python-novaclient change is here:
I6636ddcd3be7bf393d2d69cc6c1ba5c7d65ff674
Implements blueprint get-me-a-network
Change-Id: I89b18709e0cfbbcbf9be96a91a13a1356cdf85b0
Currently imageRef in server create, rebuild and rescue
operation can be accepted as random url which contains image
UUID and fetch the UUID from that.
As /images proxy APIs are deprecated, and ImageRef in
server creation etc are UUID only and valid against glance.
This patch makes imageRef handling as UUID only and
return 400 if non UUID are requested.
NOTE- Previously nova use to allow the empty string which was
ok in case of boot from volume.
We will keep the same behavior of allowing empty string in case of
boot from volume only and 400 in all other case.
Closes-Bug: #1607229
Change-Id: I49f4da62c1b5b3fd8c5f67039ae113f76722b26c
After this microversion Nova API allows to get several keypairs
with the help of new optional parameters 'limit' and 'marker'
which were added to GET /os-keypairs request.
Partial-Bug: #1599904
Implements blueprint: keypairs-pagination
Change-Id: Idd3757f5be90ec4af1bd1a7ca3f9c20319dbfd33
Added user_id in request parameter section of the
os-keypairs LIST method api-ref docs.
Closes bug: #1599911
Change-Id: Ibb52663b2890f6d46b125903b438c0142aba92f5
-Verified examples, parameters, body text.
-Added snapshot status values, new force parameter
for snapshots.
Part of: bp/api-ref-in-rst
Change-Id: I0c1d183c5aaf6fb796be30fa5627bd5644ea689f
This creates a new way to describe multiple create as a dedicated
create call in the normal servers list. It only lists additional
parameters so that we're not copy / pasting between the 2 lists.
Part of bp:api-ref-in-rst
Change-Id: Ib15f224cf6a9432ae638c8b57a2156cd7b98215d
This completes the verification of os-assisted-volume-snapshots.inc
for all required area(parameter, example, body)
Part of bp:api-ref-in-rst
Change-Id: I9544e9681bcdd83ca5d2bf6b8722db0a71665b8b
When there are thousands of compute nodes, it would be slow to get the
whole hypervisor list, and it is bad for user experience to display
thousands of items in a table in horizon. This patch is proposed to
support pagination for hypervisor by adding `limit` and `marker` to
the list api.
Implements blueprint: pagination-for-hypervisor
Change-Id: Ie7f8b5c733b383f3e69fa23188e56257e503b5f7
This includes parameter, example, and body verifications
for api-ref os-floating-ips-bulk.
part of bp:api-ref-in-rst
Change-Id: I507958b4361b65da1cc510b0d81fe55466dd41c3
This patch allows the user to specify a tag for a virtual network
interface and/or block device mapping when booting an instance.
Implements: blueprint bp/virt-device-role-tagging
Change-Id: I89247200f4cf1f644daf476727b4a6acb22b0cf6
This includes parameter, example, and body verifications
for api-ref os-flavor-extra-specs.
part of bp:api-ref-in-rst
Change-Id: Ifa7766934da95c3b2da20b71a7733883c70f7c80
This completes the verification of images.inc for
all required area(parameter, example, body)
Part of bp:api-ref-in-rst
Change-Id: I47ed4d0b4446a0b45a1df312b84ec6bfdaa134b6
Verified parameters, examples, body text.
Included v2.11 sample files for GET and PUT
os-services.
Part of: bp/api-ref-in-rst
Change-Id: Ice4fb525d62230b2e20f01789a0aec396835b56b
Verified parameters, body text, examples.
-Added brief howto for creating an AZ and linked
to Host Aggregates developer documentation.
-Added new hosts object with details about service
states.
Change-Id: I721628f95d8623591447f88fa68a0f7601823308
Documentation change in api-ref.
type is added to the parameter lists of Get RDP console, Get serial console,
Get SPICE console, Get VNC console.
Closes-Bug: 1587117
Closes-Bug: 1587118
Closes-Bug: 1587119
Closes-Bug: 1587121
Change-Id: I73823fd6fb0886e2fff0da4838fe868f578bba6d
Signed-off-by: csatari <gergely.csatari@nokia.com>
The parameters have been verified in
Ia7af3cab3c0ed82418a6fa140fea061074ccd8b5.
But response parameters are missing, so fix them.
And fix some wrong description.
Change-Id: Ic1a307c405f769cadd037ae45e921d88b6a2bea5
Implements: blueprint api-ref-in-rst
This verifies all the parts of keypairs, including filling out all the
details for microversion 2.2 and 2.10 which change it.
Part of bp:api-ref-in-rst
Change-Id: Iab88dc75cdb7b5f91e46afd29ee61e38b325e180