Merge "Document 2.53 behavior for compute service list/delete"
This commit is contained in:
commit
0001404d7d
@ -18,13 +18,19 @@ Delete compute service(s)
|
|||||||
.. _compute_service_delete-service:
|
.. _compute_service_delete-service:
|
||||||
.. describe:: <service>
|
.. describe:: <service>
|
||||||
|
|
||||||
Compute service(s) to delete (ID only)
|
Compute service(s) to delete (ID only). If using
|
||||||
|
``--os-compute-api-version`` 2.53 or greater, the ID is a UUID which can
|
||||||
|
be retrieved by listing compute services using the same 2.53+ microversion.
|
||||||
|
|
||||||
compute service list
|
compute service list
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
List compute services
|
List compute services
|
||||||
|
|
||||||
|
Using ``--os-compute-api-version`` 2.53 or greater will return the ID as a
|
||||||
|
UUID value which can be used to uniquely identify the service in a multi-cell
|
||||||
|
deployment.
|
||||||
|
|
||||||
.. program:: compute service list
|
.. program:: compute service list
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
|
@ -37,7 +37,10 @@ class DeleteService(command.Command):
|
|||||||
"service",
|
"service",
|
||||||
metavar="<service>",
|
metavar="<service>",
|
||||||
nargs='+',
|
nargs='+',
|
||||||
help=_("Compute service(s) to delete (ID only)")
|
help=_("Compute service(s) to delete (ID only). If using "
|
||||||
|
"``--os-compute-api-version`` 2.53 or greater, the ID is "
|
||||||
|
"a UUID which can be retrieved by listing compute services "
|
||||||
|
"using the same 2.53+ microversion.")
|
||||||
)
|
)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
@ -60,7 +63,11 @@ class DeleteService(command.Command):
|
|||||||
|
|
||||||
|
|
||||||
class ListService(command.Lister):
|
class ListService(command.Lister):
|
||||||
_description = _("List compute services")
|
_description = _("List compute services. Using "
|
||||||
|
"``--os-compute-api-version`` 2.53 or greater will "
|
||||||
|
"return the ID as a UUID value which can be used to "
|
||||||
|
"uniquely identify the service in a multi-cell "
|
||||||
|
"deployment.")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = super(ListService, self).get_parser(prog_name)
|
parser = super(ListService, self).get_parser(prog_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user