summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-10-13 09:14:42 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-10-13 09:14:42 +0800
commit5f55b85cb35e3e80eeebffc09fe5156b3f2d6148 (patch)
tree6613918d28d86b5df0d0afd4eaadf80f198ee6a3
parentafa8f1e5bfd6f7627889b5b8cfb36cf2033fb5a0 (diff)
Format vfc install guide docs
Change-Id: I0db56a9620bfa24f27110d010295fd2ae33901f0 Issue-Id: VFC-526 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--docs/installation.rst21
1 files changed, 14 insertions, 7 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index 1d23e594..3c4561a0 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -13,9 +13,12 @@ VF-C components can run as docker, docker server should be installed before inst
Steps
+++++
-- First, MSB components should be installed, you can ref the following link to install MSB.
-
+- Install MSB components.
+
+ VF-C components need to register to MSB when starting, so MSB components should be installed first, \
+ you can ref the following link to install MSB.
http://onap.readthedocs.io/en/latest/submodules/msb/apigateway.git/docs/platform/installation.html
+ Note: In the following steps, we use ${MSB_IP} as the IP of msb_apigateway component.
- Install vfc-nfvo-lcm component.
@@ -23,20 +26,22 @@ Steps
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
+::
+
docker pull $NEXUS_DOCKER_REPO/onap/vfc/wfengine-activiti:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/onap/vfc/wfengine-mgrservice:$DOCKER_IMAGE_VERSION
@@ -46,9 +51,11 @@ 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 \
+::
+
+ 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 \
+ 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