aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-10-11 17:47:50 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-10-11 17:47:50 +0800
commit5523e12a0de95639494b4069a98c07de25f2b077 (patch)
tree2e4769eab2a096b8bf1d2ac9d37d80d6eb994a85 /docs
parentba87e05a563b39e4005c231fc1b5520f0f536927 (diff)
Add vfc-nfvo-wfengine install guide docs
Change-Id: Ifef2f91d0e4b6e68212b39369975766ce7e6db80 Issue-Id: VFC-526 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docs')
-rw-r--r--docs/installation.rst30
1 files changed, 27 insertions, 3 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index df3bd1c7..c48a121d 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -21,12 +21,36 @@ Steps
::
-docker run -d --name vfc-nslcm -v /var/lib/mysql -e MSB_ADDR=${MSB_IP}:80 nexus3.onap.org:10001/onap/vfc/nslcm
+ docker run -d --name vfc-nslcm -v /var/lib/mysql -e MSB_ADDR=${MSB_IP}:80 nexus3.onap.org:10001/onap/vfc/nslcm
+
+ For testing, we can use curl command to access the swagger api.
-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
::
-curl http://${MSB_IP}:80/api/nslcm/v1/swagger.json
+ 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
+
+ The first container is wfengine-activiti,there are some parameters should be injected into container. \
+ 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_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