diff options
author | Ritu Sood <ritu.sood@intel.com> | 2019-08-01 12:29:41 +0200 |
---|---|---|
committer | Konrad Bańka <k.banka@samsung.com> | 2019-08-01 12:38:46 +0200 |
commit | 1b282801d6a7a0e9104984895911b828da402623 (patch) | |
tree | e97c55d6465148914a61abf7a6639a1180fddf22 /kud/tests/_common.sh | |
parent | b668aa42997b74ebdcf609bc0a55906d7eb59ff8 (diff) |
Add test case for loading vFW Helm chart
This test checks vFW lifecycle using the k8splugin.
Issue-ID: MULTICLOUD-708
Change-Id: I46d47e64562d75d8b1f7552fc073b1e59efa443e
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Co-authored-by: Konrad Bańka <k.banka@samsung.com>
Diffstat (limited to 'kud/tests/_common.sh')
-rwxr-xr-x | kud/tests/_common.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kud/tests/_common.sh b/kud/tests/_common.sh index bfb6ec4b..f9f47f87 100755 --- a/kud/tests/_common.sh +++ b/kud/tests/_common.sh @@ -1144,3 +1144,17 @@ function populate_CSAR_edgex_rbdefinition { tar -czf rb_definition.tar.gz -C $test_folder/vnfs/edgex/helm edgex popd } + +# populate_CSAR_fw_rbdefinition() - Function that populates CSAR folder +# for testing resource bundle definition of firewall scenario +function populate_CSAR_fw_rbdefinition { + _checks_args "$1" + pushd "${CSAR_DIR}/$1" + print_msg "Create Helm Chart Archives for vFirewall" + rm -f *.tar.gz + # Reuse profile from the edgeX case as it is an empty profile + tar -czf rb_profile.tar.gz -C $test_folder/vnfs/edgex/profile . + tar -czf rb_definition.tar.gz -C $test_folder/../demo firewall + popd +} + |