aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2020-06-12Disable Helm charts linting on Vagrant-based minimal ONAP deploymentPawel Wieczorek1-2/+2
It is a workaround for Helm performance issue; details: https://github.com/helm/helm/issues/7656 Issue-ID: ONAPARC-551 Change-Id: Id163d0e181d0527f47efdd82899b5965794bde98 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-06-12Make Helm timeout adjustable on Vagrant-based minimal ONAP deploymentPawel Wieczorek1-1/+4
Issue-ID: ONAPARC-551 Change-Id: I3c1157e65fd63c73b3d8319bd7d8650593953f33 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-06-11Update stability test documentationmrichomme9-227/+44
+ fix remaining rst errors, broken links,.. Issue-ID: INT-1551 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I30a480722b34128c997dcfd4f9ae7c1143e6d87c Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-06-10Add a helper method to generate docker compose fileBartek Grzybowski2-4/+29
Change-Id: I05f5f689e5ec660e0257e558d02ac1965d51b3d3 Issue-ID: INT-1619 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Simplify network name in Compose templateBartek Grzybowski1-4/+4
Generated network name for a service already contains project name so no need to further customize it. Change-Id: Ib77b55f46b7141edeb43470db4a36d10c2ced649 Issue-ID: INT-1619 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Add helper method to generate simulator configBartek Grzybowski1-1/+14
Change-Id: If0deb820f32d6d75c71370ff67c7c42a063d8e0a Issue-ID: INT-1618 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Update Mass PNF simulator documentationBartek Grzybowski1-7/+11
Change-Id: I8b583e958f445965eead876925e8eb385e655eb5 Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Drop action methods decoratorBartek Grzybowski1-24/+0
It's no longer needed after implementing all lifecycle modes in module. Change-Id: Ic2b0c638172e9bb1428ac1f3a7823ce3e36ac206 Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Setup and start docker-compose simulator app directly in Python moduleBartek Grzybowski2-10/+18
Change-Id: I5efaaa69a0c78d9ae9594d1e59d57dd9315613af Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>