From 3bf033ad0538f7740e37f12c3324f2e7783d4eaf Mon Sep 17 00:00:00 2001 From: ZhaoBo Date: Wed, 21 Dec 2016 14:08:17 +0800 Subject: [PATCH] Add command guide for openstack ping&health CLI Change-Id: I36fc122324a7a8b53e546e00a94ab4d22e7c7550 Co-Authored-By: wangxiyuan --- doc/source/command-line.rst | 2 ++ doc/source/command/health.rst | 25 +++++++++++++++++++++++++ doc/source/command/ping.rst | 27 +++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 doc/source/command/health.rst create mode 100644 doc/source/command/ping.rst diff --git a/doc/source/command-line.rst b/doc/source/command-line.rst index 16755a97..13a676df 100644 --- a/doc/source/command-line.rst +++ b/doc/source/command-line.rst @@ -16,3 +16,5 @@ Click the Link below for the details. command/claim command/pool command/flavor + command/ping + command/health diff --git a/doc/source/command/health.rst b/doc/source/command/health.rst new file mode 100644 index 00000000..c7c14eab --- /dev/null +++ b/doc/source/command/health.rst @@ -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. diff --git a/doc/source/command/ping.rst b/doc/source/command/ping.rst new file mode 100644 index 00000000..a3d80cd6 --- /dev/null +++ b/doc/source/command/ping.rst @@ -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 ] + [--noindent] [--prefix PREFIX] + +Check if Zaqar server is alive or not.