aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
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 releasemrichomme1-1/+17
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-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-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>
2020-06-10Chown vsftpd config file to root while bootstrappingBartek Grzybowski2-2/+11
Change-Id: I48716f544bd34b05a5524b58500cdff7c96a9578 Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Add internal routine for logs archivingBartek Grzybowski1-2/+26
Change-Id: Ibbb2b4aa71f0ca477b7129e4037cee031e44ae91 Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Remove useless RUNNING_COMPOSE_CONFIG assignmentBartek Grzybowski1-1/+0
Change-Id: I0d66fab438ef53c716ddcebf292309f3a161a51e Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-10Drop shell debug mode in command wrapper methodBartek Grzybowski1-2/+2
Change-Id: I70133119ca8344ad675400e1ea9ba1b8a6f9b38b Issue-ID: INT-1617 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Support stopping sending PNF registration messages in Python moduleBartek Grzybowski4-7/+61
Change-Id: Iae7d300e6e09d152b6e7daaebd9c85ba763fc077 Issue-ID: INT-1613 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Add test case for invalid '--count' option valueBartek Grzybowski1-0/+18
Change-Id: Ib46c26889f01ce0cd9d90865070d5c5ac9b5d08a Issue-ID: INT-1613 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Drop shell wrapper for 'trigger_custom' action as wellBartek Grzybowski2-11/+14
Change-Id: I388038656505c6937e10ba9f65d70d0e6514e17b Issue-ID: INT-1611 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Support triggering simulator app directly from MassPnfSim moduleBartek Grzybowski3-26/+40
Change-Id: Ice52848bedf8722aa142de74342190378ea593cd Issue-ID: INT-1611 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-05Drop shell wrapper for stopping simulator instancesBartek Grzybowski2-15/+47
Instance method is added to manage stopping simulator instances and ROP scripts directly in MassPnfSim class. Change-Id: Ic551f99c0f5f2a177b9c72daac02690b0bbded04 Issue-ID: INT-1610 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-02Add helper routine for getting iter range in lifecycle methodsBartek Grzybowski1-5/+9
Change-Id: I3973b7bfd75885bf22154670a6b9f665769470fa Issue-ID: INT-1610 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-02Drop shell wrapper for getting simulators statusBartek Grzybowski2-14/+37
Change-Id: Id7c3c614d472d8ee01533e9bd146f258813e7cbe Issue-ID: INT-1606 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-02Add helper method to get running docker containers names listBartek Grzybowski2-1/+11
Change-Id: I8346302706d6e896b55d845051fe2de18aaafd16 Issue-ID: INT-1606 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-06-02Add helper method to get simulator instance dataBartek Grzybowski3-2/+13
Superfluous call to 'get_pnfsim_ip' function in simulator.sh was also removed. Change-Id: Ifd7be4843fe26768f4b86b64e07d2d9479735ad1 Issue-ID: INT-1606 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-05-29Remove postman subdirectorymrichomme25-9967/+0
The postman suite has not been updated for Frankfurt They are defacto deprecated This shoudl be cherry picked in Frankfurt However the suite will remain in El Alto and previous versions Issue-ID: INT-1608 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Id1ee003e023e8c35d7f5439f1a525ee039fb6b2f
2020-05-29Update vCPE Tosca use casemrichomme1-0/+76
- fix documentation - add install script for oclip Issue-ID: INT-1355 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ieaeac5caf76caf6f731a6c2bf6380e8f8f2a6c6a