The nova.api.openstack.compute.server_migrations Module¶
-
class
ServerMigrations(extension_info)¶ Bases:
nova.api.openstack.extensions.V21APIExtensionBaseServer Migrations API.
-
alias= 'server-migrations'¶
-
get_controller_extensions()¶
-
get_resources()¶
-
name= 'ServerMigrations'¶
-
version= 1¶
-
-
class
ServerMigrationsController¶ Bases:
nova.api.openstack.wsgi.ControllerThe 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 0x7f427ffea050>], 'delete': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f427fd36b50>], '_force_complete': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f427ffea850>], 'show': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f427fd36c90>]}¶
-
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.