summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2019-08-06 18:44:53 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2019-08-07 09:23:45 -0400
commite281368c9679b385ecfb05737e614a05a9bab291 (patch)
tree1bb86caaac33649016595cf4d6219a70240bfd9c
parentacef73c9bddbf958cb97a619172662ede3a33de1 (diff)
downloadpython-novaclient-e281368c9679b385ecfb05737e614a05a9bab291.tar.gz
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
-rw-r--r--doc/source/cli/nova.rst2
-rw-r--r--novaclient/v2/shell.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/cli/nova.rst b/doc/source/cli/nova.rst
index f93c3124..1a0081eb 100644
--- a/doc/source/cli/nova.rst
+++ b/doc/source/cli/nova.rst
@@ -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.
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py
index 649097be..7b9c0206 100644
--- a/novaclient/v2/shell.py
+++ b/novaclient/v2/shell.py
@@ -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',