summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhijiang Hu <hu.zhijiang@zte.com.cn>2017-10-16 01:16:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-16 01:16:27 +0000
commite9b3657808ab47a9478fa5137abb27cbede11ad2 (patch)
treeeb537ff978dbcd92950eec68c4ad54d73a9d6f61
parent2e4c5f1505701ce94a02b2060ea5b0e87c493e29 (diff)
parent4195a3931b5481cd979f12214609a6cc3dd4168f (diff)
Merge "add functest guide doc" into stable/euphratesopnfv-5.0.RC1opnfv-5.0.0
-rw-r--r--docs/release/installation/functest.rst31
-rw-r--r--docs/release/installation/index.rst1
2 files changed, 32 insertions, 0 deletions
diff --git a/docs/release/installation/functest.rst b/docs/release/installation/functest.rst
new file mode 100644
index 0000000..83541e1
--- /dev/null
+++ b/docs/release/installation/functest.rst
@@ -0,0 +1,31 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International Licence.
+.. http://creativecommons.org/licenses/by/4.0
+
+Deployment Test Guide
+===============================
+
+After successful deployment of openstack, daisy4nfv use Functest to test the api of openstack.
+You can follow below instruction to test the successfully deployed openstack on jumperserver.
+
+1.docker pull opnfv/functest
+run 'docker images' command to make sure have the latest functest images.
+
+2.docker run -ti --name functest \
+-e INSTALLER_TYPE="daisy"\
+-e INSTALLER_IP="10.20.11.2" -e NODE_NAME="zte-vtest" \
+-e DEPLOY_SCENARIO="os-nosdn-nofeature-ha" \
+-e BUILD_TAG="jenkins-functest-daisy-virtual-daily-master-1259" \
+-e DEPLOY_TYPE="virt" opnfv/functest:latest /bin/bash
+Before run above command change below parameters:
+DEPLOY_SCENARIO: indicate the scenario
+DEPLOY_TYPE: virt/baremetal
+NODE_NAME: pod name
+INSTALLER_IP: daisy vm node ip
+
+3.Log in the daisy vm node to get the /etc/kolla/admin-openrc.sh file, and write them in /home/opnfv/functest/conf/openstack.creds file of functest container.
+
+4.Run command 'functest env prepare' to prepare the functest env.
+
+5.Run command 'functest testcase list' to list all the testcase can be run.
+
+6.Run command 'functest testcase run testcase_name' to run the testcase_name testcase of functest.
diff --git a/docs/release/installation/index.rst b/docs/release/installation/index.rst
index 0e22839..611ecf6 100644
--- a/docs/release/installation/index.rst
+++ b/docs/release/installation/index.rst
@@ -18,3 +18,4 @@ OPNFV Daisy4nfv Installation Guide
recovery.rst
upgrade.rst
build_kolla_image.rst
+ functest.rst