From 4f6c21642d76a1b64d25e8498003bdd4cab7960e Mon Sep 17 00:00:00 2001 From: akhilbatra898 Date: Fri, 31 Mar 2017 16:10:21 +0530 Subject: Add guide for exposing api port during docker run Change-Id: I5dcc98ac02051f509c4714c6ea849f642dcae9d5 Signed-off-by: akhilbatra898 --- docs/testing/user/configguide/configuration.rst | 2 +- docs/testing/user/userguide/api.rst | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/testing/user/configguide/configuration.rst b/docs/testing/user/configguide/configuration.rst index 0ca7ae8c..f048558e 100644 --- a/docs/testing/user/configguide/configuration.rst +++ b/docs/testing/user/configguide/configuration.rst @@ -41,7 +41,7 @@ Run and enter the docker instance :: envs="INSTALLER_TYPE={INSTALLER_TYPE} -e INSTALLER_IP={INSTALLER_IP}" - docker run --name qtip -id -e $envs opnfv/qtip + docker run -p [HOST_IP:]:5000 --name qtip -id -e $envs opnfv/qtip docker exec -i -t qtip /bin/bash ``INSTALLER_TYPE`` should be one of OPNFV installer, e.g. apex, compass, daisy, fuel diff --git a/docs/testing/user/userguide/api.rst b/docs/testing/user/userguide/api.rst index 7e1d7b1c..05b0e8f2 100644 --- a/docs/testing/user/userguide/api.rst +++ b/docs/testing/user/userguide/api.rst @@ -19,8 +19,7 @@ Running After installing QTIP. API server can be run using command ``qtip-api`` on the local machine. -All the resources and their corresponding operation details can be seen at ``/v1.0/ui``, -on hosting server(``0.0.0.0:5000`` for the local machine). +All the resources and their corresponding operation details can be seen at ``/v1.0/ui``. The whole API specification in json format can be seen at ``/v1.0/swagger.json``. -- cgit 1.2.3-korg