From e281368c9679b385ecfb05737e614a05a9bab291 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Tue, 6 Aug 2019 18:44:53 -0400 Subject: 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 --- doc/source/cli/nova.rst | 2 +- novaclient/v2/shell.py | 6 +++--- 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 `` - Fetch migrations for the given host. + Fetch migrations for the given source or destination host. ``--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='', - 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='', - 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='', - help=_('Fetch migrations for the given host.')) + help=_('Fetch migrations for the given source or destination host.')) @utils.arg( '--status', dest='status', -- cgit v1.2.1