aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2020-03-02Fix JSON files linter issues in test/mocks/pmsh-pnf-simBartek Grzybowski1-1/+34
This is needed prior to adding job for JSON files linting in CI. Change-Id: I7e7885840cfc51b4a556fe245fa2d69b88383216 Issue-ID: INT-1451 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-02Fix JSON files linter issues in test/hpa_automationBartek Grzybowski3-572/+509
This is needed prior to adding job for JSON files linting in CI. Change-Id: I86f68c5d25f5f521656995574bc516607f2160f4 Issue-ID: INT-1451 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-02Fix JSON files linter issues in test/mocks/datafilecollector-testharnessBartek Grzybowski12-57/+57
This is needed prior to adding job for JSON files linting in CI. Change-Id: I144873a8511f38a4336b73ac19276b213207a9fa Issue-ID: INT-1451 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-02Fix JSON files linter issues in test/mocks/emssimulatorBartek Grzybowski4-37/+37
This is needed prior to adding job for JSON files linting in CI. Change-Id: I15ae608c0b88b8eced6c9f53914bf42355c82c50 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-03-02Fix JSON files linter issues in test/mocks/mass-pnf-simBartek Grzybowski5-2404/+2711
This is needed prior to adding job for JSON files linting in CI. Change-Id: Ia71dd28061b5e84c36c81bc1432ccd39ca8cc73a Issue-ID: INT-1451 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-02Fix JSON files linter issues in test/mocks/pnfsimulatorBartek Grzybowski18-61/+68
This is needed prior to adding job for JSON files linting in CI. Change-Id: Ia5fadb693a74bc307d24c9de89131efcbb133ebe Issue-ID: INT-1451 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-02Fix JSON files linter issues in test/postmanBartek Grzybowski18-9946/+9946
This is needed prior to adding job for JSON files linting in CI. Change-Id: I6dfa144478c31702f5b306d9e2dad9bf0713a0fe Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-03-02Fix JSON files linter issues in test/vcpeBartek Grzybowski14-1594/+1619
This is needed prior to adding job for JSON files linting in CI. Change-Id: I408107e0dc58648f833b8d585acf0e414882c7dc Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-28Add PNF SW Upgrade moduleebo5-0/+327
This change contains only the module for the PNF SW Upgrade use case and a sample docker-compose.yml showing how to start the new simulator with this module attached. Issue-ID: INT-1124 Change-Id: Ic4cd07a3b1020fd4b6195bf2bc9fc95e4157baaf Signed-off-by: ebo <eliezio.oliveira@est.tech>
2020-02-28Add NETCONF PNF Simulator Engineebo23-0/+872
Issue-ID: INT-1124 Signed-off-by: ebo <eliezio.oliveira@est.tech> Change-Id: Ifb50a749992cbd662d579e1cb861bd8f55b3f808
2020-02-21Fix YAML linter indentation errors in yaml filesBartek Grzybowski8-71/+71
Change-Id: I5548de0d7afb0e249ab8b6dbc93c102a2a2ac648 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-21Fix YAML files linter errors for duplicated keysBartek Grzybowski1-1/+0
Change-Id: I77bcf667d4a639b001258d026f2633fce2bfb0e6 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-21Fix YAML files linter errors for superfluous spaces/new linesBartek Grzybowski8-161/+156
Change-Id: Id2b6b0966e07104b32c98053de04bd359dfef803 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-21Fix YAML files linter errors for trailing-spaces ruleBartek Grzybowski6-185/+185
Fixed files that had trailing spaces. Change-Id: I40782bc3a934846372653a0086f1c1fe50bc02c3 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-20Fix YAML files linter errors for new-line-at-end-of-file ruleBartek Grzybowski8-8/+8
Fixed files that lacked the end of file new line. Change-Id: I552f408b88a3a529e25236b7118be3b5a5741c7e Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-20Fix invalid escape sequence causing JSON validation failureBartek Grzybowski1-2/+2
Change-Id: I7f7cef9bb30ce19f21e0c8d308bfdf0a04427630 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1437
2020-02-10Delete obsolete "csit" directory from repoBartek Grzybowski1-2/+0
"csit" is now long time obsolete here and moved to it's own repo so removing dir to clean up. Change-Id: Ie18bc2aa3aae5ba1951111b9237ce516858d2df5 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1424
2020-02-07Add test to ensure all needed modules are provided by setuptoolsBartek Grzybowski1-0/+17
Change-Id: I592a6bf393007612c263f6e54aabfcdb6738141a Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1427
2020-02-07Add tox config for vcpe scriptsBartek Grzybowski1-0/+15
This is a basic setup for tox that will run pytest tests Change-Id: Icb15fbd30d7c13694866f447cd448a07195f4573 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1427
2020-02-07Define vcpe scripts dependencies via setuptools configBartek Grzybowski2-11/+45
Dependencies definition is moved to setuptools so that they can be consumed by both - vcpe automation scripts setup and by testing framwewok. Change-Id: Id9cfda52afc3527d2cd3be8cfcf3f82539468261 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1427
2020-02-07Fix DFC csit failurerajendrajaiswal1-1/+1
Change-Id: Iadf129b64c5ed6d51ce90666d23c7a4327e74991 Issue-ID: INT-1432 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
2020-01-29k8s: Drop support for CasablancaPawel Wieczorek12-467/+5
Casablanca release reached End of Life (EOL) stage on July 8th 2019 [1]. This patch also fixes comments for test fixtures. This whole test subtree will be deleted upon migrating Aquasec kube-bench [2] for CIS Benchmark [3] integrated by Orange [4] to ONAP xtesting [5]. [1] https://wiki.onap.org/display/DW/Long+Term+Roadmap [2] https://github.com/aquasecurity/kube-bench [3] https://www.cisecurity.org/benchmark/kubernetes/ [4] https://gitlab.com/Orange-OpenSource/lfn/onap/integration/xtesting [5] https://git.onap.org/integration/xtesting/ Issue-ID: SECCOM-235 Change-Id: Ifc7d9c775c27d4cfafdd1932809288530cffceff Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29k8s: Drop process name trimming from etcd on RKEPawel Wieczorek1-1/+5
Information for etcd extracted from container on a RKE-based cluster does not include process name. Issue-ID: SECCOM-235 Change-Id: Ie6aee550868431d5f4d27c3b3d262e17e1aa6156 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29k8s: Mock etcd information collectionPawel Wieczorek5-2/+42
Rancher does not provide information on etcd as container arguments. Its collection requires implementation of a new information extraction method. RKE does not include etcd process name in container arguments. Issue-ID: SECCOM-235 Change-Id: I7576474fb2848962360771d2850aeb3f3869790a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29k8s: Validate controller manager flags requiring appropriate valuesPawel Wieczorek3-0/+58
This patch verifies if CIS Kubernetes Benchmark v1.3.0 sections regarding master node configuration are satisfied (1.3.1 and 1.3.4 - 1.3.5). Issue-ID: SECCOM-235 Change-Id: I418034ea98423142f4875b97a8e6a22e8b4cd112 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Remove cloud settings from vcpeconfig.yamlBartek Grzybowski3-22/+27
Additionally clouds.yaml.example is provided with integration lab cloud settings. Change-Id: I214217e5b239303c4485c855cdf81bd0250de6e5 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1409
2020-01-29Support reading cloud settings from clouds.yamlBartek Grzybowski1-0/+31
clouds.yaml is a default cloud configuration file for openstacksdk library. Using it deduplicates cloud settings from vcpeconfig.yaml and makes CI setup easier. Change-Id: Iaf81bcaa3c27dae7c1619690da45e6b7feee7768 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1409
2020-01-28Extend label matching for cluster node's External IPPawel Wieczorek1-2/+2
This patch also fixes minor typo. Issue-ID: SECCOM-261 Change-Id: I4326106f14381ec652eb493bf0a87fb1d82ea3fb Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-27Added mTLS support in pnf simulatorwsliwka22-45/+262
Issue-ID: INT-1372 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I3bb0f3fe3849da0a72377fde5c974f4b30abd199
2020-01-27Latest changes to pnf simulatorwsliwka34-4724/+183
- replace cpp bindings by python - remove docker spotify plugin (no longer supported) - create own image for netopeer (with all packages installed upfront) Issue-ID: INT-1372 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I983c0eddf12fa589fbf3ad1ffbab2b36929c9ef0
2020-01-21PNF Simulator to support Control Loop subscription modelrajendrajaiswal9-0/+333
Change-Id: I9919edb32f3f68f86fad28c908f808fcee3fc548 Issue-ID: INT-1312 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
2020-01-14correct url in postman envRene_Robert1-100/+69
Issue-ID: INT-1340 Signed-off-by: Rene_Robert <rene.robert@orange.com> Change-Id: Ia67dbe0787cce1e07462a7c35b0e1ad0ea64b04a
2020-01-10Support setting custom path to config file in helper scriptsBartek Grzybowski2-2/+16
Change-Id: I43b160cfc3d087a0e8b70c9fb4cafa3626f84db8 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
2020-01-10Support setting custom path to config file in vcpe.pyBartek Grzybowski2-11/+16
Change-Id: I9ec950413f323e6ed6dfb075f16b67d925ece047 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
2020-01-10Use argparse library to parse command line optionsBartek Grzybowski1-27/+56
Change-Id: I75028c59109a9db902f7869ab1b987cc0c02e321 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
2020-01-10Fix VcpeCommon object instantiationBartek Grzybowski1-3/+1
Superfluous VcpeCommon object instantiation in 'test' routine in Preload class was removed. Removed meaningless vcpecommon namespace import. Change-Id: I68c8604b12ffc760ab8ed4c53af586a5ca2572c7 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
2020-01-10Add config for community lab running with OOM disabledBartek Grzybowski2-4/+74
Change-Id: Id23f6fa50fdbeb103fb91514d9093163d07b9246 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
2020-01-10Remove unreferenced aaiutil.py fileBartek Grzybowski1-0/+0
Change-Id: I69e1385e0b7ef51ed372387b08b5c59c4e52c66a Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
2020-01-08Move site specific properties to config fileBartek Grzybowski2-78/+79
Vcpe settings that were hardcoded in the VcpeCommon class definition are moved to a configuration file. Change-Id: I6733c6da5fc1977f67c4bd393bfa6fec0798971b Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
2020-01-08Support reading configuration from vcpeconfig.yamlBartek Grzybowski2-0/+30
Settings from config file will be assigned directly to VcpeCommon class' object attributes. Change-Id: I3cd31077c04de6bacf6dc2365837405a1aa5f6cc Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
2019-12-18Ingress controller and node port scannerLucjan Bryndza1-0/+266
This tool reads K8S NodePort and Ingress service configurations and scans for service availability Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Change-Id: Ie9681ffe957317ed1f1c77ac9d6c90d677df294b Issue-ID: OOM-2240 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-12-06Get VfModuleModelInvariantUuid from service csar at runtimeBartek Grzybowski2-11/+6
VfModuleModelInvariantUuid no longer needs manual assignment, it will be gathered from service csar at runtime. Change-Id: I5d0da822dd4ce7b574dae8ce80db2a2d1e5de297 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1389
2019-12-06Insert SDNC ip pool automatically only if oom_mode is enabledBartek Grzybowski1-11/+15
Change-Id: Ia1fe923f877cf76e51bcc1f23c9bf562a877b112 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-222
2019-12-06Insert vcpe customer service workflow into SO catalogdbBartek Grzybowski3-21/+27
Customer service workflow entry will be automatically inserted into catalogdb database if running with oom_mode set to True. So database endpoint properties were updated to reflect current catalogdb location. vCPE doc updated to reflect the changes made. Change-Id: I54ef0bf94ccf2d38501c1b854cafe4d388a4b35d Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-205
2019-12-03Configure netopeer to support mTLSwsliwka13-86/+350
Issue-ID: INT-1372 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I11281c2a0703b97e1075d01bba9ec076766daf0d
2019-11-27PNF Simulator/Netconf Simulator docker compose to use devel taggummar1-1/+1
Issue-ID: INT-1320 Signed-off-by: gummar <raj.gumma@est.tech> Change-Id: Iadc7a6bebef9302ae711a3227789f603f19270cd
2019-11-25Clean xtesting repo from integrationmrichomme4-228/+0
all xtesting activities should be in a dedicated respository Issue-ID: INT-1366 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Iec8fbf0b24eb18496a49eccb79af9fb85d29dc1f
2019-11-20Fix logic for finding brg vnf template fileBartek Grzybowski1-5/+13
Change-Id: I0e31cc0a0a71a08a74ec56f4aa17321eb8d8c7ba Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1345
2019-11-19Add identity-url to region data in AAIBartek Grzybowski4-0/+104
This change automates the process of updating region data with identity-url Change-Id: Ibda9ac8d1bbe1a489d496a5f293aafdebb73d416 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: SO-2308
2019-11-19Get the BRG MAC address automaticallyBartek Grzybowski2-10/+20
Sdnc db port was also adjusted as there's no sdnc-db service anymore (since OOM-1651) Change-Id: I154463224777f6fd76f5380253aa9130224fe3e4 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1365