The nova.api.openstack.compute.legacy_v2.contrib.migrations
Module¶
-
class
Migrations
(ext_mgr)¶ Bases:
nova.api.openstack.extensions.ExtensionDescriptor
Provide data on migrations.
-
alias
= 'os-migrations'¶
-
get_resources
()¶
-
name
= 'Migrations'¶
-
namespace
= 'http://docs.openstack.org/compute/ext/migrations/api/v2.0'¶
-
updated
= '2013-05-30T00:00:00Z'¶
-
-
class
MigrationsController
¶ Bases:
object
Controller for accessing migrations in OpenStack API.
-
index
(req)¶ Return all migrations in progress.
-
-
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.