Server_migrationsΒΆ
-
class
novaclient.v2.server_migrations.ServerMigration(manager, info, loaded=False, resp=None) Bases:
novaclient.base.ResourcePopulate 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.server_migrations.ServerMigrationsManager(api) Bases:
novaclient.base.ManagerWithFind-
get(obj, *args, **kwargs) Get a migration of a specified server
Parameters: - server – The
Server(or its ID) - migration – Migration id that will be gotten.
Returns: An instance of novaclient.v2.server_migrations.ServerMigration
- server – The
-
list(obj, *args, **kwargs) Get a migrations list of a specified server
Parameters: server – The Server(or its ID)Returns: An instance of novaclient.base.ListWithMeta
-
live_migrate_force_complete(obj, *args, **kwargs) Force on-going live migration to complete
Parameters: - server – The
Server(or its ID) - migration – Migration id that will be forced to complete
Returns: An instance of novaclient.base.TupleWithMeta
- server – The
-
live_migration_abort(obj, *args, **kwargs) Cancel an ongoing live migration
Parameters: - server – The
Server(or its ID) - migration – Migration id that will be cancelled
Returns: An instance of novaclient.base.TupleWithMeta
- server – The
-
resource_class alias of
ServerMigration
-