diff options
author | Moshe <moshehoa@amdocs.com> | 2018-03-04 15:42:23 +0200 |
---|---|---|
committer | Moshe <moshehoa@amdocs.com> | 2018-03-29 14:04:48 +0300 |
commit | 698cd3f4246c4e472c306fcad57d8d7b6431333f (patch) | |
tree | 5dd2ba4d4e571941c0d0c1e6d191b1045278e9c1 /etc/conf/vnftest_config.yml | |
parent | caf95e09ef0206354b46d51f83690e20bc69e848 (diff) |
Integrate dovetail with ONAP
Change-Id: I6a1fa5f27df2f5127eb00156b3135dc79caf5e77
Issue-ID: DOVETAIL-629
Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'etc/conf/vnftest_config.yml')
-rw-r--r-- | etc/conf/vnftest_config.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/etc/conf/vnftest_config.yml b/etc/conf/vnftest_config.yml new file mode 100644 index 00000000..25a84c7b --- /dev/null +++ b/etc/conf/vnftest_config.yml @@ -0,0 +1,31 @@ +--- +vnftest: + image_name: onap/vnfsdk/vnftest + docker_tag: latest + opts: '-id --privileged=true' + config: + dir: '/home/onap/userconfig' + pre_condition: + - 'echo this is pre_condition' + cmds: + - 'mkdir -p /home/onap/vnftest/results/' + - "cd /home/onap/repos/vnftest && source /etc/vnftest/openstack.creds && + export CONF_FILE=/etc/vnftest/vnftest.yaml && + vnftest task start --output-file /home/onap/vnftest/results/{{testcase}}.out + /etc/vnftest/vnf_descriptor.yaml + tests/onap/test_cases/{{validate_testcase}}.yaml" + post_condition: + - 'echo this is post_condition' + result: + dir: '/home/onap/vnftest/results' + log: '/tmp/vnftest' + file_path: 'vnftest.log' + key_path: '/root/.ssh/id_rsa' + openrc: '/etc/vnftest/openstack.creds' + vnftest_conf: + - + src_file: '/home/opnfv/dovetail/pre_config/vnftest_conf.yaml' + dest_file: '/etc/vnftest/vnftest.yaml' + - + src_file: '/home/opnfv/dovetail/pre_config/vnf_descriptor.yaml' + dest_file: '/etc/vnftest/vnf_descriptor.yaml' |