Update the vfc installation doc 87/18387/1
authoryangyan <yangyanyj@chinamobile.com>
Thu, 12 Oct 2017 01:01:17 +0000 (09:01 +0800)
committeryangyan <yangyanyj@chinamobile.com>
Thu, 12 Oct 2017 01:01:26 +0000 (09:01 +0800)
Issue-ID: VFC-526
Change-Id: I4c41c620559477c4f1e543abe92d93e101877cf6
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
docs/installation.rst

index c48a121..1d23e59 100644 (file)
@@ -25,21 +25,20 @@ Steps
     
   For testing, we can use curl command to access the swagger api.
 
-::
-
   curl http://${MSB_IP}:80/api/nslcm/v1/swagger.json
 
 - Install vfc-nfvo-wfengine components.
 
+::
+
   Totally, there are two docker images should be installed before you can use the workflow normally, \
   one is wfengine-activiti for manage the original activiti service, the other is for manage engine service.
-  
-  1. Pull related docker images
 
-::
 
-  docker pull $NEXUS_DOCKER_REPO/onap/vfc/wfengine-activiti:$DOCKER_IMAGE_VERSION
-  docker pull $NEXUS_DOCKER_REPO/onap/vfc/wfengine-mgrservice:$DOCKER_IMAGE_VERSION
+  1. Pull related docker images
+
+    docker pull $NEXUS_DOCKER_REPO/onap/vfc/wfengine-activiti:$DOCKER_IMAGE_VERSION
+    docker pull $NEXUS_DOCKER_REPO/onap/vfc/wfengine-mgrservice:$DOCKER_IMAGE_VERSION
 
   2. Run the two docker images 
      
@@ -47,10 +46,9 @@ Steps
      OPENPALETTE_MSB_IP represents msb server address and OPENPALETTE_MSB_PORT is the relative port, \
      SERVICE_IP represents the docker run environment server address. 
 
-::
+     docker run -i -t -d --name vfc_wfengine_activiti -p 8804:8080 -e SERVICE_IP=$OPENO_IP -e SERVICE_PORT=8804 \
+     -e OPENPALETTE_MSB_IP=$OPENO_IP -e OPENPALETTE_MSB_PORT=80 $NEXUS_DOCKER_REPO/onap/vfc/wfengine-activiti:$DOCKER_IMAGE_VERSION
 
-  docker run -i -t -d --name vfc_wfengine_activiti -p 8804:8080 -e SERVICE_IP=$OPENO_IP -e SERVICE_PORT=8804 \
-  -e OPENPALETTE_MSB_IP=$OPENO_IP -e OPENPALETTE_MSB_PORT=80 $NEXUS_DOCKER_REPO/onap/vfc/wfengine-activiti:$DOCKER_IMAGE_VERSION
-  docker run -i -t -d --name vfc_wfengine_mgrservice -p 8805:10550 -e SERVICE_IP=$OPENO_IP -e SERVICE_PORT=8805 \
-  -e OPENPALETTE_MSB_IP=$OPENO_IP -e OPENPALETTE_MSB_PORT=80 $NEXUS_DOCKER_REPO/onap/vfc/wfengine-mgrservice:$DOCKER_IMAGE_VERSION
+     docker run -i -t -d --name vfc_wfengine_mgrservice -p 8805:10550 -e SERVICE_IP=$OPENO_IP -e SERVICE_PORT=8805 \
+     -e OPENPALETTE_MSB_IP=$OPENO_IP -e OPENPALETTE_MSB_PORT=80 $NEXUS_DOCKER_REPO/onap/vfc/wfengine-mgrservice:$DOCKER_IMAGE_VERSION