Add a new policy for cold-migrate with host

We add a new specific policy when a host value is provided for cold-migrate,
but by default it will only be an admin-only rule in order to not change
the behaviour.

Change-Id: I128242d5f689fdd08d74b1dcba861177174753ff
Implements: blueprint cold-migrate-to-host-policy
This commit is contained in:
Sylvain Bauza
2023-04-26 14:09:01 +02:00
parent b9ac827491
commit 2d320f9b00
7 changed files with 41 additions and 6 deletions
+3 -2
View File
@@ -75,8 +75,9 @@ automatically confirms the migrate operation after the configured interval.
.. _resize_confirm_window: https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.resize_confirm_window
Policy defaults enable only users with the administrative role to
perform this operation. Cloud providers can change these permissions
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.
Normal response codes: 202