Mention compute API 2.50 in openstack quota show --class

There is a bug in the compute API until microversion 2.50
where the server-groups and server-group-members class
quota fields aren't returned. This just mentions that
microversion in the command help text.

Change-Id: I029a614a922d642c578618c478c4d0a29a394fc2
Task: 21490
Story: 2002194
This commit is contained in:
Matt Riedemann 2018-06-08 16:59:08 -04:00
parent 7feb9d38d0
commit 626a3a021c
2 changed files with 7 additions and 2 deletions

View File

@ -244,7 +244,9 @@ Set quotas for class
quota show
----------
Show quotas for project or class
Show quotas for project or class. Specify ``--os-compute-api-version 2.50`` or
higher to see ``server-groups`` and ``server-group-members`` output for a given
quota class.
.. program:: quota show
.. code:: bash

View File

@ -570,7 +570,10 @@ class SetQuota(command.Command):
class ShowQuota(command.ShowOne, BaseQuota):
_description = _("Show quotas for project or class")
_description = _(
"Show quotas for project or class. Specify "
"``--os-compute-api-version 2.50`` or higher to see ``server-groups`` "
"and ``server-group-members`` output for a given quota class.")
def get_parser(self, prog_name):
parser = super(ShowQuota, self).get_parser(prog_name)