The novaclient.v2.migrations Module

The novaclient.v2.migrations Module

migration interface

class novaclient.v2.migrations.Migration(manager, info, loaded=False, resp=None)

Bases: novaclient.base.Resource

Populate and bind to a manager.

Parameters:
  • manager – BaseManager object
  • info – dictionary representing resource attributes
  • loaded – prevent lazy-loading if set to True
  • resp – Response or list of Response objects
class novaclient.v2.migrations.MigrationManager(api)

Bases: novaclient.base.ManagerWithFind

list(obj, *args, **kwargs)

Get a list of migrations. :param host: filter migrations by host name (optional). :param status: filter migrations by status (optional). :param instance_uuid: filter migrations by instance uuid (optional). :param marker: Begin returning migrations that appear later in the migrations list than that represented by this migration UUID (optional). :param limit: maximum number of migrations to return (optional). :param changes_since: only return migrations updated after. The provided time should be an ISO 8061 formatted time. ex 2016-03-04T06:27:59Z . (optional).

resource_class

alias of Migration

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.