From 84066c191ce97df1c4bd790b8b5cc72a6a7bdd42 Mon Sep 17 00:00:00 2001 From: Diane Fleming Date: Wed, 25 Sep 2013 13:43:17 -0500 Subject: [PATCH] Updated evacuate per bug and cleaned up other items in os-admin-actions.wadl Partial-Bug: #1198771 Change-Id: I04b792c0055333dd85a70143bfaabcb43927874c author: diane fleming --- api-ref/pom.xml | 2 +- api-ref/src/docbkx/api-ref-compute.xml | 19 +- .../compute-api/src/ext/os-admin-actions.wadl | 237 +++++++++++++----- 3 files changed, 171 insertions(+), 87 deletions(-) diff --git a/api-ref/pom.xml b/api-ref/pom.xml index 6af84c1c6..dd3d6ba13 100644 --- a/api-ref/pom.xml +++ b/api-ref/pom.xml @@ -13,7 +13,7 @@ OpenStack API Page Project UTF-8 - 1.9.3 + 1.11.0 diff --git a/api-ref/src/docbkx/api-ref-compute.xml b/api-ref/src/docbkx/api-ref-compute.xml index 17f0beb38..64bb0f5fe 100644 --- a/api-ref/src/docbkx/api-ref-compute.xml +++ b/api-ref/src/docbkx/api-ref-compute.xml @@ -16,23 +16,6 @@ - Compute API v2 Launches virtual machines from images or images stored @@ -238,7 +221,7 @@
Server Admin Actions Permits administrators to perform actions on a - server. + server. Specify the action in the request body. diff --git a/api-ref/src/wadls/compute-api/src/ext/os-admin-actions.wadl b/api-ref/src/wadls/compute-api/src/ext/os-admin-actions.wadl index 3767bcb4e..e8255f622 100644 --- a/api-ref/src/wadls/compute-api/src/ext/os-admin-actions.wadl +++ b/api-ref/src/wadls/compute-api/src/ext/os-admin-actions.wadl @@ -49,7 +49,8 @@ - + Pauses a server. Changes its status to PAUSED. @@ -82,13 +83,20 @@ - + Unpauses a PAUSED server and - changes its status to ACTIVE. Specify the - unpause action in the request body. - + changes its status to ACTIVE. + + + Specify the unpause action in + the request body. + + @@ -109,12 +117,20 @@ - + Suspends a server and changes its - status to SUSPENDED. Specify the suspend - action in the request body. + status to SUSPENDED. + + + Specify the suspend action in + the request body. + + @@ -135,13 +151,20 @@ - + Resumes a SUSPENDED server and - changes its status to ACTIVE. Specify the - resume action in the request - body. + changes its status to ACTIVE. + + + Specify the resume action in + the request body. + + - + Migrates a server to a host. The - scheduler chooses the host. Specify the - migrate action in the request - body. + scheduler chooses the host. + + + Specify the migrate action in + the request body. + + - - Resets networking on a server. - Specify the resetNetwork action in the - request body. + + Resets networking on a + server. + + + Specify the resetNetwork action + in the request body. + + - + Injects network information into a - server. Specify the injectNetworkInfo - action in the request body. + server. + + + Specify the injectNetworkInfo + action in the request body. + + - - Locks a server. Specify the - lock action in the request - body. + + Locks a server. + + + Specify the lock action in the + request body. + + - - Unlocks a server. Specify the - unlock action in the request - body. + + Unlocks a server. + + + Specify the unlock action in + the request body. + + - - Backs up a server instance. Specify - the createBackup action in the request - body. + + Backs up a server instance. - + + Specify the createBackup action + in the request body. + + +

Name of the backup image.

-

The backup type. Either 'daily' or 'weekly.'

-

An integer value that represents the number of @@ -315,24 +382,31 @@ - + Live-migrates a server to a new - host without rebooting. Specify the - os-migrateLive action in the request - body. + host without rebooting. - + + Specify the os-migrateLive + action in the request body. + + +

Name of the new host.

-

If true, migration is blocked.

-

If true, disk over commit is allowed.

@@ -357,14 +431,21 @@
- + Resets the state of a server to a - specified state. Specify the - os-resetState action in the request - body. + specified state. - + + Specify the resetState action + in the request body. + + +

The desired state of a server.

@@ -389,27 +470,37 @@
- + Evacuates a server from failed - host. Specify the evacuate action in the - request body. + host. - + + Specify the evacuate action in + the request body. + + +

The name or ID of the host where the server is evacuated.

- -

Required - if server is on shared storage.

+ +

Specifies + a new admin password for the evacuated + instance.

- -

Not - specified with onSharedStorage. New admin - password for the evacuated instance.

+ +

If server + is on shared storage, set to True. Otherwise, + set to False.

Assigns the specified security - group to the server. Specify the - addSecurityGroup action in the - request body. + group to the server. + + Specify the + addSecurityGroup action in + the request body. +

The name @@ -479,11 +575,16 @@ Removes the specified security - group from the server. Specify the - removeSecurityGroup action in the - request body. + group from the server. + + Specify the + removeSecurityGroup action in + the request body. +

The name