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
This commit is contained in:
Matt Riedemann 2019-08-06 18:44:53 -04:00
parent acef73c9bd
commit e281368c96
2 changed files with 4 additions and 4 deletions

View File

@ -2569,7 +2569,7 @@ Print a list of migrations.
Fetch migrations for the given instance.
``--host <host>``
Fetch migrations for the given host.
Fetch migrations for the given source or destination host.
``--status <status>``
Fetch migrations for the given status.

View File

@ -5416,7 +5416,7 @@ def _print_migrations(cs, migrations):
'--host',
dest='host',
metavar='<host>',
help=_('Fetch migrations for the given host.'))
help=_('Fetch migrations for the given source or destination host.'))
@utils.arg(
'--status',
dest='status',
@ -5439,7 +5439,7 @@ def do_migration_list(cs, args):
'--host',
dest='host',
metavar='<host>',
help=_('Fetch migrations for the given host.'))
help=_('Fetch migrations for the given source or destination host.'))
@utils.arg(
'--status',
dest='status',
@ -5498,7 +5498,7 @@ def do_migration_list(cs, args):
'--host',
dest='host',
metavar='<host>',
help=_('Fetch migrations for the given host.'))
help=_('Fetch migrations for the given source or destination host.'))
@utils.arg(
'--status',
dest='status',