aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-02Add setup for YAML/JSON files lintingBartek Grzybowski3-0/+63
Tox based setup for running linters on YAML and JSON files. It can be run manually to verify local changes in _commited_ files. Relevant CI job (created at Change-Id: I4f130f6c68222d53dcf022f3fd4a2b41765eaf45) triggered by change to any of yaml/json files leverages this setup to run verify tasks. Change-Id: I07845e3771c0246847184217a96dc90764595f17 Issue-ID: INT-1427 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
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 deploymentBartek Grzybowski2-40/+59
This is needed prior to adding job for JSON files linting in CI. Change-Id: I122783267f75b385f9f2ceee6381eb7331aadaf5 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-03-02Fix JSON files linter issues in docsBartek Grzybowski5-631/+736
This is needed prior to adding job for JSON files linting in CI. Change-Id: I80c967f4657fb80f1bc1f124a48295170ff44b8e Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
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-28Update integration-overrideMarco Platania1-2/+6
Issue-ID: INT-1462 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Ia9774f37b8b5288d4cdf59cd5457c6f1ad318f6c
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-25Update docker image versions in override fileMarco Platania1-26/+31
Issue-ID: INT-1414 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I1132f9d4938338868eac75f8a092de9e560950ae
2020-02-21Fix YAML linter indentation errors in yaml filesBartek Grzybowski14-800/+800
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 Grzybowski3-3/+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 Grzybowski11-165/+157
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 Grzybowski8-187/+187
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 Grzybowski9-9/+9
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-14[INT-1437] : Incorrect characters causing issuesDarraghEgan1-84/+85
The policy section in the file ~/integration/deployment/heat/onap-rke/staging-image-override.yaml has the wrong space characters/tabs that is causing some issues for parsing the yaml file. Issue-ID: INT-1437 Signed-off-by: DarraghEgan <darragh.egan@est.tech> Change-Id: I5cc683e12e4bca29f8740ad6b43b2ee8a8414fa1
2020-02-13Migrate integration docsJessica Wagantall9-0/+145
Merging this will create https://onap-integration.readthedocs.io This build will run in parallel to the current docs generation method until we are ready to cut over. Issue-ID: CIMAN-364 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I41af18139b0e2fc20e3d86bc03e0331ea4b3058f
2020-02-11Fix invalid dash character for verbose flagBin Yang1-2/+2
Change-Id: I0c816265c88e28a2f32e5c53afae51c18aa14b10 Issue-ID: INT-1217 Signed-off-by: Bin Yang <bin.yang@windriver.com>
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-07[VVP] parameterizing devstack branch for installstark, steven6-18/+18
- Also modifying default storage class override logic Issue-ID: INT-1424 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: If8981f3a59437e21617edb30a6bca06ee6fa36a2
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 Grzybowski2-0/+16
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-02-05Use ONAP core deployment type override in minimal Vagrant environmentPawel Wieczorek2-18/+22
Core deployment type is a subset of previously used minimal override to make ONAP deployment even lighter on resources. It has been merged in OOM as: d7c495eeeaa3c24d355b9214bc7d0e59be9dd70e (Change-Id: Ibaec41f088f11f7fb4e7c476f742d12d29c5740b). This patch also updates documentation on resources required by this setup and adds example usage of Operator's tools. Issue-ID: ONAPARC-551 Change-Id: Ifdb1d158311ba3ed0b5cf407d07ce028d1a0162f Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.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-29Add minimal Vagrant environment actual quickstart documentationPawel Wieczorek1-0/+24
Issue-ID: ONAPARC-551 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com> Change-Id: I0e308d4486dfaa51e54bf69f79b85243766c397a
2020-01-29Make cluster removal fail softlyPawel Wieczorek1-1/+1
VM destruction ("vagrant destroy") failed in case RKE cluster had not been set up properly. Initial intention for this trigger was to leave Control and Worker VMs provisioned even if Operator VM is destroyed. Issue-ID: ONAPARC-551 Change-Id: I2b47c539e2517a7c72675924731a0186d1ae25c0 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Increase minimal Worker storage sizePawel Wieczorek1-5/+45
At least 40GiB disk is required for Worker VM to store all necessary Docker images, otherwise it runs out of storage. VM resize can be done only during its creation (see "machine_virtual_size" [1]). VM data hashes no longer fitted in single lines nicely, hence they were broken into several lines. [1] https://github.com/vagrant-libvirt/vagrant-libvirt#domain-specific-options Issue-ID: ONAPARC-551 Change-Id: Ib267fd8097b51f53565e0c8f3be7c86c2b3c68ad Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Modify minimal Vagrant environment resourcesPawel Wieczorek2-7/+7
Previously allocated resources were underestimated. Devstack resources will remain lowered until core ONAP instance is stabilized. Issue-ID: ONAPARC-551 Change-Id: Id4eb6b2318b71b162f6a1ed6208482ebeb31fe5a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Increase inline provisioners configurabilityPawel Wieczorek1-5/+10
Scripts "get_oom" and "deploy_onap" are more useful if an additional parameter is accepted: external repository and deployment override, respectively. These parameteres will make testing easier and allow improving this setup quicker. Previous behaviour stays as it was using default argument values. Changes in their invocations were meant to make ad-hoc modifications more explicit. SSH configuration from host machine is synchronized in case additional access rights are necessary. Issue-ID: ONAPARC-551 Change-Id: I585586f721457388ab30b089f2c25c4ad88ad4d3 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Ignore reverse-SSHFS mountpoint from file synchronizationPawel Wieczorek1-1/+1
This patch intends to avoid attempts to synchronize files to the VM that have been mounted from it. Issue-ID: ONAPARC-551 Change-Id: Ida9b13c5f109d3a05dd35e68f17e7898f23750c5 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Add reverse-SSHFS-based file synchronization documentationPawel Wieczorek1-0/+8
Issue-ID: ONAPARC-551 Change-Id: Ic22d32998ad0fc29867116827679e4c4181ba596 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Update APPC image tagMarco Platania1-2/+2
Issue-ID: INT-1414 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Id532a57a1be0207cca90a9c2b3c111f191f0062e
2020-01-29Update vCPE doc with cloud settings detailsBartek Grzybowski1-10/+2
Change-Id: Ie5dc08f9ac5f96ccec7520949c26c6c2687bf7e1 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1409
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-23[INT] updating devstack install to use py3stark, steven1-1/+4
- also fixing nova.conf post-config section Issue-ID: INT-1419 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I9d4cfdf3d386a693e27c869a1326a80572a12323