diff options
author | xudan <xudan16@huawei.com> | 2019-04-10 05:27:26 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2019-04-26 04:04:17 -0400 |
commit | 8b646e9d3cf696db803c937fe014b8a06c68842d (patch) | |
tree | 60c0ea23063a3dc5a52fbfb81d668b68a7ef5ec3 /docs/testing/user | |
parent | 73febf900b85dae4d953389696f3a78cf8267816 (diff) |
Change HEAT package from .tag.gz to be .zip
As Trevor Lovett suggests, the Heat file is a zip file. So users need to package
it different only for Dovetail testing.
It will be better to change it to be .zip to keep it the same as what they do.
JIRA: DOVETAIL-770
Change-Id: I5338720c5e1363081e1f8cdce33391a969f1cd97
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'docs/testing/user')
-rw-r--r-- | docs/testing/user/userguide/vnf_test_guide.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/testing/user/userguide/vnf_test_guide.rst b/docs/testing/user/userguide/vnf_test_guide.rst index 1e269fb0..e35d418f 100644 --- a/docs/testing/user/userguide/vnf_test_guide.rst +++ b/docs/testing/user/userguide/vnf_test_guide.rst @@ -104,13 +104,13 @@ For TOSCA based VNFs, it should look like this: $ cat ${DOVETAIL_HOME}/pre_config/env_config.sh export HOST_URL="http://<docker host ip>:8702" - export CSAR_FILE="/path/to/VNF/copied/in/container/name.csar" + export CSAR_FILE="/opt/name.csar" 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). +packages to `pre_config`. The archive must be in zip (.zip) format. +In addition, the zip of HEAT templates must be a flat collection of files, which +means there should be no top-level directory and no sub-directories. Configuration file `env_config.sh` should look like this for HEAT based VNFs: |