summaryrefslogtreecommitdiffstats
path: root/docs/testing
diff options
context:
space:
mode:
Diffstat (limited to 'docs/testing')
-rw-r--r--docs/testing/user/userguide/vnf_test_guide.rst17
1 files changed, 8 insertions, 9 deletions
diff --git a/docs/testing/user/userguide/vnf_test_guide.rst b/docs/testing/user/userguide/vnf_test_guide.rst
index 72b5fa4b..63ed04bf 100644
--- a/docs/testing/user/userguide/vnf_test_guide.rst
+++ b/docs/testing/user/userguide/vnf_test_guide.rst
@@ -82,11 +82,13 @@ all Dovetail related config files and results files:
For example, here we set Dovetail home directory to be ``${HOME}/dovetail``.
Afterwards, we will create a directory named ``pre_config`` inside this directory
-to store all Dovetail config related files:
+to store all Dovetail config related files and a directory named ``results``, where
+test results are going to be saved:
.. code-block:: bash
$ mkdir -p ${DOVETAIL_HOME}/pre_config
+ $ mkdir -p ${DOVETAIL_HOME}/results
There should be a file `env_config.sh` inside this directory to provide some info.
@@ -99,20 +101,17 @@ For TOSCA based VNFs, it should look like this:
export CSAR_FILE="/path/to/VNF/copied/in/container/name.csar"
-For HEAT based VNFs, it should create `vnf_dir` under `pre_config` and copy all
-HEAT template VNF packages to `vnf_dir`.
-
-.. code-block:: bash
-
- $ mkdir -p ${DOVETAIL_HOME}/pre_config/vnf_dir
-
+For HEAT based VNFs, the user should copy an archive of the HEAT template VNF
+packages to `pre_config`. The archive must be in gzip tar (tar.gz) format.
+In addition, the archive must contain only a directory with the same name
+(e.g. vnf_a.tar.gz must only include a directory named vnf_a).
Configuration file `env_config.sh` should look like this for HEAT based VNFs:
.. code-block:: bash
$ cat ${DOVETAIL_HOME}/pre_config/env_config.sh
- export VNF_DIRECTORY="/path/to/pre_config/vnf_dir"
+ export VNF_ARCHIVE_NAME="vnf_archive_name"
Use the command below to create a Dovetail container and get access to its shell: