From 6f43d28863ec988db7870d86a918199fda64dd1f Mon Sep 17 00:00:00 2001 From: Ulas Kozat Date: Tue, 14 Jun 2016 14:03:33 -0700 Subject: updated API documentation for using domino-cli.py Change-Id: I7230804483c3ed3dca0b03bd0a036a12cada41cb Signed-off-by: Ulas Kozat --- docs/userguide/api-documentation.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/userguide/api-documentation.rst b/docs/userguide/api-documentation.rst index 24d63b5..06e6f77 100755 --- a/docs/userguide/api-documentation.rst +++ b/docs/userguide/api-documentation.rst @@ -27,7 +27,7 @@ Prerequisites: .. code-block:: bash - ./DominoClient.py -p --log=debug + ./DominoClient.py -p --cliport --log=debug Note1: The default log level is WARNING and omitting --log option will lead to minimal/no logging on the console Note2: domino_conf.py file includes most of the default values @@ -38,7 +38,7 @@ Command line input: .. code-block:: bash - ./domino-cli.py register + ./domino-cli.py register This message has the following fields that are automatically filled in. @@ -57,7 +57,7 @@ Command line input: .. code-block:: bash - ./domino-cli.py heartbeat + ./domino-cli.py heartbeat This message has the following fields that are automatically filled in. @@ -71,7 +71,7 @@ This message has the following fields that are automatically filled in. .. code-block:: bash - ./domino-cli.py subscribe -l -t + ./domino-cli.py subscribe -l -t Note that -l can be substituted by --label and -t can be substituted by --ttype. @@ -79,13 +79,13 @@ More than one label or template type can be subscribed within the same command l .. code-block:: bash - ./domino-cli.py subscribe -l ,, -t ,, + ./domino-cli.py subscribe -l ,, -t ,, To subscribe more than one label or template type, one can also repeat the options -l and -t, e.g.: .. code-block:: bash - ./domino-cli.py subscribe -l -l -l -t -t -t + ./domino-cli.py subscribe -l -l -l -t -t -t It is safe to call subscribe command multiple times with duplicate labels. @@ -118,7 +118,7 @@ OVERWRITE removes the current set of labels (template types) and sets it to the .. code-block:: bash - ./domino-cli.py publish -t + ./domino-cli.py publish -t Note that -t can be substituted by --tosca-file. @@ -144,7 +144,7 @@ To enter this mode, start Domino Client with interactive console option set as t ./DominoClient -p --iax=true --log=DEBUG -The rest of the API calls are the same as in the case of using domino-cli.py except that at the prompt there is no need to write domino-cli.py, e.g.,: +The rest of the API calls are the same as in the case of using domino-cli.py except that at the prompt there is no need to write "domino-cli.py , e.g.,: .. code-block:: bash @@ -153,7 +153,7 @@ The rest of the API calls are the same as in the case of using domino-cli.py exc >>subscribe -l -t >>publish -t -The interactive CLI mode is preferred for manual, single host testing (i.e., all domino clients and servers run in the same machine). +The interactive CLI mode is mainly supported for manual testing. Revision: _sha1_ -- cgit 1.2.3-korg