aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
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-16Update docker images in integration overrideMarco Platania1-21/+21
Issue-ID: INT-1414 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Iabc25330dd803bedcaa8c321b5ff45619782884e
2020-01-16Add reverse-SSHFS-based file synchronization from Operator's machinePawel Wieczorek2-0/+6
This patch also introduces (almost) empty directory to the repository as a mountpoint for the synchronized files. Additional flag ("nonempty") is passed upon mounting directory to ignore the sole file there ("operator/.gitignore"). Issue-ID: ONAPARC-551 Change-Id: I9187325a08cccb98b7335fcb320c2004ed26e7f3 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-15Add minimal Vagrant environment development documentationPawel Wieczorek1-0/+20
Issue-ID: ONAPARC-551 Change-Id: I1a6f6b998df755734a9c32fbe86473a72a45aae0 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-14Integration doc for 5g pnp pnf use caseKrzysztof Kuzmicki1-1/+1
Issue-ID: INT-1333 Signed-off-by: krzysztof kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: Ic75ae09374ea806ea67526fba624c7a654c0aa10
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-13Add minimal Vagrant environment usage documentationPawel Wieczorek1-1/+14
This patch also clarifies which virtual machines are created within this Vagrant environment. Issue-ID: ONAPARC-551 Change-Id: I2ece1bbf77b147c74f745ddfb26bf80143ac95ab Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-10Ensure Helm directory presence prior its first usePawel Wieczorek1-1/+1
It is required for plugins that are installed by copying sources to the Helm directory. Issue-ID: INT-1405 Change-Id: I4ed2708f4af1d745b7e1ffc687ae9674682c374d Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-10Add Hound code search environment quickstart documentationPawel Wieczorek1-0/+56
Issue-ID: ONAPARC-540 Change-Id: I618fcd994f2c6575ee4e388a78606ec59ec4fd02 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-10Update vCPE docs with script configuration detailsBartek Grzybowski1-16/+15
Change-Id: I691a2ea3e51d76c8baf56818a9dc92d43e30e5a4 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
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
2020-01-07Add support for using SSHPawel Wieczorek2-23/+54
This patch changes "create_config.py" script interface and its behaviour: * by default anonymous Gerrit is used for repository cloning and code URLS, * external git mirror for code URLs might be provided but there is no default one, * SSH credentials might be provided for repository cloning. Cloning repository using SSH is required due to current ONAP infrastructure HTTPS bandwidth constraints. User wishing to use this setup should provide two environmental variables: 1) API_USER - Gerrit username for cloning repositories via SSH 2) API_KEY - Gerrit API key (User menu -> Settings -> HTTP Credentials) Be aware that a new RSA key will be generated and added to the user's Gerrit account for purposes of Hound code search operation inside a VM. Do remember to delete it (User menu -> Settings -> SSH keys) after evaluating this environment. Issue-ID: ONAPARC-540 Change-Id: I3e98dfa8582322d5b3bbbbf377d748faea0da57b Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Run Hound code search as tmux sessionPawel Wieczorek1-2/+8
Code search service can be accessed from host using forwarded port (i.e. at "localhost:6080"). Issue-ID: ONAPARC-540 Change-Id: Ia94956cfeca0af12a0f52ea43abae353c0ba8b1a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Add support for using gitwebPawel Wieczorek1-6/+27
There are projects which do not provide git mirror for code URLs apart from Gerrit's gitweb interface (e.g. OpenDaylight [1]). [1] https://www.opendaylight.org Issue-ID: ONAPARC-540 Change-Id: I48c26b81f4886a12e5cdc4dfbfc99538f180449e Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Drop tool-specific naming convention (git hosting service)Pawel Wieczorek1-5/+5
Issue-ID: ONAPARC-540 Change-Id: Id1c8e94008752efd3d40d0e0eca44d81930c692a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Make Gerrit and cgit URLs configurablePawel Wieczorek1-7/+19
Issue-ID: ONAPARC-540 Change-Id: I3d7f04379e31ab73964b8cc6184ca2e4413acb7b Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Drop dictionary comprehension from repository list creationPawel Wieczorek1-1/+11
Complex is better than complicated. Issue-ID: ONAPARC-540 Change-Id: I6dbc03166496049e92ff9401450b3ac563b3fb38 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Replace URLs to Gerrit repositories with their cgit mirrorsPawel Wieczorek1-1/+2
Hound does not provide support for linking to source code in Gerrit repositories. Support for cgit mirrors can be achieved by using URL patterns. Issue-ID: ONAPARC-540 Change-Id: Ib73b768d8a636680ab7e4d8d42463a16a9f45275 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Add Hound code search configuration generatorPawel Wieczorek4-0/+67
Configuration is generated from Gerrit-supplied data. Issue-ID: ONAPARC-540 Change-Id: I84d5b87580882926b916ed20dbcd2369be4c77f4 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Add Vagrant environment for Hound code searchPawel Wieczorek1-0/+24
This patch adds build dependencies and builds Hound binaries. Issue-ID: ONAPARC-540 Change-Id: I37b263b3e0c93a9ec08458ec2e08edd75b33d7b4 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Describe purpose of Hound code search environmentPawel Wieczorek2-0/+18
Issue-ID: ONAPARC-540 Change-Id: Ie7db4cb6925501fd44dc0372f0a1305463a7e7cc Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-07Init new integration documentationmrichomme2-0/+39
Issue-ID: INT-1403 Change-Id: Ib4599fd3dfceae4ae03163bbf75c80ef5b79c3f6 Signed-off-by: mrichomme <morgan.richomme@orange.com>