The nova.api.openstack.compute.server_migrations Module

class ServerMigrations(extension_info)

Bases: nova.api.openstack.extensions.V21APIExtensionBase

Server Migrations API.

alias = 'server-migrations'
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 0x7f32c9e90f90>], 'show': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f32c9ecc090>], '_force_complete': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f32c9e90ed0>], 'delete': [<nova.api.openstack.versioned_method.VersionedMethod object at 0x7f32c9ecc150>]}
wsgi_actions = {'force_complete': '_force_complete'}
wsgi_extensions = []

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