aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-10Replace deprecated "with_items" with loopsPawel Wieczorek7-9/+7
As of Ansible 2.5+, the recommended way to perform loops is to use the new "loop" keyword instead of "with_*" style loops [1]. This issue was reported by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> [1] https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html Issue-ID: INT-1601 Change-Id: Icf9079fc5c22ac034631397ea46d2b03fb4298ab Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-07Add versions of tools used during verificationPawel Wieczorek3-6/+6
Issue-ID: INT-1601 Change-Id: I3ff59402627e679a6a5dcdb5a64f2d04d1df09cf Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-06Manual revert of kubernetes version in rke scriptsmrichomme1-1/+1
- 1.15.11 not supported - 1.15.3 is OK on Nokia lab - OOM reco is 1.15.x up to frankfurt Impossible to revert through gerrit Do it manually Issue-ID: INT-1677 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I67f8f65aab4d77f8c341b10c195c86a2f8be8901
2020-08-05Update Kubernetes rke versionmrichomme1-1/+1
it remained in 1.15.3 on windriver lab It shall be 1.15.11 Issue-ID: INT-1677 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I889cb52ec4d41929b56ae8416584d73430a5bd59 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-07-30Use external volumes for OpenStack virtual machinesPawel Wieczorek3-0/+10
This allows easier storage quota changes (without the need to modify flavors). Issue-ID: INT-1601 Change-Id: I0fe7557ff6f23eb0e29314ee0d4819893583a294 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add hosts configuration for Service Mesh ONAPPawel Wieczorek2-0/+54
Added configuration resembles set of instances already in use for Service Mesh Proof-of-Concept purposes. Floating IPs were disabled on Worker and NFS nodes to limit resource usage. Issue-ID: INT-1601 Change-Id: Ie575c37344da21e71a8e0803e2e5bd2db18d9290 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Make Vagrant-based environment safe defaultsPawel Wieczorek2-19/+20
Having a symlink instead of actual file allows having less changes between upstream repository and on-premise deployment. This patch does not affect development environment in any way. Issue-ID: INT-1601 Change-Id: I489c7ce7084d48ba03962e44d64f56c316bcc56a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add separate NICs to access OpenStack virtual machinesPawel Wieczorek2-0/+4
Dedicated network interface is recommended for accessing OpenStack guest instances [1]. With current Vagrant-based environment "eth2" interface is expected to be assigned as additional NIC (with "eth0" for Vagrant host network and "eth1" for Ansible management network). [1] https://docs.openstack.org/devstack/latest/networking.html Issue-ID: INT-1601 Change-Id: I3798f94db476eef77d02e6f8f7e078fc4b4e7622 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack security groupsPawel Wieczorek14-0/+85
Additional OpenStack security group and its rules are required to allow traffic to virtual machines created on DevStack. Virtual machines will be accessible from 172.24.4.0/24 network (default public IP pool). Issue-ID: INT-1601 Change-Id: I902f64f542197e329e21790f98662d2e408d4bb6 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack hostsPawel Wieczorek21-1/+156
Key pair is generated upon host creation and removed after the host is destroyed. This patch is based on previous work by: Krzysztof Opasiak <k.opasiak@samsung.com> Issue-ID: INT-1601 Change-Id: I9acd0b68a3ee79a0d710c40e0a1cc8470dfacce5 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack networkPawel Wieczorek19-1/+171
This patch also adds Vagrant provisioners for creating and destroying OpenStack infrastructure. These are set to never run (unless explicitly called by the operator) because DevStack instance on a separate machine might not be ready to provide OpenStack API. This patch is based on previous work by: Krzysztof Opasiak <k.opasiak@samsung.com> Test harness is based on blog post [1] by: Chris Morgan <me@chrismorgan.info> [1] https://chrismorgan.info/blog/make-and-git-diff-test-harness Issue-ID: INT-1601 Change-Id: I031ca7a5a43cca0258dc0dc9e0339182c431898a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Vagrant-based development environmentPawel Wieczorek5-0/+154
Development guide ("HACKING") is subject to change based on gathered feedback. Issue-ID: INT-1601 Change-Id: I8988c8a6e85d215485666690e0c281412a1ce869 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Introduce ONAP CI Lab infrastructure setup guidePawel Wieczorek3-0/+48
This patch adds requirements to the parent README file. This will be changed to ".. include" directive once these READMEs are ready to be added to the Integration documentation. Issue-ID: INT-1601 Change-Id: I5bc2aba03689ea2547e713491a62947a54558095 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-29Introduce ONAP CI Lab setup guidePawel Wieczorek3-0/+26
This patch adds information on expected results from following the guide. It will be used for Service Mesh lab purposes. Issue-ID: INT-1601 Change-Id: I26decb9d785270b3c580bd0ce3cc97262c9a171a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-29Adjust DFC test files to use FTPES instead of FTPSRemigiusz Janeczek33-790/+822
DFC doesn't support FTPS protocol. FTPS is treated exactly like FTPES and soon DFC won't accept file locations starting with "ftps://". Fix mr-sim.py lint issues Issue-ID: DCAEGEN2-2367 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Idab56aab3bdb6734a04bfc9c9212f2ea800d0d74
2020-07-28Import upstream component version inspection toolPawel Wieczorek16-0/+1360
This patch adds utility to check versions of binaries available in Docker containers run on Kubernetes cluster. It has been contributed by: kkkk-k <kkkk.k@samsung.com> Several minor changes were made to comply with ONAP CI linter rules. Issue-ID: INT-1571 Change-Id: Id0e4b557212dec1bf8d2bac580968d69e2cf5595 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-27Fix vsftpd config setupBartek Grzybowski2-4/+4
Change-Id: I3a178c09cfb0aeae6f32925898b1a38080e981e0 Issue-ID: INT-1662 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-27Add README fileBartek Grzybowski1-0/+58
Change-Id: Id6ad15ca3bde209f3c5c68977098a2280992cd1f Issue-ID: INT-1663 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-27Add HOT parameters for the simulatorBartek Grzybowski3-4/+38
Run simulator instances from runner script Change-Id: I9d9a317c378a84b1846821916fee5f47452944c5 Issue-ID: INT-1662 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-27Setup build env on instanceBartek Grzybowski1-0/+5
Required to build simulator image Change-Id: If323b9cd8c76eaba3a16dc588382f1c86e15f1b1 Issue-ID: INT-1661 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-27Setup runner script for the simulator in HOTBartek Grzybowski3-2/+35
This adds shell runner script and HOT setup to deploy and run it. Change-Id: I88b9b516f38dac789da1caa050192358829e9357 Issue-ID: INT-1661 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-24Update tls-init-containerRemigiusz Janeczek1-1/+1
Previous tls-init-container supplies outdated certificates Issue-ID: DCAEGEN2-2367 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ib1b4c3fa097e17a06dfc85aa0059879b53cd6624
2020-07-20[PMSHSIM] Refactoring pmsh-pnf-simefiacor12-86/+252
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I40834e906fcc5f33c6e70fb3d3da886a7ee0d521 Issue-ID: INT-1657
2020-07-14Add sftp strict host key checking to DFC consul configsRemigiusz Janeczek13-0/+45
Issue-ID: DCAEGEN2-2219 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I93b673bc947edaeff57a19bda822f6ed70521b87
2020-07-09Update release notes for Frankfurt Maintenance releasemrichomme11-64/+82
update testsuite 1.6.4 fix foc links (submodules lead to broken links) Issue-ID: INT-1652 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Id83b1b589216317cd755f9d2eb844c6dfb1029c9
2020-07-06Fix check certification python pakagingmrichomme2-0/+2
- include jinja2 tempalte (__init.py) - include xfail list (scripts in setup.cfg) Issue-ID: INT-1570 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I08d1229c939b64aa8e920f75ea05a8aa0404a4c5
2020-07-03Add basic cloud-init setup for the simulator instanceBartek Grzybowski2-0/+27
Change-Id: I456358ac26e4ab02d5989a9505541721553034fe Issue-ID: INT-1649 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-03Create basic Heat templateBartek Grzybowski2-0/+55
Basic HOT template to deploy simulator to OpenStack Change-Id: Ic862239c888ba75578b9cc0d3ee8d6e756d72589 Issue-ID: INT-1641 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-03Initiate check certificate validity testmrichomme9-0/+686
Issue-ID: INT-1570 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I9794ec17a254ac21e87e3a251b6cad849a763742 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-07-03Update Operation box in Vagrant environmentPawel Wieczorek1-1/+6
Currently developed upstream components version verification tool requires modern execution environment (Python 3.7+) which was not available in previously used Vagrant box. Upgrading only Operation box to Ubuntu Focal (20.04) does not affect ONAP cluster in any way - cluster still runs on Ubuntu Bionic (18.04). Issue-ID: INT-1571 Change-Id: I51c68723aa0c0b65dcaa7a199316e33a4ece18ff Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-02netconf-pnp-simulator: fix supervisor patching failureebo2-2/+3
Issue-ID: INT-1639 Change-Id: I28980712fc4b4bff6100ba97489958c0428be26d Signed-off-by: ebo <eliezio.oliveira@est.tech>
2020-07-02Create runtime setup for the scriptBartek Grzybowski4-5/+44
Change-Id: I1a1207173b065c3b88b4b62e134c2fda33e0e6ec Issue-ID: INT-1642 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-02Fix --conf option validationBartek Grzybowski1-7/+9
Native Argparse library facility is used to validate the --conf option value. In case of invalid value error msg is printed together with usage info. Change-Id: I43aee892699c8238176b19a5148d217b3d16102c Issue-ID: INT-1643 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-02Add compare NodePort and Ingress scanLucjan Bryndza1-6/+75
Add compare NodePort and Ingress scan to the ONAP port scanner. Extra option --scan-and-compare scan cluster using NodePort and Ingress and finally compare the results of both scans. Change-Id: Ie480f068c2bda530c8be76c3d8d70d92f7c5b392 Issue-ID: OOM-2437 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2020-07-01Fix ingress default http and https portsLucjan Bryndza1-2/+4
Change ingress http and https port in the ingress controller default port configuration. Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2434 Change-Id: Ic354510006d9f2d5d56f377d8f628e55a1a4b869 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2020-06-18Start/stop the 3GPP measurements file generator at simulator start/stopBartek Grzybowski2-6/+21
Change-Id: I6976168afc7cad2a44333e33632775dbb63aec12 Issue-ID: INT-1630 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-17Pass options to each lifecycle method separatelyBartek Grzybowski4-39/+53
This makes the MassPnfSim object instance stateless. Change-Id: Ic8f7aefa0afb74a15491b5b0e8ba1cb80e3aa3ef Issue-ID: INT-1629 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-17Validate the subcommands on each instance method invocationBartek Grzybowski1-20/+33
Change-Id: I22d6d6ef47ae99a7b2ad7f3e1407e0a49c48c953 Issue-ID: INT-1629 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-17Remove the existing_sim_instances instance attributeBartek Grzybowski1-8/+7
Existing simulator instances should be enumerated on each call to helper function, not statically in constructor. Change-Id: I93b7ac11e9dc99ce9d3727d577f057b1469a9439 Issue-ID: INT-1629 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-16Support setting custom username/password for the file server serviceBartek Grzybowski8-14/+28
Change-Id: I21964c4b8819444dd0aebdda117a11ba96f92038 Issue-ID: INT-1627 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-15Drop shell wrapper for docker compose operationsBartek Grzybowski1-19/+0
Docker-compose configuration is already natively supported within MassPnfSim module. Change-Id: I26995126d8a26437821f0f8b254ff82752041b55 Issue-ID: INT-1623 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-15Run the 3GPP measurements file generator in bootstrap phaseBartek Grzybowski2-3/+5
Change-Id: I310acb354003e678020935017d0778f75e7db07f Issue-ID: INT-1623 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-15Generate vsftpd config file in bootstrap phaseBartek Grzybowski2-5/+13
Change-Id: I963ff2ed9dd79f36c8fcb4e19529c4b549f92823 Issue-ID: INT-1621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-15Make the config generation private method more genericBartek Grzybowski1-14/+15
Change-Id: I2a0b9ef8eb304cfd088cd3a7dc4c61aaf54504c4 Issue-ID: INT-1621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-15Update release note to include demo artifactsmrichomme1-0/+16
Issue-ID: INT-1625 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ida256bb52d8d6c9251e3bb08c71d30c5273f72b8 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-06-13OUpdate OOF_SON use case documentationReshmasree1-2/+19
Issue-ID: INT-1626 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com> Change-Id: I5b92f7522a6564556184110b7dd5660c9ad278bf
2020-06-12Allow using separate storage pool for Vagrant-based minimal ONAP deploymentPawel Wieczorek1-4/+10
Vagrant-based minimal ONAP deployment requires at least 160GiB of storage space. It is useful to be able to relocate Vagrant machines to separate storage pools (e.g. on various storage devices). Issue-ID: ONAPARC-551 Change-Id: I3f81c20f61264b958e121cf46f7b4354f04dc20c Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-06-12Adjust default storage device argument on Vagrant-based minimal ONAP deploymentPawel Wieczorek1-1/+1
Default storage device changed in Vagrant box "generic/ubuntu1804" after updating the libvirt disk bus to "virtio"; details: https://github.com/lavabit/robox/commit/ca3b82d00c770ff70283d4d4d22f60a8ae363b0f Issue-ID: ONAPARC-551 Change-Id: Ib8ab062f5e32f625148ed45c58985549857309ae Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-06-12Increase Helm timeout on Vagrant-based minimal ONAP deploymentPawel Wieczorek1-1/+1
Previously set 15 minutes are not sufficient anymore. Issue-ID: ONAPARC-551 Change-Id: I91df2c1afdcfa6c276bbe4817a4fe16eb6723469 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-06-12Set masterPassword on Vagrant-based minimal ONAP deploymentPawel Wieczorek1-1/+5
Variable "global.masterPassword" is used instead of hardcoded passwords. Sample value provided in Vagrantfile should be used for evaluation purposes only! Issue-ID: ONAPARC-551 Change-Id: I72c565ec27dfb33d55810383c632adb9d886e689 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>