Add command guide for openstack ping&health CLI

Change-Id: I36fc122324a7a8b53e546e00a94ab4d22e7c7550
Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com>
This commit is contained in:
ZhaoBo 2016-12-21 14:08:17 +08:00 committed by wangxiyuan
parent 1fa91a01ad
commit 3bf033ad05
3 changed files with 54 additions and 0 deletions

View File

@ -16,3 +16,5 @@ Click the Link below for the details.
command/claim
command/pool
command/flavor
command/ping
command/health

View File

@ -0,0 +1,25 @@
Health
======
For help on a specific :command:`openstack messaging health` command, enter:
.. code-block:: console
$ openstack messaging health COMMAND -h/--help
The one command:
.. code-block:: console
messaging health
.. _openstack_messaging_health:
openstack messaging health
--------------------------
.. code-block:: console
usage: openstack messaging health [-h]
Display detailed health status of Zaqar server.

View File

@ -0,0 +1,27 @@
Ping
====
For help on a specific :command:`openstack messaging ping` command, enter:
.. code-block:: console
$ openstack messaging ping COMMAND -h/--help
The one command:
.. code-block:: console
messaging ping
.. _openstack_messaging_ping:
openstack messaging ping
------------------------
.. code-block:: console
usage: openstack messaging ping [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
Check if Zaqar server is alive or not.