summaryrefslogtreecommitdiffstats
path: root/docs/release
diff options
context:
space:
mode:
authorzhouya <zhou.ya@zte.com.cn>2017-10-12 15:19:02 +0800
committerZhijiang Hu <hu.zhijiang@zte.com.cn>2017-10-13 02:07:47 +0000
commit4195a3931b5481cd979f12214609a6cc3dd4168f (patch)
tree7f00de3bc2aad59daedaf4f66847d1967fb9b82d /docs/release
parente45eda9887381c70afc26aa45b0cf9ce16bf0398 (diff)
add functest guide doc
Change-Id: I615908c95526a982d901ea1186da573e2cc030d9 Signed-off-by: zhouya <zhou.ya@zte.com.cn> (cherry picked from commit 724c7d57abe27f3820d9ea5a2c1eff6bacc4e105)
Diffstat (limited to 'docs/release')
-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 00000000..83541e18
--- /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 0e22839b..611ecf63 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
} /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
---
upgrade:
  - |
    The default network for the ctlplane changed from 192.0.2.0/24 to
    192.168.24.0/24. All references to the ctlplane network in the templates
    have been updated to reflect this change. When upgrading from a previous
    release, if the default network was used for the ctlplane (192.0.2.0/24),
    then it is necessary to provide as input, via environment file, the correct
    setting for all the parameters that previously defaulted to 192.0.2.x and
    now default to 192.168.24.x; there is an environment file which could be
    used on upgrade `environments/updates/update-from-192_0_2-subnet.yaml` to
    cover a simple scenario but it won't be enough for scenarios using an
    external load balancer, Contrail or Cisto N1KV. Follows a list of params to
    be provided on upgrade.
    From contrail-net.yaml: EC2MetadataIp, ControlPlaneDefaultRoute
    From external-loadbalancer-vip-v6.yaml: ControlFixedIPs
    From external-loadbalancer-vip.yaml: ControlFixedIPs
    From network-environment.yaml: EC2MetadataIp, ControlPlaneDefaultRoute
    From neutron-ml2-cisco-n1kv.yaml: N1000vVSMIP, N1000vMgmtGatewayIP
    From contrail-vrouter.yaml: ContrailVrouterGateway