The nova.api.openstack.compute.server_migrations
Module¶
-
class
ServerMigrations
(extension_info)¶ Bases:
nova.api.openstack.extensions.V21APIExtensionBase
Server Migrations API.
-
alias
= 'server-migrations'¶
-
get_controller_extensions
()¶
-
get_resources
()¶
-
name
= 'ServerMigrations'¶
-
version
= 1¶
-
-
class
ServerMigrationsController
¶ Bases:
nova.api.openstack.wsgi.Controller
The server migrations API controller for the OpenStack API.
-
delete
(*args, **kwargs)¶ Abort an in progress migration of an instance.
-
index
(*args, **kwargs)¶ Return all migrations of an instance in progress.
-
show
(*args, **kwargs)¶ Return the migration of an instance in progress by id.
-
versioned_methods
= {'index': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7ff1e20fe410>], 'delete': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7ff1e20fe390>], '_force_complete': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7ff1e15e0650>], 'show': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7ff1e20fe610>]}¶
-
wsgi_actions
= {'force_complete': '_force_complete'}¶
-
wsgi_extensions
= []¶
-
-
output
(migration)¶ Returns the desired output of the API from an object.
From a Migrations’s object this method returns the primitive object with the only necessary and expected fields.