Skip to content

Commit e281368

Browse files
committed
docs: clarify nova migration-list --host option
The GET /os-migrations API takes both a host and source_compute filter parameter. The former filters on either the source or destination compute, so this change clarifies that in the command help for the --host option. Change-Id: I078add63896c7455be7e3672b7172debb962a5e2
1 parent acef73c commit e281368

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

doc/source/cli/nova.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2569,7 +2569,7 @@ Print a list of migrations.
25692569
Fetch migrations for the given instance.
25702570

25712571
``--host <host>``
2572-
Fetch migrations for the given host.
2572+
Fetch migrations for the given source or destination host.
25732573

25742574
``--status <status>``
25752575
Fetch migrations for the given status.

novaclient/v2/shell.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5416,7 +5416,7 @@ def migration_type(migration):
54165416
'--host',
54175417
dest='host',
54185418
metavar='<host>',
5419-
help=_('Fetch migrations for the given host.'))
5419+
help=_('Fetch migrations for the given source or destination host.'))
54205420
@utils.arg(
54215421
'--status',
54225422
dest='status',
@@ -5439,7 +5439,7 @@ def do_migration_list(cs, args):
54395439
'--host',
54405440
dest='host',
54415441
metavar='<host>',
5442-
help=_('Fetch migrations for the given host.'))
5442+
help=_('Fetch migrations for the given source or destination host.'))
54435443
@utils.arg(
54445444
'--status',
54455445
dest='status',
@@ -5498,7 +5498,7 @@ def do_migration_list(cs, args):
54985498
'--host',
54995499
dest='host',
55005500
metavar='<host>',
5501-
help=_('Fetch migrations for the given host.'))
5501+
help=_('Fetch migrations for the given source or destination host.'))
55025502
@utils.arg(
55035503
'--status',
55045504
dest='status',

0 commit comments

Comments
 (0)