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 = {'show': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f56234c22d0>], '_force_complete': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f56234c2150>], 'delete': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f56234c2390>], 'index': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f56234c2210>]}
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.

Previous topic

The nova.api.openstack.compute.server_metadata Module

Next topic

The nova.api.openstack.compute.server_password Module

Project Source

This Page