openstack.compute.v2.migration

openstack.compute.v2.migration

The Migration Class

The Migration class inherits from Resource.

class openstack.compute.v2.migration.Migration(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

created_at

The date and time when the resource was created.

dest_compute

The target compute of the migration.

dest_host

The target host of the migration.

dest_node

The target node of the migration.

migration_type

The type of the migration. One of ‘migration’, ‘resize’, ‘live-migration’ or ‘evacuation’

new_flavor_id

The ID of the old flavor. This value corresponds to the ID of the flavor in the database. This will be the same as new_flavor_id except for resize operations.

old_flavor_id

The ID of the old flavor. This value corresponds to the ID of the flavor in the database.

project_id

The ID of the project that initiated the server migration (since microversion 2.80)

server_id

The UUID of the server

source_compute

The source compute of the migration.

source_node

The source node of the migration.

status

The current status of the migration.

updated_at

The date and time when the resource was last updated.

user_id

The ID of the user that initiated the server migration (since microversion 2.80)

uuid

The UUID of the migration (since microversion 2.59)

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.