From f85d137e483e632f0b8d912708aae485baeabf1b Mon Sep 17 00:00:00 2001 From: mrichomme Date: Tue, 4 Aug 2020 15:38:56 +0200 Subject: Improve xtesting documentation - replace gitlab.com images by Nexus3 images - update smoke test (even it will be deprecated soon) Issue-ID: INT-1676 Signed-off-by: mrichomme Change-Id: Ic7ebaa4d12b3e1872e51a895fc1b67dfc084e900 Signed-off-by: mrichomme --- smoke-usecases-pythonsdk/README.md | 47 +++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) (limited to 'smoke-usecases-pythonsdk/README.md') diff --git a/smoke-usecases-pythonsdk/README.md b/smoke-usecases-pythonsdk/README.md index 7f9e0b7..a840ef1 100644 --- a/smoke-usecases-pythonsdk/README.md +++ b/smoke-usecases-pythonsdk/README.md @@ -11,16 +11,57 @@ but the Dockerfile must be adapted accordingly. The tests are: -* basic_vm: it onboard/distribute/deploy a single Ubuntu VM in ONAP using +- basic_vm: it onboard/distribute/deploy a single Ubuntu VM in ONAP using VNF-API. The components used are SDC, SO, AA&I, SDNC. -* freeradius_nbi: based on basic_vm, the instantiation part is done through the +- freeradius_nbi: based on basic_vm, the instantiation part is done through the ONAP external API (NBI) module. -* clearwater_ims: it consists in a full deployment of an clearwater vIMS in ONAP. +- clearwater_ims: it consists in a full deployment of an clearwater vIMS in ONAP. ## Usage +Note this docker will be deprecated in Guilin. The existing 3 test cases and +additional ones will be performed through test cases [2] consuming the Python +ONAP SDK [1] + ### Configuration +Mandatory: + +Assuming that these use cases were based on onap-tests, the service descriptions +must be overwritten with the right cloud informations as well as the onap-tests +configuration. That is why 2 volumes are needed: + +- : The last section of the default configuration must + be adapted to your environement [3] +- : the customized service descriptions including the + parameters to be overwritten (SDNC preload) [4] + +Optional: + +- The local result directory path: to store the results in your local + environement. It shall corresponds to the internal result docker path + /var/lib/xtesting/results +- The cloud.yaml if you enable the Openstack verification option (Openstack + client call to check that the stack is created in Openstack) + ### Command +``` +docker run +-v :/var/lib/xtesting/conf/env_file +-v :/usr/lib/python3.8/site-packages/onap_tests/onap-conf/onap-testing.yaml +-v :/usr/lib/python3.8/site-packages/onap_tests/templates/vnf-services +-v /root/.config/openstack.yaml +-v :/var/lib/xtesting/results +nexus3.onap.org:10001/onap/xtesting-infra-healthcheck:latest +``` + ### Output + +[1]: https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk "Python ONAP SDK repository" + +[2]: https://git.onap.org/testsuite/pythonsdk-tests/tree/ "Scenario consuming Python SDK" + +[3]: https://gitlab.com/Orange-OpenSource/lfn/onap/onap-tests/-/blob/master/onap_tests/onap-conf/onap-testing.yaml "onap-test configuration" + +[4]: https://gitlab.com/Orange-OpenSource/lfn/onap/xtesting-onap/-/tree/master/roles/xtesting-onap-vnf "File and templates of service descriptions" -- cgit 1.2.3-korg