Merge "Clarify --migration-type migration value as cold migration"
This commit is contained in:
commit
3f286e7d8c
@ -2544,6 +2544,9 @@ To see the list of evacuation operations *from* a compute service host:
|
|||||||
* evacuation
|
* evacuation
|
||||||
* live-migration
|
* live-migration
|
||||||
* migration
|
* migration
|
||||||
|
|
||||||
|
.. note:: This is a cold migration.
|
||||||
|
|
||||||
* resize
|
* resize
|
||||||
|
|
||||||
``--source-compute <source_compute>``
|
``--source-compute <source_compute>``
|
||||||
|
@ -61,7 +61,7 @@ class MigrationManager(base.ManagerWithFind):
|
|||||||
:param status: filter migrations by status (optional).
|
:param status: filter migrations by status (optional).
|
||||||
:param instance_uuid: filter migrations by instance uuid (optional).
|
:param instance_uuid: filter migrations by instance uuid (optional).
|
||||||
:param migration_type: Filter migrations by type. Valid values are:
|
:param migration_type: Filter migrations by type. Valid values are:
|
||||||
evacuation, live-migration, migration, resize
|
evacuation, live-migration, migration (cold), resize
|
||||||
:param source_compute: Filter migrations by source compute host name.
|
:param source_compute: Filter migrations by source compute host name.
|
||||||
"""
|
"""
|
||||||
return self._list_base(host=host, status=status,
|
return self._list_base(host=host, status=status,
|
||||||
@ -89,7 +89,7 @@ class MigrationManager(base.ManagerWithFind):
|
|||||||
to a certain point of time. The provided time should be an ISO 8061
|
to a certain point of time. The provided time should be an ISO 8061
|
||||||
formatted time. e.g. 2016-03-04T06:27:59Z . (optional).
|
formatted time. e.g. 2016-03-04T06:27:59Z . (optional).
|
||||||
:param migration_type: Filter migrations by type. Valid values are:
|
:param migration_type: Filter migrations by type. Valid values are:
|
||||||
evacuation, live-migration, migration, resize
|
evacuation, live-migration, migration (cold), resize
|
||||||
:param source_compute: Filter migrations by source compute host name.
|
:param source_compute: Filter migrations by source compute host name.
|
||||||
"""
|
"""
|
||||||
return self._list_base(host=host, status=status,
|
return self._list_base(host=host, status=status,
|
||||||
@ -122,7 +122,7 @@ class MigrationManager(base.ManagerWithFind):
|
|||||||
equal to a certain point of time. The provided time should be an ISO
|
equal to a certain point of time. The provided time should be an ISO
|
||||||
8061 formatted time. e.g. 2016-03-05T06:27:59Z . (optional).
|
8061 formatted time. e.g. 2016-03-05T06:27:59Z . (optional).
|
||||||
:param migration_type: Filter migrations by type. Valid values are:
|
:param migration_type: Filter migrations by type. Valid values are:
|
||||||
evacuation, live-migration, migration, resize
|
evacuation, live-migration, migration (cold), resize
|
||||||
:param source_compute: Filter migrations by source compute host name.
|
:param source_compute: Filter migrations by source compute host name.
|
||||||
"""
|
"""
|
||||||
return self._list_base(host=host, status=status,
|
return self._list_base(host=host, status=status,
|
||||||
|
@ -5415,7 +5415,7 @@ def _print_migrations(cs, migrations):
|
|||||||
dest='migration_type',
|
dest='migration_type',
|
||||||
metavar='<migration_type>',
|
metavar='<migration_type>',
|
||||||
help=_('Filter migrations by type. Valid values are: evacuation, '
|
help=_('Filter migrations by type. Valid values are: evacuation, '
|
||||||
'live-migration, migration, resize'))
|
'live-migration, migration (cold), resize'))
|
||||||
@utils.arg(
|
@utils.arg(
|
||||||
'--source-compute',
|
'--source-compute',
|
||||||
dest='source_compute',
|
dest='source_compute',
|
||||||
@ -5451,7 +5451,7 @@ def do_migration_list(cs, args):
|
|||||||
dest='migration_type',
|
dest='migration_type',
|
||||||
metavar='<migration_type>',
|
metavar='<migration_type>',
|
||||||
help=_('Filter migrations by type. Valid values are: evacuation, '
|
help=_('Filter migrations by type. Valid values are: evacuation, '
|
||||||
'live-migration, migration, resize'))
|
'live-migration, migration (cold), resize'))
|
||||||
@utils.arg(
|
@utils.arg(
|
||||||
'--source-compute',
|
'--source-compute',
|
||||||
dest='source_compute',
|
dest='source_compute',
|
||||||
@ -5523,7 +5523,7 @@ def do_migration_list(cs, args):
|
|||||||
dest='migration_type',
|
dest='migration_type',
|
||||||
metavar='<migration_type>',
|
metavar='<migration_type>',
|
||||||
help=_('Filter migrations by type. Valid values are: evacuation, '
|
help=_('Filter migrations by type. Valid values are: evacuation, '
|
||||||
'live-migration, migration, resize'))
|
'live-migration, migration (cold), resize'))
|
||||||
@utils.arg(
|
@utils.arg(
|
||||||
'--source-compute',
|
'--source-compute',
|
||||||
dest='source_compute',
|
dest='source_compute',
|
||||||
|
Loading…
Reference in New Issue
Block a user