aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/instantiate
AgeCommit message (Collapse)AuthorFilesLines
2024-02-13Merge "Enhanced SDNC status check and SDNC distribution check"Micha? Jagie??o1-3/+14
2024-02-12Enhanced SDNC status check and SDNC distribution checkLukasz Rajewski1-3/+14
Enhanced SDNC status check and SDNC distribution check Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I4ed88c73251c5569bc6bc0ea9a4a4737ca903d93
2024-02-12Cleanup SO instance before instantationLukasz Rajewski2-20/+67
Cleanup SO instance before instantation Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: If38938a4ce949eda3c8c91c3a1e38090dc986508
2024-02-12Improve verification of distribution statusLukasz Rajewski2-49/+10
- distribution excluded from instantiation - more steps to get details of error Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2770a4d6ec6887b6e7b54e31ee4979c2b18e5d20
2024-02-06Fixed wrong names of settings in sdnc serviceLukasz Rajewski1-4/+4
Fixed wrong names of settings in sdnc service Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Id322472a72235715d75566f3389b9cdc6857f654
2024-02-06Enable SDNC DB connection check and healtcheckLukasz Rajewski3-7/+132
Use also SDNC check before SO instantiate calls Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I7c9d3fd4136cc620b931b89275b4021bd93171ba
2024-01-31Changes in the packages sort orderLukasz Rajewski7-23/+24
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I9f8ac40254e6a052c4b3ced5b05e21d7e84fa37f
2024-01-29Enhanced validation of configuration of all testsLukasz Rajewski7-118/+49
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2e4ef6365b44c33f4c0b3e72886a83f92c63e2f3
2024-01-22Improved cleanup of service instances for failed casesLukasz Rajewski5-156/+65
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I348fc625a8cd2ac7c2ee506f996a506c5a4bf4f3
2023-10-19Make pnf-simulator helm chart configurableMichal Jagiello1-1/+2
PNF simulator couldn't be configured on demand (e.g. image couldn't be changed) That version allows override values and run customized version of pnf-simulator Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ic18bdaeaa782b61478579056d5ba1a893087d85c
2023-08-08Fix pylama errorsMichal Jagiello1-1/+3
Some new code was not checked by pylama and we have new errors Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5e92f0bbbafedc8852599eb3fb3423509c3e0d12
2023-08-08Simplify PNF Macro VES Send processLukasz Rajewski1-0/+68
Issue-ID: TEST-404 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I7b3fd8f4bd96ff02dadf2662a1a16079a00fb1d0
2023-08-05Change cleanup process of testsLukasz Rajewski8-55/+51
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Iffe3aeaa4eab6adcabc94d143d1f94a684cd4657
2023-07-17Add pylama into checksMichal Jagiello6-38/+67
Checks code with pylama Issue-ID: INT-2222 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If275ef90f21e3049abe72bcf373473b40846005c
2023-06-15Enhanced SDNC test to cover SVC logic checkLukasz Rajewski1-26/+148
Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I1e49e8652d06b4c0147e8e1280ccbac9af83b8d4
2023-05-31Create SDNC Sanity testAleksandr Taranov1-0/+104
Issue-ID: TEST-395 Signed-off-by: Aleksandr Taranov <aleksandr.taranov@telekom.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2a035beb74510013eb8e04aecd90c648af77fe28
2023-03-29Test pnf_macro fixMichal Jagiello1-5/+5
Configure and check service distribuiton for 30 minutes Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I316a3e5c179530ba92c87c43795643e9faf30048
2023-03-10Bump version of onapsdk and use k8s plugin (not via msb)Michal Jagiello2-2/+2
The newest version of onapsdk fix some bugs but most important it uses k8s plugin API and not MSB (which is deprecated) Issue-ID: OOM-3117 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I56d43dff41b0762b983e59d9f364b3c8c8226537
2022-01-12[TEST] Basic CNF macroLukasz Rajewski6-23/+23
Basic CNF macro added with refactoring that enables debugging under IDE Also SDK upgraded to 9.2 what required adaptation in existing tests Issue-ID: TEST-376 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I697857bc0c13e86b88b71c3b46e0c4b59751939c Signed-off-by: mrichomme <morgan.richomme@orange.com>
2021-12-14[TEST] Do not create simulators in "onap" namespaceMichal Jagiello2-4/+4
As described in ticket - that resource shouldn't be created in onap namespace because if it's not properly deleted it has impact on the security tests results. Note: That change doesn't require any additional work in lab preparation - the namespace is going to be created by MSB K8S plugin. Issue-ID: TEST-356 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I0acf6262e3c8c9fbe9113d96e62960ce36ece04c
2021-10-19[TEST] Added support for multi-vnf macro instantiationJulien Fontaine5-17/+64
Decoupled service YAML template into a model YAML template and a (SO) service YAML template. Model YAML template will be used during the onboarding steps and service YAML template will be used to generate payload when sending instantiation request to SO. Service YAML template reference model name to use for its VNF/VF-Modules using "model_name" field. This provide more flexibility to design the testcase and enables to setup more complex testcases like instantiating several VNF/VF-MOdules using the same SDC model infos. This patch aims to provide backward compatibility for existing testcases based on YAML template. Issue-ID: TEST-358 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: I69d370eff4d383d5af135206476c65e4a56e4ee5
2021-10-17[INTEGRATION] Use the newest onapsdk (9.0.0)Michal Jagiello6-32/+19
Issue-ID: INT-1994 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I3b6e04f5c89265f16674a66317faddee4c9597ab
2021-09-27[TEST] Do not use VID API in testsMichal Jagiello1-2/+2
VID is going to be removed on Istanbul release so in tests we shouldn't use any of it's API. PythonSDK code requires some of the VID package classes for instantiation, but it requires just class instances and not the already created resources. Issue-ID: TEST-364 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie3822dbb9981f382a94cc7ffd0e1917682bc78ae
2021-08-25[TEST] Unwind master back to 27.07.2020Krzysztof Opasiak1-35/+3
Unwind master due to regression in few tests. Issue-ID: OOM-1 Change-Id: I3b759a5928aeb47fc7fddeaa5998aa090d085c5c Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-08-19Merge "[TEST] Additional cleanup before MSB K8S instance creation"Lukasz Rajewski1-3/+35
2021-08-03[TEST] Additional cleanup before MSB K8S instance creationMichal Jagiello1-3/+35
Issue-ID: TEST-354 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I507e15fb89eb019508387284f8ed76075709cf13
2021-07-27Change rb-definition-version identifierLukasz Rajewski1-2/+2
Change rb-definition-version identifier. As a consequnece the vf-module-model-customization-uuid will be used to identify the version of the rb definition. In consequence the profiling mechanism use may be affected. Issue-ID: MULTICLOUD-1377 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ib7fd12be4b728e7bed79513a2008a28a61e12482
2021-07-26[TEST] Use the newest ONAP SDK versionMichal Jagiello5-5/+5
Use `a_la_carte` flag in vnf and vf_module SO deletion Issue-ID: TEST-352 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6db6bfa28dfe17fb1a1eac7021f941490a73bb6f
2021-04-02Basic VM macroMichal Jagiello1-16/+31
Issue-ID: INT-1894 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Idd977cf3082587746fe27718a284197fda4afe5c
2021-03-19Timeout on orchestration requestsMichal Jagiello5-47/+73
Use wait_for_finish method to raise an exception if orchestration requests took more than 10 minutes Issue-ID: TEST-316 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I0d82d91b0f7104caf32e5905d5950047d7551a7b
2021-02-16[TEST] Collect steps cleanup reportsMichal Jagiello7-3/+7
Collect reports of steps cleanup and present them in report Issue-ID: TEST-305 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie288c85a381c6c53e7ffeb441f07e474a135c42d
2021-02-08Python SDK 7.4.0 compatibilityMichal Jagiello3-5/+8
Use Python SDK exceptions. Issue-ID: TEST-302 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I76996817c0d7b91c0214ad521c3768682ff07e83
2021-01-25PNF simulator CNF instantiation and registation stepsMichal Jagiello1-0/+45
Use CNF of PNF simulator in pnf_macro scenario Issue-ID: INT-1822 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id7f70b45219a36b7fc70921a1438b0cbe57a1756
2020-12-16PNF macro instantiationMichal Jagiello1-0/+203
Issue-ID: TEST-280 Change-Id: I6d18b90c3f4c66ddf8c9a4ebe3de7182481e331f Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2020-11-04Integration tests report enrichmentMichal Jagiello5-0/+58
Improve the step description for better reporting Add duration step in pythonsdk-test reporting Issue-ID: TEST-271 Issue-ID: TEST-272 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6d46cb38ae236bc578eb15982c2c0b8f2b0c0791
2020-10-21Usecase basic_cnf: remaining errorsThierry Hardy2-2/+2
Error in cleanup phase for all usecases Missing variables in settings for basic_cnf Issue-ID: TEST-243 Signed-off-by: jardellos <thierry.hardy@orange.com> Change-Id: Ic10fc2ae2361f82192a403cf06ee5d8031599acb
2020-10-17Fix nit in vf module cleanupmorganrOL1-1/+1
Issue-ID: TEST-254 Signed-off-by: morganrOL <morgan.richomme@orange.com> Change-Id: Ie59ba7935119f193a1f4cba2f0a5722ed1783441
2020-10-16Revert "Revert "Create basic_cnf test leveraging onapsdk""Thierry Hardy4-7/+184
This reverts commit ded9ae3b507b9687a68cc00dfc75e13130be13ff. Reason for revert: ONAP SDK 7.1 version is released Correction hardcode value (k8s) and onapsdk version to 7.1.0 Issue-ID: TEST-243 Change-Id: I535af4298f79a34476074612079dc479d2fc0b61 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
2020-10-16Added basic_network testcaseandreasgeissler1-0/+153
Issue-ID: TEST-255 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I86b34c0980cee7a5824231591a60d1f50dfe4f37 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-14Improve xtesting integrationmrichomme3-7/+10
All the exceptions shall be caught by the use case Issue-ID: TEST-257 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ie2762ad869d8984ce2125db4a8ef4990ee50f82a Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-13Revert "Create basic_cnf test leveraging onapsdk"Morgan Richomme4-177/+7
This reverts commit 0123c525b0182a5d6f9cd1bee3830eb1956239c7. Reason for revert: <it is breaking basic_vm because ModuleNotFoundError: No module named 'onapsdk.msb.k8s' > Issue-ID: TEST-243 Change-Id: Iaf398a11b296b2c2bf55d9a25a588cd32e44077a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2020-10-08Create basic_cnf test leveraging onapsdkThierry Hardy4-7/+177
Add the scenario basic_cnf that uses multicloud-k8s plugin to instantiate cnf on k8s Add the removal of profile in cleanup part Add store_state Issue-ID: TEST-243 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com> Change-Id: Ib743c259decf95cdc69975e1ef7d4ba7aadccfae
2020-10-06Collect steps execution resultMichal Jagiello3-0/+4
Create a decorator to collect step execution result and store them in storage class. Storage class prepare a dictionary with step class name and execution result. Issue-ID: INT-1733 Change-Id: I9c4030a0740085a9acca461c1581683c469ecbcf Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2020-09-25Wait for distribution before launching the instantiationmrichomme1-0/+24
Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ib4fbd3d6b8eb870afd45ae88206ae57d142cf8e0 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-18Allows to launch only instantiationThierry Hardy1-5/+6
It is requested to be able to launch instantiation without performing again onboarding and cloud configuration steps. Issue-ID: TEST-254 Signed-off-by: jardellos <thierry.hardy@orange.com> Change-Id: I4e25a0cc4c9e195ed26c96f15ac5ae9a36ec9bfb
2020-09-16Add cleanup functionmrichomme3-9/+116
Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I784e958f869a0cbee702c915509fe80d37d44b65 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-10Updated yaml-based instantiation and MultiCloud registryandreasgeissler3-7/+23
Correction for linter and updated run script Issue-ID: TEST-256 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: Ia1f6f41f8fc6ed74c836ea7aa987f10487f377a6
2020-09-08Support non multicloud configurationmrichomme1-1/+6
Add tenant and availability zone manually It is done by multicloud in multicloud mode Use settings.py as the main settings and specific settings per use case Issue-ID: TEST-256 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I3a66a8416cddb546780f784568e7a88f2bd1781b Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-08-24First proposal for the structure for pythonsdk based scenariosMichal Jagiello4-0/+376
Issue-ID: TEST-240 Change-Id: Ic989b26442b868363af7b3872bff49dd70d78be0 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>