Fix bug to api-ref

The API reference for the server 'migrate' (cold migrate) action
doesn't mention any asynchronous post conditions. We should have
something similar to what's in the 'resize' action API reference.

Change-Id: I596b95cbd276e8d16a1cc8ce20d77f0ff6985317
Closes-bug: #1774234
This commit is contained in:
tianhui 2018-05-31 11:53:04 +08:00 committed by Jay Pipes
parent 2fb5be45e6
commit 55c8616632
1 changed files with 9 additions and 0 deletions

View File

@ -65,6 +65,15 @@ Starting from microversion 2.56, the ``host`` parameter is available
to specify the destination host. If you specify ``null`` or don't specify
this parameter, the scheduler chooses a host.
**Asynchronous Postconditions**
The server goes to a ``VERIFY_RESIZE`` status, ``RESIZED`` VM status,
and ``finished`` migration status after a successful cold migration
and then must be confirmed or reverted. If you set the
``resize_confirm_window`` option of the Compute service to a positive integer
value, the Compute service automatically confirms the migrate operation
after the set interval in seconds.
Policy defaults enable only users with the administrative role to
perform this operation. Cloud providers can change these permissions
through the ``policy.json`` file.