diff options
author | Zuul <zuul@review.openstack.org> | 2018-10-25 04:29:28 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-10-25 04:29:28 +0000 |
commit | 9abb67c8f4e8fd69c379f6ec187980698a1e60db (patch) | |
tree | 30f76ec3d9201f4710bd1b747b98bb977d537808 | |
parent | 578b37f99419293f7c9eb38d3f71ab164e774b79 (diff) | |
parent | 910201f20157c57e8b24d1f0e82763250f6df0d7 (diff) | |
download | python-novaclient-9abb67c8f4e8fd69c379f6ec187980698a1e60db.tar.gz |
Merge "Deprecate the unused instance-name"
-rw-r--r-- | novaclient/v2/shell.py | 4 | ||||
-rw-r--r-- | releasenotes/notes/deprecate-instance-name-option-bc76629d28f1d456.yaml | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py index b993fbc0..a85c9b96 100644 --- a/novaclient/v2/shell.py +++ b/novaclient/v2/shell.py @@ -1423,7 +1423,9 @@ def _print_flavor(flavor): dest='instance_name', metavar='<name-regexp>', default=None, - help=_('Search with regular expression match by server name.')) + action=shell.DeprecatedAction, + help=_('Search with regular expression match by server name. The option ' + 'is not used and will be removed in T release.')) @utils.arg( '--status', dest='status', diff --git a/releasenotes/notes/deprecate-instance-name-option-bc76629d28f1d456.yaml b/releasenotes/notes/deprecate-instance-name-option-bc76629d28f1d456.yaml new file mode 100644 index 00000000..270d8dcf --- /dev/null +++ b/releasenotes/notes/deprecate-instance-name-option-bc76629d28f1d456.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - | + The ``--instance-name`` option has been deprecated from the ``nova list`` + command because the instance name query parameter is ignored by the + compute REST API. + |