Replace remaining reference to policy.json
The json format of policy files was deprecated long ago and is being removed completely. Mention policy.yaml instead. Change-Id: I9f6f11fd563d39a4fc1b940c67084292de7c56e3 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -636,12 +636,6 @@
|
|||||||
tempest_test_regex: ^tempest\.(scenario|(api\.compute))
|
tempest_test_regex: ^tempest\.(scenario|(api\.compute))
|
||||||
tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/nova"].src_dir }}/devstack/nova-multi-cell-exclude-list.txt'
|
tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/nova"].src_dir }}/devstack/nova-multi-cell-exclude-list.txt'
|
||||||
devstack_local_conf:
|
devstack_local_conf:
|
||||||
post-config:
|
|
||||||
$NOVA_CONF:
|
|
||||||
oslo_policy:
|
|
||||||
# The default policy file is policy.json but the
|
|
||||||
# setup-multi-cell-policy role will write to policy.yaml.
|
|
||||||
policy_file: policy.yaml
|
|
||||||
test-config:
|
test-config:
|
||||||
$TEMPEST_CONFIG:
|
$TEMPEST_CONFIG:
|
||||||
compute-feature-enabled:
|
compute-feature-enabled:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Show Server Diagnostics
|
|||||||
Shows basic usage data for a server.
|
Shows basic usage data for a server.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role. Cloud
|
Policy defaults enable only users with the administrative role. Cloud
|
||||||
providers can change these permissions through the ``policy.json``
|
providers can change these permissions through the ``policy.yaml``
|
||||||
file.
|
file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ This API is available starting with microversion 2.55.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to
|
Policy defaults enable only users with the administrative role to
|
||||||
perform this operation. Cloud providers can change these permissions
|
perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ server. By default, operators provide pre-built operating system images.
|
|||||||
You can also create custom images. See: `Create Image Action
|
You can also create custom images. See: `Create Image Action
|
||||||
<https://docs.openstack.org/api-ref/compute/#create-image-createimage-action>`__.
|
<https://docs.openstack.org/api-ref/compute/#create-image-createimage-action>`__.
|
||||||
|
|
||||||
By default, the ``policy.json`` file authorizes all users to view the
|
By default, the ``policy.yaml`` file authorizes all users to view the
|
||||||
image size in the ``OS-EXT-IMG-SIZE:size`` extended attribute.
|
image size in the ``OS-EXT-IMG-SIZE:size`` extended attribute.
|
||||||
|
|
||||||
List Images
|
List Images
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Lists IP addresses that are assigned to an instance.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of
|
Policy defaults enable only users with the administrative role or the owner of
|
||||||
the server to perform this operation. Cloud providers can change these
|
the server to perform this operation. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ Shows IP addresses details for a network label of a server instance.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of
|
Policy defaults enable only users with the administrative role or the owner of
|
||||||
the server to perform this operation. Cloud providers can change these
|
the server to perform this operation. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ List All Metadata
|
|||||||
|
|
||||||
Lists all metadata for a server.
|
Lists all metadata for a server.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ Creates any metadata items that do not already exist in the server, replaces
|
|||||||
exists metadata items that match keys. Does not modify items that are not in
|
exists metadata items that match keys. Does not modify items that are not in
|
||||||
the request.
|
the request.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ Replaces one or more metadata items for a server.
|
|||||||
|
|
||||||
Creates any metadata items that do not already exist in the server. Removes and completely replaces any metadata items that already exist in the server with the metadata items in the request.
|
Creates any metadata items that do not already exist in the server. Removes and completely replaces any metadata items that already exist in the server with the metadata items in the request.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@ Show Metadata Item Details
|
|||||||
|
|
||||||
Shows details for a metadata item, by key, for a server.
|
Shows details for a metadata item, by key, for a server.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -173,7 +173,7 @@ Creates or replaces a metadata item, by key, for a server.
|
|||||||
Creates a metadata item that does not already exist in the server. Replaces
|
Creates a metadata item that does not already exist in the server. Replaces
|
||||||
existing metadata items that match keys with the metadata item in the request.
|
existing metadata items that match keys with the metadata item in the request.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -213,7 +213,7 @@ Delete Metadata Item
|
|||||||
|
|
||||||
Deletes a metadata item, by key, from a server.
|
Deletes a metadata item, by key, from a server.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 204
|
Normal response codes: 204
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ Get Detailed Availability Zone Information
|
|||||||
|
|
||||||
Gets detailed availability zone information.
|
Gets detailed availability zone information.
|
||||||
Policy defaults enable only users with the administrative role to perform this operation.
|
Policy defaults enable only users with the administrative role to perform this operation.
|
||||||
Cloud providers can change these permissions through the ``policy.json`` file.
|
Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Lists floating IP pools.
|
|||||||
Policy defaults enable only users with the administrative role or user
|
Policy defaults enable only users with the administrative role or user
|
||||||
who is authorized to operate on tenant <tenant_id> to perform this
|
who is authorized to operate on tenant <tenant_id> to perform this
|
||||||
operation. Cloud providers can change these permissions through the
|
operation. Cloud providers can change these permissions through the
|
||||||
``policy.json`` file.
|
``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ Lists floating IP addresses associated with the tenant or account.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role
|
Policy defaults enable only users with the administrative role
|
||||||
or the owner of the server to perform this operation. Cloud providers
|
or the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ If more than one floating IP address pool is available, use the
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ Shows details for a floating IP address, by ID, that is associated with the tena
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ it is automatically disassociated from that instance.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ Specify the ``include`` and ``exclude`` query parameters to filter the results.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the
|
Policy defaults enable only users with the administrative role or the
|
||||||
owner of the server to perform this operation. Cloud providers can
|
owner of the server to perform this operation. Cloud providers can
|
||||||
change these permissions through the ``policy.json`` file.
|
change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ Runs the fping utility to ping an instance and reports whether the instance is a
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the
|
Policy defaults enable only users with the administrative role or the
|
||||||
owner of the server to perform this operation. Cloud providers can
|
owner of the server to perform this operation. Cloud providers can
|
||||||
change these permissions through the ``policy.json`` file.
|
change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ matrix <https://docs.openstack.org/nova/latest/user/support-matrix.html>`__
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
all os-hosts related operations. Cloud providers can change these permissions
|
all os-hosts related operations. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
List Hosts
|
List Hosts
|
||||||
==========
|
==========
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ Lists hypervisors.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through
|
this operation. Cloud providers can change these permissions through
|
||||||
the ``policy.json`` file.
|
the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ Lists hypervisors details.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through
|
this operation. Cloud providers can change these permissions through
|
||||||
the ``policy.json`` file.
|
the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -160,7 +160,7 @@ Shows summary statistics for all enabled hypervisors over all compute nodes.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through
|
this operation. Cloud providers can change these permissions through
|
||||||
the ``policy.json`` file.
|
the ``policy.yaml`` file.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
@@ -209,7 +209,7 @@ Shows details for a given hypervisor.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through
|
this operation. Cloud providers can change these permissions through
|
||||||
the ``policy.json`` file.
|
the ``policy.yaml`` file.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
@@ -301,7 +301,7 @@ Shows the uptime for a given hypervisor.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through
|
this operation. Cloud providers can change these permissions through
|
||||||
the ``policy.json`` file.
|
the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -353,7 +353,7 @@ Search hypervisor by a given hypervisor host name or portion of it.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through
|
this operation. Cloud providers can change these permissions through
|
||||||
the ``policy.json`` file.
|
the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response code: 200
|
Normal response code: 200
|
||||||
|
|
||||||
@@ -398,7 +398,7 @@ a given hypervisor host name or portion of it.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through
|
this operation. Cloud providers can change these permissions through
|
||||||
the ``policy.json`` file.
|
the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response code: 200
|
Normal response code: 200
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ starting with microversion 2.21.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of
|
Policy defaults enable only users with the administrative role or the owner of
|
||||||
the server to perform this operation. Cloud providers can change these permissions
|
the server to perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ than microversion 2.21.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of
|
Policy defaults enable only users with the administrative role or the owner of
|
||||||
the server to perform this operation. Cloud providers can change these permissions
|
the server to perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ where usage auditing is required.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
all os-instance-usage-audit-log related operations. Cloud providers can change
|
all os-instance-usage-audit-log related operations. Cloud providers can change
|
||||||
these permissions through the ``policy.json`` file.
|
these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
List Server Usage Audits
|
List Server Usage Audits
|
||||||
========================
|
========================
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Lists migrations.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through the
|
this operation. Cloud providers can change these permissions through the
|
||||||
``policy.json`` file.
|
``policy.yaml`` file.
|
||||||
|
|
||||||
Starting from microversion 2.59, the response is sorted by ``created_at``
|
Starting from microversion 2.59, the response is sorted by ``created_at``
|
||||||
and ``id`` in descending order.
|
and ``id`` in descending order.
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ List Networks
|
|||||||
Lists networks for the project.
|
Lists networks for the project.
|
||||||
|
|
||||||
Policy defaults enable all users to perform this operation. Cloud
|
Policy defaults enable all users to perform this operation. Cloud
|
||||||
providers can change these permissions through the ``policy.json`` file.
|
providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ Creates a network.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the
|
Policy defaults enable only users with the administrative role or the
|
||||||
owner of the network to perform this operation. Cloud providers can change
|
owner of the network to perform this operation. Cloud providers can change
|
||||||
these permissions through the ``policy.json`` file.
|
these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ Adds a network to a project.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through the
|
this operation. Cloud providers can change these permissions through the
|
||||||
``policy.json`` file.
|
``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ Show Network Details
|
|||||||
Shows details for a network.
|
Shows details for a network.
|
||||||
|
|
||||||
Policy defaults enable all users to perform this operation. Cloud providers
|
Policy defaults enable all users to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -142,7 +142,7 @@ Deletes a network.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the
|
Policy defaults enable only users with the administrative role or the
|
||||||
owner of the network to perform this operation. Cloud providers can change
|
owner of the network to perform this operation. Cloud providers can change
|
||||||
these permissions through the ``policy.json`` file.
|
these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -172,7 +172,7 @@ Specify the ``associate_host`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner
|
Policy defaults enable only users with the administrative role or the owner
|
||||||
of the network to perform this operation. Cloud providers can change these
|
of the network to perform this operation. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ Specify the ``disassociate`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the
|
Policy defaults enable only users with the administrative role or the
|
||||||
owner of the network to perform this operation. Cloud providers can change
|
owner of the network to perform this operation. Cloud providers can change
|
||||||
these permissions through the ``policy.json`` file.
|
these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -243,7 +243,7 @@ Specify the ``disassociate_host`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the
|
Policy defaults enable only users with the administrative role or the
|
||||||
owner of the network to perform this operation. Cloud providers can change
|
owner of the network to perform this operation. Cloud providers can change
|
||||||
these permissions through the ``policy.json`` file.
|
these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -279,7 +279,7 @@ Specify the ``disassociate_project`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the
|
Policy defaults enable only users with the administrative role or the
|
||||||
owner of the network to perform this operation. Cloud providers can change
|
owner of the network to perform this operation. Cloud providers can change
|
||||||
these permissions through the ``policy.json`` file.
|
these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ read the password.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner
|
Policy defaults enable only users with the administrative role or the owner
|
||||||
of the server to perform this operation. Cloud providers can change these
|
of the server to perform this operation. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ This action does not actually change the instance server password.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner
|
Policy defaults enable only users with the administrative role or the owner
|
||||||
of the server to perform this operation. Cloud providers can change these
|
of the server to perform this operation. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 204
|
Normal response codes: 204
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Lists all project networks.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the network to perform this operation. Cloud providers
|
the owner of the network to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ Creates a project network.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to
|
Policy defaults enable only users with the administrative role to
|
||||||
perform this operation. Cloud providers can change these permissions
|
perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ Shows details for a project network.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the network to perform this operation. Cloud providers
|
the owner of the network to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ Deletes a project network.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the network to perform this operation. Cloud providers
|
the owner of the network to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ Lists the virtual interfaces for an instance.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of
|
Policy defaults enable only users with the administrative role or the owner of
|
||||||
the server to perform this operation. Change these permissions through the
|
the server to perform this operation. Change these permissions through the
|
||||||
``policy.json`` file.
|
``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
|
|||||||
@@ -2710,7 +2710,7 @@ event_host:
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to see
|
Policy defaults enable only users with the administrative role to see
|
||||||
an instance action event host. Cloud providers can change these
|
an instance action event host. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
@@ -2790,7 +2790,7 @@ event_traceback:
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to see
|
Policy defaults enable only users with the administrative role to see
|
||||||
an instance action event traceback. Cloud providers can change these
|
an instance action event traceback. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
@@ -4145,7 +4145,7 @@ instance_action_events_2_50:
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to see
|
Policy defaults enable only users with the administrative role to see
|
||||||
instance action event information. Cloud providers can change these
|
instance action event information. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: array
|
type: array
|
||||||
@@ -4156,7 +4156,7 @@ instance_action_events_2_51:
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner
|
Policy defaults enable only users with the administrative role or the owner
|
||||||
of the server to see instance action event information. Cloud providers can
|
of the server to see instance action event information. Cloud providers can
|
||||||
change these permissions through the ``policy.json`` file.
|
change these permissions through the ``policy.yaml`` file.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
@@ -5798,7 +5798,7 @@ pool:
|
|||||||
are available, the call returns the ``400`` response code with an informational
|
are available, the call returns the ``400`` response code with an informational
|
||||||
message. Policy defaults enable only users with the administrative role or the
|
message. Policy defaults enable only users with the administrative role or the
|
||||||
owner of the server to perform this operation. Cloud providers can change these
|
owner of the server to perform this operation. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ Lists in-progress live migrations for a given server.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through the
|
this operation. Cloud providers can change these permissions through the
|
||||||
``policy.json`` file.
|
``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ Show details for an in-progress live migration for a given server.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through the
|
this operation. Cloud providers can change these permissions through the
|
||||||
``policy.json`` file.
|
``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ Specify the ``force_complete`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through the
|
this operation. Cloud providers can change these permissions through the
|
||||||
``policy.json`` file.
|
``policy.yaml`` file.
|
||||||
|
|
||||||
**Preconditions**
|
**Preconditions**
|
||||||
|
|
||||||
@@ -202,7 +202,7 @@ Abort an in-progress live migration.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to perform
|
Policy defaults enable only users with the administrative role to perform
|
||||||
this operation. Cloud providers can change these permissions through the
|
this operation. Cloud providers can change these permissions through the
|
||||||
``policy.json`` file.
|
``policy.yaml`` file.
|
||||||
|
|
||||||
**Preconditions**
|
**Preconditions**
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Shows NUMA topology information for a server.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owners
|
Policy defaults enable only users with the administrative role or the owners
|
||||||
of the server to perform this operation. Cloud providers can change these
|
of the server to perform this operation. Cloud providers can change these
|
||||||
permissions through the ``policy.json`` file.
|
permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Specify the ``forceDelete`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ Specify the ``restore`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ Specify the ``addFixedIp`` action and the network ID in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ Specify the ``removeFixedIp`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Specify the ``shelve`` action in the request body.
|
|||||||
|
|
||||||
All associated data and resources are kept but anything still in memory is not retained. To restore a shelved instance, use the ``unshelve`` action. To remove a shelved instance, use the ``shelveOffload`` action.
|
All associated data and resources are kept but anything still in memory is not retained. To restore a shelved instance, use the ``unshelve`` action. To remove a shelved instance, use the ``shelveOffload`` action.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
**Preconditions**
|
**Preconditions**
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ Specify the ``shelveOffload`` action in the request body.
|
|||||||
|
|
||||||
Data and resource associations are deleted. If an instance is no longer needed, you can remove that instance from the hypervisor to minimize resource usage.
|
Data and resource associations are deleted. If an instance is no longer needed, you can remove that instance from the hypervisor to minimize resource usage.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
**Preconditions**
|
**Preconditions**
|
||||||
|
|
||||||
@@ -117,7 +117,7 @@ Unshelves, or restores, a shelved server.
|
|||||||
|
|
||||||
Specify the ``unshelve`` action in the request body.
|
Specify the ``unshelve`` action in the request body.
|
||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file.
|
Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
**Preconditions**
|
**Preconditions**
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ Specify the ``changePassword`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers can
|
the owner of the server to perform this operation. Cloud providers can
|
||||||
change these permissions through the ``policy.json`` file.
|
change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -230,7 +230,7 @@ Specify the ``createBackup`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or the
|
Policy defaults enable only users with the administrative role or the
|
||||||
owner of the server to perform this operation. Cloud providers can
|
owner of the server to perform this operation. Cloud providers can
|
||||||
change these permissions through the ``policy.json`` file.
|
change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Starting from version 2.39 the image quota enforcement with Nova `metadata`
|
Starting from version 2.39 the image quota enforcement with Nova `metadata`
|
||||||
@@ -403,7 +403,7 @@ the `Show Server Details API
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
Administrators can overwrite owner's lock.
|
Administrators can overwrite owner's lock.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
@@ -447,7 +447,7 @@ Specify the ``pause`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -899,7 +899,7 @@ Specify the ``resume`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -1090,7 +1090,7 @@ Specify the ``suspend`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -1127,7 +1127,7 @@ Specify the ``unlock`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -1163,7 +1163,7 @@ Specify the ``unpause`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role or
|
Policy defaults enable only users with the administrative role or
|
||||||
the owner of the server to perform this operation. Cloud providers
|
the owner of the server to perform this operation. Cloud providers
|
||||||
can change these permissions through the ``policy.json`` file.
|
can change these permissions through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Specify the ``injectNetworkInfo`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to
|
Policy defaults enable only users with the administrative role to
|
||||||
perform this operation. Cloud providers can change these permissions
|
perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
.. warning:: There is very limited support on this API, For more information,
|
.. warning:: There is very limited support on this API, For more information,
|
||||||
see `nova virt support matrix
|
see `nova virt support matrix
|
||||||
@@ -78,7 +78,7 @@ automatically confirms the migrate operation after the configured interval.
|
|||||||
There are two different policies for this action, depending on whether the host
|
There are two different policies for this action, depending on whether the host
|
||||||
parameter is set. Both defaults enable only users with the administrative role
|
parameter is set. Both defaults enable only users with the administrative role
|
||||||
to perform this operation. Cloud providers can change these permissions
|
to perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ migration.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to
|
Policy defaults enable only users with the administrative role to
|
||||||
perform this operation. Cloud providers can change these permissions
|
perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Starting from REST API version 2.34 pre-live-migration checks are done
|
Starting from REST API version 2.34 pre-live-migration checks are done
|
||||||
asynchronously, results of these checks are available in ``instance-actions``.
|
asynchronously, results of these checks are available in ``instance-actions``.
|
||||||
@@ -189,7 +189,7 @@ Specify the ``resetNetwork`` action in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to
|
Policy defaults enable only users with the administrative role to
|
||||||
perform this operation. Cloud providers can change these permissions
|
perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ Specify the ``os-resetState`` action and the ``state`` in the request body.
|
|||||||
|
|
||||||
Policy defaults enable only users with the administrative role to
|
Policy defaults enable only users with the administrative role to
|
||||||
perform this operation. Cloud providers can change these permissions
|
perform this operation. Cloud providers can change these permissions
|
||||||
through the ``policy.json`` file.
|
through the ``policy.yaml`` file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user