The nova.api.openstack.compute.migrations Module

class Migrations(extension_info)

Bases: nova.api.openstack.extensions.V21APIExtensionBase

Provide data on migrations.

alias = 'os-migrations'
get_controller_extensions()
get_resources()
name = 'Migrations'
version = 1
class MigrationsController

Bases: nova.api.openstack.wsgi.Controller

Controller for accessing migrations in OpenStack API.

index(*args, **kwargs)

Return all migrations in progress.

wsgi_actions = {}
wsgi_extensions = []
authorize(context, action_name)
output(migrations_obj)

Returns the desired output of the API from an object.

From a MigrationsList’s object this method returns a list of primitive objects with the only necessary fields.

Previous topic

The nova.api.openstack.compute.migrate_server Module

Next topic

The nova.api.openstack.compute.multinic Module

Project Source

This Page