From 56e31f8d4e805c682ad6b9debccfb841f5cbf8c1 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 12 Dec 2025 01:22:16 +0900 Subject: [PATCH] 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 --- .zuul.yaml | 6 ------ api-ref/source/diagnostics.inc | 2 +- api-ref/source/flavors.inc | 2 +- api-ref/source/images.inc | 2 +- api-ref/source/ips.inc | 4 ++-- api-ref/source/metadata.inc | 12 ++++++------ api-ref/source/os-availability-zone.inc | 2 +- api-ref/source/os-floating-ip-pools.inc | 2 +- api-ref/source/os-floating-ips.inc | 8 ++++---- api-ref/source/os-fping.inc | 4 ++-- api-ref/source/os-hosts.inc | 2 +- api-ref/source/os-hypervisors.inc | 14 +++++++------- api-ref/source/os-instance-actions.inc | 4 ++-- api-ref/source/os-instance-usage-audit-log.inc | 2 +- api-ref/source/os-migrations.inc | 2 +- api-ref/source/os-networks.inc | 18 +++++++++--------- api-ref/source/os-server-password.inc | 4 ++-- api-ref/source/os-tenant-network.inc | 8 ++++---- api-ref/source/os-virtual-interfaces.inc | 2 +- api-ref/source/parameters.yaml | 10 +++++----- api-ref/source/server-migrations.inc | 8 ++++---- api-ref/source/server-topology.inc | 2 +- .../source/servers-action-deferred-delete.inc | 4 ++-- api-ref/source/servers-action-fixed-ip.inc | 4 ++-- api-ref/source/servers-action-shelve.inc | 6 +++--- api-ref/source/servers-actions.inc | 16 ++++++++-------- api-ref/source/servers-admin-action.inc | 10 +++++----- 27 files changed, 77 insertions(+), 83 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 6484a1298e..a58adeacfe 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -636,12 +636,6 @@ 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' 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: $TEMPEST_CONFIG: compute-feature-enabled: diff --git a/api-ref/source/diagnostics.inc b/api-ref/source/diagnostics.inc index b5e63b0586..217ade8124 100644 --- a/api-ref/source/diagnostics.inc +++ b/api-ref/source/diagnostics.inc @@ -14,7 +14,7 @@ Show Server Diagnostics Shows basic usage data for a server. 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. Normal response codes: 200 diff --git a/api-ref/source/flavors.inc b/api-ref/source/flavors.inc index 52577667ec..b7cd8edfe3 100644 --- a/api-ref/source/flavors.inc +++ b/api-ref/source/flavors.inc @@ -226,7 +226,7 @@ This API is available starting with microversion 2.55. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions -through the ``policy.json`` file. +through the ``policy.yaml`` file. Normal response codes: 200 diff --git a/api-ref/source/images.inc b/api-ref/source/images.inc index 621641281f..cb04fa24be 100644 --- a/api-ref/source/images.inc +++ b/api-ref/source/images.inc @@ -23,7 +23,7 @@ server. By default, operators provide pre-built operating system images. You can also create custom images. See: `Create Image 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. List Images diff --git a/api-ref/source/ips.inc b/api-ref/source/ips.inc index 0552a25b22..0e1ee76063 100644 --- a/api-ref/source/ips.inc +++ b/api-ref/source/ips.inc @@ -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 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 @@ -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 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 diff --git a/api-ref/source/metadata.inc b/api-ref/source/metadata.inc index 22beebc1d8..eff4e80512 100644 --- a/api-ref/source/metadata.inc +++ b/api-ref/source/metadata.inc @@ -17,7 +17,7 @@ List All Metadata 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 @@ -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 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 @@ -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. -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 @@ -136,7 +136,7 @@ Show Metadata Item Details 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 @@ -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 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 @@ -213,7 +213,7 @@ Delete Metadata Item 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 diff --git a/api-ref/source/os-availability-zone.inc b/api-ref/source/os-availability-zone.inc index bcd9a3081b..e252069f82 100644 --- a/api-ref/source/os-availability-zone.inc +++ b/api-ref/source/os-availability-zone.inc @@ -52,7 +52,7 @@ Get Detailed Availability Zone Information Gets detailed availability zone information. 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 diff --git a/api-ref/source/os-floating-ip-pools.inc b/api-ref/source/os-floating-ip-pools.inc index 7860560269..66ce0ac569 100644 --- a/api-ref/source/os-floating-ip-pools.inc +++ b/api-ref/source/os-floating-ip-pools.inc @@ -26,7 +26,7 @@ Lists floating IP pools. Policy defaults enable only users with the administrative role or user who is authorized to operate on tenant to perform this operation. Cloud providers can change these permissions through the -``policy.json`` file. +``policy.yaml`` file. Normal response codes: 200 diff --git a/api-ref/source/os-floating-ips.inc b/api-ref/source/os-floating-ips.inc index a4911dec21..88ad67b2ea 100644 --- a/api-ref/source/os-floating-ips.inc +++ b/api-ref/source/os-floating-ips.inc @@ -46,7 +46,7 @@ Lists floating IP addresses associated with the tenant or account. 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. +can change these permissions through the ``policy.yaml`` file. 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 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 @@ -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 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 @@ -171,7 +171,7 @@ it is automatically disassociated from that instance. 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. +can change these permissions through the ``policy.yaml`` file. Normal response codes: 202 diff --git a/api-ref/source/os-fping.inc b/api-ref/source/os-fping.inc index 73e82ac462..e56ca450a8 100644 --- a/api-ref/source/os-fping.inc +++ b/api-ref/source/os-fping.inc @@ -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 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 @@ -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 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 diff --git a/api-ref/source/os-hosts.inc b/api-ref/source/os-hosts.inc index 98be54ce5f..bdfa244395 100644 --- a/api-ref/source/os-hosts.inc +++ b/api-ref/source/os-hosts.inc @@ -20,7 +20,7 @@ matrix `__ Policy defaults enable only users with the administrative role to perform all os-hosts related operations. Cloud providers can change these permissions -through the ``policy.json`` file. +through the ``policy.yaml`` file. List Hosts ========== diff --git a/api-ref/source/os-hypervisors.inc b/api-ref/source/os-hypervisors.inc index 6363b409b4..d00c2bce37 100644 --- a/api-ref/source/os-hypervisors.inc +++ b/api-ref/source/os-hypervisors.inc @@ -22,7 +22,7 @@ Lists hypervisors. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions through -the ``policy.json`` file. +the ``policy.yaml`` file. Normal response codes: 200 @@ -75,7 +75,7 @@ Lists hypervisors details. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions through -the ``policy.json`` file. +the ``policy.yaml`` file. 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 this operation. Cloud providers can change these permissions through -the ``policy.json`` file. +the ``policy.yaml`` file. .. note:: @@ -209,7 +209,7 @@ Shows details for a given hypervisor. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions through -the ``policy.json`` file. +the ``policy.yaml`` file. .. note:: @@ -301,7 +301,7 @@ Shows the uptime for a given hypervisor. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions through -the ``policy.json`` file. +the ``policy.yaml`` file. 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 this operation. Cloud providers can change these permissions through -the ``policy.json`` file. +the ``policy.yaml`` file. 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 this operation. Cloud providers can change these permissions through -the ``policy.json`` file. +the ``policy.yaml`` file. Normal response code: 200 diff --git a/api-ref/source/os-instance-actions.inc b/api-ref/source/os-instance-actions.inc index f0c191c67a..8725615dcb 100644 --- a/api-ref/source/os-instance-actions.inc +++ b/api-ref/source/os-instance-actions.inc @@ -18,7 +18,7 @@ starting with microversion 2.21. 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. +through the ``policy.yaml`` file. 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 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 diff --git a/api-ref/source/os-instance-usage-audit-log.inc b/api-ref/source/os-instance-usage-audit-log.inc index e7de56a9c5..9fc63673c9 100644 --- a/api-ref/source/os-instance-usage-audit-log.inc +++ b/api-ref/source/os-instance-usage-audit-log.inc @@ -10,7 +10,7 @@ where usage auditing is required. Policy defaults enable only users with the administrative role to perform 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 ======================== diff --git a/api-ref/source/os-migrations.inc b/api-ref/source/os-migrations.inc index 2cfd948666..baaf9b5336 100644 --- a/api-ref/source/os-migrations.inc +++ b/api-ref/source/os-migrations.inc @@ -15,7 +15,7 @@ Lists migrations. Policy defaults enable only users with the administrative role to perform 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`` and ``id`` in descending order. diff --git a/api-ref/source/os-networks.inc b/api-ref/source/os-networks.inc index a9ee87f69a..648dabbfec 100644 --- a/api-ref/source/os-networks.inc +++ b/api-ref/source/os-networks.inc @@ -31,7 +31,7 @@ List Networks Lists networks for the project. 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 @@ -54,7 +54,7 @@ Creates a network. Policy defaults enable only users with the administrative role or the 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 @@ -86,7 +86,7 @@ Adds a network to a project. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions through the -``policy.json`` file. +``policy.yaml`` file. Normal response codes: 202 @@ -112,7 +112,7 @@ Show Network Details Shows details for a network. 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 @@ -142,7 +142,7 @@ Deletes a network. Policy defaults enable only users with the administrative role or the 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 @@ -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 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 @@ -208,7 +208,7 @@ Specify the ``disassociate`` action in the request body. Policy defaults enable only users with the administrative role or the 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 @@ -243,7 +243,7 @@ Specify the ``disassociate_host`` action in the request body. Policy defaults enable only users with the administrative role or the 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 @@ -279,7 +279,7 @@ Specify the ``disassociate_project`` action in the request body. Policy defaults enable only users with the administrative role or the 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 diff --git a/api-ref/source/os-server-password.inc b/api-ref/source/os-server-password.inc index a59c9e0209..c0d8e417e2 100644 --- a/api-ref/source/os-server-password.inc +++ b/api-ref/source/os-server-password.inc @@ -24,7 +24,7 @@ read the password. 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. +permissions through the ``policy.yaml`` file. 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 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 diff --git a/api-ref/source/os-tenant-network.inc b/api-ref/source/os-tenant-network.inc index 41314fb24c..94ed5bf292 100644 --- a/api-ref/source/os-tenant-network.inc +++ b/api-ref/source/os-tenant-network.inc @@ -23,7 +23,7 @@ Lists all project networks. Policy defaults enable only users with the administrative role or 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 @@ -51,7 +51,7 @@ Creates a project network. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions -through the ``policy.json`` file. +through the ``policy.yaml`` file. Normal response codes: 200 @@ -80,7 +80,7 @@ Shows details for a project network. Policy defaults enable only users with the administrative role or 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 @@ -116,7 +116,7 @@ Deletes a project network. Policy defaults enable only users with the administrative role or 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 diff --git a/api-ref/source/os-virtual-interfaces.inc b/api-ref/source/os-virtual-interfaces.inc index fe89c2cfc7..75db5add27 100644 --- a/api-ref/source/os-virtual-interfaces.inc +++ b/api-ref/source/os-virtual-interfaces.inc @@ -30,7 +30,7 @@ Lists the virtual interfaces for an instance. Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Change these permissions through the -``policy.json`` file. +``policy.yaml`` file. Normal response codes: 200 diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 019320c7c6..b5d62a6979 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -2710,7 +2710,7 @@ event_host: Policy defaults enable only users with the administrative role to see an instance action event host. Cloud providers can change these - permissions through the ``policy.json`` file. + permissions through the ``policy.yaml`` file. in: body required: false type: string @@ -2790,7 +2790,7 @@ event_traceback: Policy defaults enable only users with the administrative role to see an instance action event traceback. Cloud providers can change these - permissions through the ``policy.json`` file. + permissions through the ``policy.yaml`` file. in: body required: true type: string @@ -4145,7 +4145,7 @@ instance_action_events_2_50: Policy defaults enable only users with the administrative role to see instance action event information. Cloud providers can change these - permissions through the ``policy.json`` file. + permissions through the ``policy.yaml`` file. in: body required: false type: array @@ -4156,7 +4156,7 @@ instance_action_events_2_51: Policy defaults enable only users with the administrative role or the owner 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 required: true type: array @@ -5798,7 +5798,7 @@ pool: are available, the call returns the ``400`` response code with an informational 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 - permissions through the ``policy.json`` file. + permissions through the ``policy.yaml`` file. in: body required: false type: string diff --git a/api-ref/source/server-migrations.inc b/api-ref/source/server-migrations.inc index 52e413470f..189163e961 100644 --- a/api-ref/source/server-migrations.inc +++ b/api-ref/source/server-migrations.inc @@ -17,7 +17,7 @@ Lists in-progress live migrations for a given server. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions through the -``policy.json`` file. +``policy.yaml`` file. 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 this operation. Cloud providers can change these permissions through the -``policy.json`` file. +``policy.yaml`` file. 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 this operation. Cloud providers can change these permissions through the -``policy.json`` file. +``policy.yaml`` file. **Preconditions** @@ -202,7 +202,7 @@ Abort an in-progress live migration. Policy defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions through the -``policy.json`` file. +``policy.yaml`` file. **Preconditions** diff --git a/api-ref/source/server-topology.inc b/api-ref/source/server-topology.inc index 014f713fa0..89eb61e84d 100644 --- a/api-ref/source/server-topology.inc +++ b/api-ref/source/server-topology.inc @@ -16,7 +16,7 @@ Shows NUMA topology information for a server. Policy defaults enable only users with the administrative role or the owners 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 diff --git a/api-ref/source/servers-action-deferred-delete.inc b/api-ref/source/servers-action-deferred-delete.inc index dd45455163..4dac9fc7a4 100644 --- a/api-ref/source/servers-action-deferred-delete.inc +++ b/api-ref/source/servers-action-deferred-delete.inc @@ -11,7 +11,7 @@ Specify the ``forceDelete`` 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. +can change these permissions through the ``policy.yaml`` file. 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 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 diff --git a/api-ref/source/servers-action-fixed-ip.inc b/api-ref/source/servers-action-fixed-ip.inc index 71f06490f5..7890869799 100644 --- a/api-ref/source/servers-action-fixed-ip.inc +++ b/api-ref/source/servers-action-fixed-ip.inc @@ -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 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 @@ -59,7 +59,7 @@ Specify the ``removeFixedIp`` 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. +can change these permissions through the ``policy.yaml`` file. Normal response codes: 202 diff --git a/api-ref/source/servers-action-shelve.inc b/api-ref/source/servers-action-shelve.inc index af8bc1969b..fe01929452 100644 --- a/api-ref/source/servers-action-shelve.inc +++ b/api-ref/source/servers-action-shelve.inc @@ -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. -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** @@ -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. -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** @@ -117,7 +117,7 @@ Unshelves, or restores, a shelved server. 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** diff --git a/api-ref/source/servers-actions.inc b/api-ref/source/servers-actions.inc index c000a148fd..43ed1e29de 100644 --- a/api-ref/source/servers-actions.inc +++ b/api-ref/source/servers-actions.inc @@ -126,7 +126,7 @@ Specify the ``changePassword`` 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. +change these permissions through the ``policy.yaml`` file. 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 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:: 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 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. 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 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 @@ -899,7 +899,7 @@ Specify the ``resume`` 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. +can change these permissions through the ``policy.yaml`` file. 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 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 @@ -1127,7 +1127,7 @@ Specify the ``unlock`` 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. +can change these permissions through the ``policy.yaml`` file. 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 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 diff --git a/api-ref/source/servers-admin-action.inc b/api-ref/source/servers-admin-action.inc index 6d4c38ee84..f812abbb53 100644 --- a/api-ref/source/servers-admin-action.inc +++ b/api-ref/source/servers-admin-action.inc @@ -23,7 +23,7 @@ Specify the ``injectNetworkInfo`` action in the request body. Policy defaults enable only users with the administrative role to 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, 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 parameter is set. Both defaults enable only users with the administrative role to perform this operation. Cloud providers can change these permissions -through the ``policy.json`` file. +through the ``policy.yaml`` file. Normal response codes: 202 @@ -130,7 +130,7 @@ migration. Policy defaults enable only users with the administrative role to 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 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 perform this operation. Cloud providers can change these permissions -through the ``policy.json`` file. +through the ``policy.yaml`` file. 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 perform this operation. Cloud providers can change these permissions -through the ``policy.json`` file. +through the ``policy.yaml`` file. Normal response codes: 202