diff options
-rw-r--r-- | docs/userguide/api-documentation.rst | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/docs/userguide/api-documentation.rst b/docs/userguide/api-documentation.rst index 041e2f4..b588dc9 100644 --- a/docs/userguide/api-documentation.rst +++ b/docs/userguide/api-documentation.rst @@ -1,7 +1,7 @@ .. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 -.. image:: ../etc/opnfv-logo.png +.. image:: ../etc/opnfv-logo.png :height: 40 :width: 200 :alt: OPNFV @@ -14,21 +14,19 @@ Using domino-cli Client * heartbeat message -Message fields: +Command line input: .. code-block:: bash - struct HeartBeatMessage { - 1: MessageType messageType = HEART_BEAT, - 2: i64 domino_udid, - 3: i64 seq_no - } -Command line: + ./domino-cli.py heartbeat -.. code-block:: bash +This message has the following fields that are automatically filled in. - ./domino-cli.py heartbeat +.. code-block:: bash + Message Type (= HEART_BEAT) + UDID (= assigned during registration) + Sequence Number (=incremented after each RPC call) Interactive CLI mode ==================== |