integration.git
3 years agoManual revert of kubernetes version in rke scripts 67/110967/1 6.0.0-ONAP
mrichomme [Thu, 6 Aug 2020 09:25:07 +0000 (11:25 +0200)]
Manual revert of kubernetes version in rke scripts

- 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

3 years agoUpdate Kubernetes rke version 88/110588/1
mrichomme [Wed, 5 Aug 2020 15:13:56 +0000 (17:13 +0200)]
Update Kubernetes rke version

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>
(cherry picked from commit f6aed01330e20568bf987d796bcf513739fe1568)

3 years agoUpdate release notes for Frankfurt Maintenance release 50/109950/1
mrichomme [Wed, 8 Jul 2020 15:52:13 +0000 (17:52 +0200)]
Update release notes for Frankfurt Maintenance release

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
(cherry picked from commit 20a4dbdd5a44966c582504d1e981c5291e180357)

3 years agoUpdate release note to include demo artifacts 49/109049/1
mrichomme [Fri, 12 Jun 2020 17:00:22 +0000 (19:00 +0200)]
Update release note to include demo artifacts

Issue-ID: INT-1625

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ida256bb52d8d6c9251e3bb08c71d30c5273f72b8
Signed-off-by: mrichomme <morgan.richomme@orange.com>
(cherry picked from commit 3561d299559bc3d808eb708f2f2b05937b35c9e4)

3 years agoOUpdate OOF_SON use case documentation 47/109047/1
Reshmasree [Sat, 13 Jun 2020 14:43:39 +0000 (14:43 +0000)]
OUpdate OOF_SON use case documentation

Issue-ID: INT-1626
Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com>
Change-Id: I5b92f7522a6564556184110b7dd5660c9ad278bf
(cherry picked from commit 8377ff9747a82d1ff62511bd6ea6f2d14a1c9704)

3 years agoUpdate stability test documentation 39/109039/1
mrichomme [Tue, 9 Jun 2020 13:37:37 +0000 (15:37 +0200)]
Update stability test documentation

+ 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>
(cherry picked from commit 0794e6795a7ad5fbbd986d1049234e013289d033)

3 years agoRead the docs improvement for 5G - PNF Pre-Onboarding and Onboarding 14/108914/1
Krzysztof Kuzmicki [Tue, 26 May 2020 13:41:08 +0000 (15:41 +0200)]
Read the docs improvement for 5G - PNF Pre-Onboarding and Onboarding

Issue-ID: INT-1240

Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I0c30ebfa9f55be3bea51bc5542eda4b648bf5c93
(cherry picked from commit 6294afdd6c55bf8236aefbb1c6e0b530aaf70c1c)

3 years agoUpdate helm and kubectl versions 08/108908/1
Brian Freeman [Mon, 8 Jun 2020 21:04:07 +0000 (16:04 -0500)]
Update helm and kubectl versions

Issue-ID: OOM-2331
Change-Id: Ie97218cd7df55c6819f1bb01db52a140870f641a
Signed-off-by: Brian Freeman <bf1936@att.com>
(cherry picked from commit 7ba99b5dfbad80619ca9298132956ee58cb4156c)

3 years agoCorrect ReadTheDoc theme 96/108896/1
Eric Debeau [Fri, 5 Jun 2020 21:39:47 +0000 (23:39 +0200)]
Correct ReadTheDoc theme

The current theme is different from other ONAP projects
Corrcet conf.py to be aligned with ONAP

Issue-ID: INT-1615

Signed-off-by: Eric Debeau <eric.debeau@orange.com>
Change-Id: I57c7793702ca659a074f998931ec11a94fff466d
(cherry picked from commit 3286e05b7d8917702e823f85ed4cf0011b18b62c)

3 years ago[vFW_CNF_CDS] Fix typo in Postman collection request 98/108798/1
Konrad Bańka [Mon, 1 Jun 2020 07:36:09 +0000 (09:36 +0200)]
[vFW_CNF_CDS] Fix typo in Postman collection request

Corrects cba_name/cba_version reference in SO instantiation
call in single vf-module by removing it (it was used only during
development work).
Corrects SDNC calls to use https instead of http that was turned
off recently.
Corrects typo in secret retrieval command.
Updated SO Completed instantiation status response.

Issue-ID: INT-1457
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Ib13a0d1e404e7e2f6053223f4eb4817ff99f8393

3 years ago[vFW_CNF_CDS] UAT testing doc update 97/108797/1
Samuli Silvius [Tue, 2 Jun 2020 16:08:30 +0000 (19:08 +0300)]
[vFW_CNF_CDS] UAT testing doc update

Verified UAT testing as much as it worked for vFW_CNF_CDS.
Spy recording was successfull technically as yaml response
was received but looks like missing some external calls.

UAT Verify POST call did not worked as expected results
was not according to spy output. Or some other problems.

Document updated accordingly.

Issue-ID: INT-1531

Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Change-Id: Ic2b13048fbff47fb8d6e82f3921a9922030bc971
(cherry picked from commit 7c41c16ed62fef316f6e93faeb18bec350c5fbf5)

3 years agoUpdate doc to reference 1.6.3 RC2 frankfurt image 96/108796/1
mrichomme [Thu, 4 Jun 2020 09:57:18 +0000 (11:57 +0200)]
Update doc to reference 1.6.3 RC2 frankfurt image

- refactoring of the integration page
- add link to s3p page
- add a table of the repositories managed by Integration

Issue-ID: INT-1551

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I36adec41f6938925561210da905d69c76cddfa8b
Signed-off-by: mrichomme <morgan.richomme@orange.com>
(cherry picked from commit 950afcec26f87ee83041de405a79ca66a1f7d46d)

3 years agoUpdate E2E_network_slicing doc 79/108679/2
krishnaa96 [Fri, 22 May 2020 11:17:00 +0000 (16:47 +0530)]
Update E2E_network_slicing doc

Issue-ID: INT-1468
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: Ib11a36000ae6c926c990786172d250f586409f3d
(cherry picked from commit 73c2d81546decf3b9356fa186f5054592975c75d)

3 years agoRemove postman subdirectory 78/108678/1
mrichomme [Fri, 29 May 2020 14:51:05 +0000 (16:51 +0200)]
Remove postman subdirectory

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
(cherry picked from commit aaf7389fd815cdb073617c018bd73c6f6affa772)

3 years agoUpdate OOF_SON use case documentation 75/108475/1
Reshmasree [Tue, 26 May 2020 08:02:59 +0000 (08:02 +0000)]
Update OOF_SON use case documentation

Issue-ID: INT-1466
Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com>
Change-Id: Ice7f111378b1c020a3367be1b5d8b5f812d9c79a
Signed-off-by: mrichomme <morgan.richomme@orange.com>
(cherry picked from commit c27b77fcd8dff92d9b891c75bff3267931cec35a)

3 years agoUpdate documentation 44/108444/3
mrichomme [Thu, 28 May 2020 20:38:30 +0000 (22:38 +0200)]
Update documentation

Issue-ID: INT-1551

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Iacc99e3504ae62e90bc3d963056d780ae13c402a
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years ago[vFW_CNF_CDS] Update documentation 20/108320/9
Konrad Bańka [Wed, 27 May 2020 13:25:56 +0000 (15:25 +0200)]
[vFW_CNF_CDS] Update documentation

Update several TODO sections and Postman collection.
Added few FIXMEs to mark fields for update when latest
logs/results will be available (after RC2 env test).

Issue-ID: INT-1457
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: If78caf719968681fe02290a5df7e81058d502968

3 years agoUpdate vCPE Tosca use case 63/108263/2
mrichomme [Tue, 26 May 2020 13:59:19 +0000 (15:59 +0200)]
Update vCPE Tosca use case

- fix documentation
- add install script for oclip

Issue-ID: INT-1355

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ieaeac5caf76caf6f731a6c2bf6380e8f8f2a6c6a

3 years agoUpdate documentation of vFW_CNF_CDS use case 09/108209/2
Lukasz Rajewski [Mon, 25 May 2020 17:05:41 +0000 (19:05 +0200)]
Update documentation of vFW_CNF_CDS use case

Mainly description of CDS profile upload and
other smaller corrections

Issue-ID: INT-1452
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: Ic0c8d7e38f14de8b3cff872921fc341b252d8d27

3 years agoFix 5G OOF duplicate reference in doc 02/108302/2
mrichomme [Wed, 27 May 2020 08:45:03 +0000 (10:45 +0200)]
Fix 5G OOF duplicate reference in doc

Issue-ID: INT-1551

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I3b9f9f0b4b902d808fb0784439a81f23ad368351

3 years agoFix HTML layout 74/108274/3
Jessica Wagantall [Tue, 26 May 2020 16:28:51 +0000 (09:28 -0700)]
Fix HTML layout

Looks like this repo was missing the HTML layout template
where we can call the css files.
Update name of css file in conf.py to just "ribbon"

Issue-ID: CIMAN-376
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Id4da929ad9e3c936c12ad6f57e3b524c198d63e0

3 years agoUpdate the clamp url 22/107622/3
xuegao [Wed, 13 May 2020 13:29:04 +0000 (15:29 +0200)]
Update the clamp url

Replace the old Clamp url by the new one.

Issue-ID: CLAMP-846
Change-Id: Ic02735797c18c67741f324f873abba5fa03676a4
Signed-off-by: xuegao <xg353y@intl.att.com>
3 years agoRead the docs improvement for 5G - PNF Pre-Onboarding and Onboarding 60/108260/2
Krzysztof Kuzmicki [Tue, 26 May 2020 13:41:08 +0000 (15:41 +0200)]
Read the docs improvement for 5G - PNF Pre-Onboarding and Onboarding

Issue-ID: INT-1240

Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I0c30ebfa9f55be3bea51bc5542eda4b648bf5c93

3 years agoAdd functional tests for verifying simulator services status 99/108199/3
Bartek Grzybowski [Mon, 25 May 2020 13:25:15 +0000 (06:25 -0700)]
Add functional tests for verifying simulator services status

Status is verified after each lifecycle change for proper
subcommand action.

Change-Id: Ia1c0e1bce24ddf1ca2c805a420e4a0665412aedf
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd functional test for 'clean' subcommand 95/108195/2
Bartek Grzybowski [Mon, 25 May 2020 10:56:58 +0000 (03:56 -0700)]
Add functional test for 'clean' subcommand

Change-Id: Iac2b7d5f912b22c6c4b342e350a71ee6ad8b1fbb
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd functional tests for 'stop' subcommand 94/108194/2
Bartek Grzybowski [Mon, 25 May 2020 10:38:06 +0000 (03:38 -0700)]
Add functional tests for 'stop' subcommand

Change-Id: Id3640c494f21fb4869fcf412dc83824dc8670d12
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd tests for 'trigger_custom' subcommand 93/108193/2
Bartek Grzybowski [Mon, 25 May 2020 10:10:39 +0000 (03:10 -0700)]
Add tests for 'trigger_custom' subcommand

Change-Id: I7a2811618adcaaa698a702d264ef2a93bc899704
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd functional tests for 'trigger' command 88/108188/2
Bartek Grzybowski [Mon, 25 May 2020 08:10:32 +0000 (01:10 -0700)]
Add functional tests for 'trigger' command

Change-Id: Ie3f0a5c5b5276c058da3d284d5531ab5c821e3b8
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd functional tests for 'start' command 87/108187/2
Bartek Grzybowski [Mon, 25 May 2020 08:09:30 +0000 (01:09 -0700)]
Add functional tests for 'start' command

Change-Id: I6a0e6bf35384e861511972aab45faed2fa13a90e
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd functional tests for bootstrap commands 86/108186/2
Bartek Grzybowski [Mon, 25 May 2020 08:06:25 +0000 (01:06 -0700)]
Add functional tests for bootstrap commands

Change-Id: Idb816780206f8b3b7a14128b7fd4603c4977ce11
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd pytest fixtures 85/108185/2
Bartek Grzybowski [Mon, 25 May 2020 07:54:12 +0000 (00:54 -0700)]
Add pytest fixtures

This adds fixtures that'll be utilised by unit
and functional tests.

Change-Id: Iaeed869d8320ccc44d485fc00c590741352e34e6
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoRemove fixture declaration that is defined in pytest config 84/108184/2
Bartek Grzybowski [Mon, 25 May 2020 07:53:08 +0000 (00:53 -0700)]
Remove fixture declaration that is defined in pytest config

Change-Id: I37abc052df5f69907ceb9bb81fbc478126e115d5
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd 'pyyaml' dependency in 'pytest' tox env 83/108183/2
Bartek Grzybowski [Mon, 25 May 2020 07:50:46 +0000 (00:50 -0700)]
Add 'pyyaml' dependency in 'pytest' tox env

Change-Id: I07d326aabe2ad70eb269b5236d2fe6af1a958824
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd pytest testing scenario settings for simulator 82/108182/2
Bartek Grzybowski [Mon, 25 May 2020 07:49:14 +0000 (00:49 -0700)]
Add pytest testing scenario settings for simulator

Change-Id: I57d67a837aa3ef8d6a58e5abbb61bfc3606e93dc
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoDrop shell 'rm' command and use 'rmtree' native Python routine 81/108181/2
Bartek Grzybowski [Mon, 25 May 2020 07:47:35 +0000 (00:47 -0700)]
Drop shell 'rm' command and use 'rmtree' native Python routine

Change-Id: Id5487723b8eb6fdc065ffe712907f9a715f610c5
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoHardcoded APPC password removed 67/107667/2
Lukasz Rajewski [Thu, 14 May 2020 09:08:43 +0000 (11:08 +0200)]
Hardcoded APPC password removed

Hardcoded APPC password removed from doc

Issue-ID: INT-1277
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: Iaad61a8d3c436f6a0861d1c4f94fdc804763d940

3 years agoadd uuid image override 41/108141/1
jhh [Fri, 22 May 2020 13:26:36 +0000 (08:26 -0500)]
add uuid image override

Issue-ID: INT-1599
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I6b5f14c6abf594d7947d08939476358cf16f35e8

3 years agoUpdate documentation of vFW_CNF_CDS use case to Frankfurt state 95/103595/7
Konrad Bańka [Thu, 12 Mar 2020 11:09:13 +0000 (12:09 +0100)]
Update documentation of vFW_CNF_CDS use case to Frankfurt state

Issue-ID: INT-1452
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I2aad1b96842cd447141cf826e8f1fc50c50d9b6a

3 years agoUpdate Doc for frankfurt 21/107921/4
mrichomme [Tue, 19 May 2020 21:00:34 +0000 (23:00 +0200)]
Update Doc for frankfurt

Issue-ID: INT-1551

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I8cd83775001a125c11a0408d05a4dacb54f2c1c9
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoExpand HTML width in docs 85/107585/2
Jessica Wagantall [Tue, 12 May 2020 19:26:07 +0000 (12:26 -0700)]
Expand HTML width in docs

Some images in the docs are not
rendering properly. Expand HTML width
to help rendering the images better.

Issue-ID: CIMAN-364
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I77f2873c82be339c02e9eada137e742d17fcaa75

3 years agoAdd tests for CLI script options 72/107972/1
Bartek Grzybowski [Wed, 20 May 2020 13:34:27 +0000 (06:34 -0700)]
Add tests for CLI script options

Change-Id: Iea4b353b37297e04b686d41b3494b00f61cfb9f3
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoCreate setuptools based Python env setup for the scripts 48/107948/1
Bartek Grzybowski [Wed, 20 May 2020 09:07:39 +0000 (02:07 -0700)]
Create setuptools based Python env setup for the scripts

Change-Id: I00095182de5532c28fd7d9605de2d9c8b29f6c1c
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoIterate over all bootstrapped instances by default 69/107869/1
Bartek Grzybowski [Tue, 19 May 2020 11:50:51 +0000 (04:50 -0700)]
Iterate over all bootstrapped instances by default

Commands that support '--count' option now iterate
over all autodetected bootstrapped simulator instances
by default, not just the first one.

Change-Id: Ia5703047447b4da98d775636fe38911f81520848
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd a method to enumerate bootstrapped simulator instances 68/107868/1
Bartek Grzybowski [Tue, 19 May 2020 11:47:09 +0000 (04:47 -0700)]
Add a method to enumerate bootstrapped simulator instances

Change-Id: Ifbafc748a47b1db3fabfb337b44a66523c9ef80f
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoMake the actions decorator a static method in a subclass 09/107809/1
Bartek Grzybowski [Mon, 18 May 2020 14:30:11 +0000 (07:30 -0700)]
Make the actions decorator a static method in a subclass

Change-Id: I2bd702ff1d92c80510204cb4666f6c3db7fa62e0
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoCreate a boilerplate decorator for MassPnfSim class actions 03/107803/2
Bartek Grzybowski [Mon, 18 May 2020 11:11:15 +0000 (04:11 -0700)]
Create a boilerplate decorator for MassPnfSim class actions

Change-Id: Ia095a608d204e3da6dae101afa04f2e66a9bceeb
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoRun Maven directly 46/107746/1
Bartek Grzybowski [Fri, 15 May 2020 14:38:04 +0000 (07:38 -0700)]
Run Maven directly

Maven will be run directly from MassPnfSim module, not
through wrapper shell script.

Change-Id: Ib2936391ace3cbd31c3b5bba4ad6d776cfb890d8
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoLeverage internal shell runner in bootstrap mode 91/107691/4
Bartek Grzybowski [Thu, 14 May 2020 14:38:54 +0000 (07:38 -0700)]
Leverage internal shell runner in bootstrap mode

Use native python modules for file operations

Change-Id: I1ca505f9a891c722c2aace118536fa470bf50b35
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAdd internal method for shell runner in MassPnfSim module 82/107682/4
Bartek Grzybowski [Thu, 14 May 2020 12:52:40 +0000 (05:52 -0700)]
Add internal method for shell runner in MassPnfSim module

Since now if module is called in 'debug' mode shell script
is run with trace.

Change-Id: I7bddf6c0583c4b56d4a0c3b5eeb6a78af561891f
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoFix ftp dir permission in sftp-server container 38/107738/1
Bartek Grzybowski [Fri, 15 May 2020 13:23:38 +0000 (06:23 -0700)]
Fix ftp dir permission in sftp-server container

Container entrypoint descendant script in atmoz/sftp:alpine image
is changing mount binded ftp dir owner to 'root' which makes
removing it by 'clean' action not possible hence adding o+w
permission for it.

Change-Id: I0d9339db80c4cd8e31c4368ac63741c531a626fa
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoMake the maven image build an independent step 23/107723/2
Bartek Grzybowski [Fri, 15 May 2020 07:57:25 +0000 (00:57 -0700)]
Make the maven image build an independent step

This improves testability as in CI the image build
is done by relevant CI runner from provided POM file
so building from script is redundant.

Updated doc in regard on how to build the image locally.

Change-Id: I7666bc638996c855fed139ee46fcc80379a02f3b
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoFinalize INFO.yaml 11/107511/2
mrichomme [Tue, 12 May 2020 06:31:16 +0000 (08:31 +0200)]
Finalize INFO.yaml

Issue-ID: INT-1587

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ic386d025fd2b2e9c798a027bb5590c919a850ae3

3 years agoGet and kill ROP_file_creator.sh childs as well 51/107551/1
Bartek Grzybowski [Tue, 12 May 2020 14:52:13 +0000 (07:52 -0700)]
Get and kill ROP_file_creator.sh childs as well

Change-Id: I07393a0f62535563586278d2e8bc8fd6bd9380db
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoGet the routine name to call with getattr 51/107451/2
Bartek Grzybowski [Mon, 11 May 2020 13:00:00 +0000 (06:00 -0700)]
Get the routine name to call with getattr

Each subcommand has a corresponding method in
MassPnfSim class hence it can be called directly
by it's name.

Change-Id: Id7139a5f96cceac89559bd68d89085130703f4bd
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoMove CLI options processing to module level 50/107450/2
Bartek Grzybowski [Mon, 11 May 2020 12:38:08 +0000 (05:38 -0700)]
Move CLI options processing to module level

Change-Id: Ie4c379480e2c641285507173387a770db63458f0
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoUpdate INFO.yaml 84/107484/4
colvert [Mon, 11 May 2020 15:50:36 +0000 (17:50 +0200)]
Update INFO.yaml

add new committers:
- Pawel Wieczorek
- Andreas Geissler
- Krzysztof Kuzmicki

Issue-ID: INT-1587

Change-Id: I30f7edd3bf6387ee6e7baa49059c884f589deee6
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoImprove code testability 46/107446/3
Bartek Grzybowski [Mon, 11 May 2020 11:51:37 +0000 (04:51 -0700)]
Improve code testability

A module is created with specific class methods
to perform particular simulator services' lifecycle
operations.

Change-Id: I467360ab304a00f049bf53c3958e42f445f2d75b
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoAllow importing the script as module 90/107390/4
Bartek Grzybowski [Fri, 8 May 2020 13:26:02 +0000 (06:26 -0700)]
Allow importing the script as module

Improves testability (TBD)

Change-Id: I0c4845f85d14b49b4702270ffad537a19c1c7df7
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoRework input parameters handling 82/107382/4
Bartek Grzybowski [Fri, 8 May 2020 11:39:22 +0000 (04:39 -0700)]
Rework input parameters handling

Main input options were turned into subcommands
for improved CLI user experience.

Input parameters handling and validation logic was
moved out of the code to argparse native facilities.

Updated the doc around script usage details.

Change-Id: Ifaa2a0e49f2a0b5b677020307dc74942c422bbe1
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoupdate vCPE local case 79/107379/2
zhaoliping123 [Fri, 8 May 2020 10:33:20 +0000 (18:33 +0800)]
update vCPE local case

Issue-ID: INT-1355
Change-Id: I3172f1aacebc7f226472dac1259d35c50f520473
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
3 years agoAdd missing dependency for port scanning 84/107384/1
Pawel Wieczorek [Fri, 8 May 2020 11:44:30 +0000 (13:44 +0200)]
Add missing dependency for port scanning

Issue-ID: SECCOM-261
Change-Id: Id4d14cf0997310b7e039fe3f5e18ea72a4f3d71c
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
3 years agoUse correct nmap filters 83/107383/1
Pawel Wieczorek [Wed, 22 Apr 2020 15:41:29 +0000 (17:41 +0200)]
Use correct nmap filters

Both closed and filtered ports should be droppped from scan results to
maintain compatibility with "check_for_nonssl_endpoints.sh" script.

Issue-ID: SECCOM-261
Change-Id: Ic422bebf6e46bcc42a3e5198e7702bb8b901287f
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
3 years agoExclude code location from code base URL 21/107221/2
Pawel Wieczorek [Thu, 30 Apr 2020 15:04:51 +0000 (17:04 +0200)]
Exclude code location from code base URL

Python method str.format allows easy templating using substitutions
identified by braces ('{' and '}'). Using two levels of nested
substitutions can be achieved by doubling braces ("{{" and "}}").

Hound configuration creator script was supposed to use two levels of
nested substitutions and still leave braced components within the
templated string for further substitution by the Hound tool. This would
require using multitude of braces which would decrease readability
significantly.

This is why code location template is appended to the code base URL at
the latest.

If there will be need for more levels of nested templates, this code
shall be further refactored to use only named fields, str.format_map()
(available in Python 3.2+) and SafeDict, e.g.

  >>> class SafeDict(dict):
  ...     def __missing__(self, key):
  ...         return '{' + key + '}'
  ...

which would leave braced components within the processed template in
case given key is missing.

Issue-ID: ONAPARC-579
Change-Id: I420d076867aa891edb2a945a8cd58e168c892ac3
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
3 years agoRefactor simulator instances IP setting logic 13/107313/2
Bartek Grzybowski [Thu, 7 May 2020 11:28:13 +0000 (04:28 -0700)]
Refactor simulator instances IP setting logic

Change-Id: I5bd36b364cd033d0d468c81f345be9255e7adb85
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoFix services IP addresses naming 25/107225/2
Bartek Grzybowski [Wed, 6 May 2020 12:56:20 +0000 (05:56 -0700)]
Fix services IP addresses naming

Use formatted string literals to make the code more
readable.

Change-Id: I712f887d73c29aacc5766052835f377a63e9eb06
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoDrop superfluous variables and type casts 18/107218/2
Bartek Grzybowski [Wed, 6 May 2020 11:42:18 +0000 (04:42 -0700)]
Drop superfluous variables and type casts

Change-Id: Ic8e9eab90c537584b2c771bdeb59c0b43deb992e
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoSupress ANSI escape sequences when terminal not detected 09/107209/2
Bartek Grzybowski [Wed, 6 May 2020 10:37:23 +0000 (03:37 -0700)]
Supress ANSI escape sequences when terminal not detected

This prevents obscured output when redirecting output to
a file descriptor.

Change-Id: Ie56b6f65b1d2adffc69d3f75a9c8f98c0444faa8
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoFixed vFWDT do after modifications in OOF for policy 18/107318/2
Lukasz Rajewski [Wed, 29 Apr 2020 16:19:38 +0000 (18:19 +0200)]
Fixed vFWDT do after modifications in OOF for policy

Modified description of procedure to upload polcies
used for TD procedure and OOF.

Change-Id: I6e3760f2d2308a36388971e66280df3d3d35f224
Issue-ID: INT-1277
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
3 years agoAdd policy and sdc staging images overrides 22/107322/1
jhh [Thu, 7 May 2020 14:02:58 +0000 (09:02 -0500)]
Add policy and sdc staging images overrides

Issue-ID: INT-1585
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ia2682bc293ea403b56d3f4d27d6a1c219e6e90eb

4 years agoMake script verbosity adjustible 26/107126/1
Bartek Grzybowski [Tue, 5 May 2020 15:54:37 +0000 (08:54 -0700)]
Make script verbosity adjustible

Adds '--verbose' option and leverages 'logging' module
facilities.

Change-Id: I9b079c476949788678167afb1ed115ad4490d99c
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoAdd input opts description in usage synopsis 06/107106/1
Bartek Grzybowski [Tue, 5 May 2020 11:27:25 +0000 (04:27 -0700)]
Add input opts description in usage synopsis

Change-Id: I43b1c47509afef0f25176e244ab2f6f565afbc3b
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoLeverage ArgumentParser facilities for input options validation 03/107103/1
Bartek Grzybowski [Tue, 5 May 2020 10:54:01 +0000 (03:54 -0700)]
Leverage ArgumentParser facilities for input options validation

The hassle of casting and validating input options values is moved
from the script logic directly into the ArgumentParser's object
instantiation.

Change-Id: I79ed80286d1219f841d496538acdc50d2113d723
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoAdd helper functions for input options validation 02/107102/1
Bartek Grzybowski [Tue, 5 May 2020 10:50:38 +0000 (03:50 -0700)]
Add helper functions for input options validation

Change-Id: I0c8cd452fbf740f3b1c7988bf7aa7341a747c75e
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoRephrase the argparse arguments help messages 01/107101/1
Bartek Grzybowski [Thu, 30 Apr 2020 14:11:59 +0000 (07:11 -0700)]
Rephrase the argparse arguments help messages

Show usage if no option provided.

Change-Id: I1ed01464f4b689e6b716887e7719e8de6c0f1e42
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoKill the 'sleep' process as well 00/107100/1
Bartek Grzybowski [Thu, 30 Apr 2020 14:05:24 +0000 (07:05 -0700)]
Kill the 'sleep' process as well

ROP_file_creator.sh spawns 'sleep' cmd as a child
hence it needs to be killed as well on clean up.

Change-Id: Ic2007e710b6efa0028ebd239f26b7eff6a9e04ea
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agopnf-sw-upgrade: fix lock-protected update of yang module 19/106919/2
ebo [Tue, 28 Apr 2020 23:18:17 +0000 (00:18 +0100)]
pnf-sw-upgrade: fix lock-protected update of yang module

The update must be scoped by a lock on yang module

Other changes:

- 'action' field no longer deleted; handling CREATED/MODIFIED events on
  this field
- Configurable delay on timed-transitions via SWUG_TIMED_TRANSITION_TO
  environment variable

Issue-ID: INT-1516
Change-Id: I22fb7b558ae371b6cff487633eae606f8fe535e1
Signed-off-by: ebo <eliezio.oliveira@est.tech>
4 years agoupdate the integration doc for vCPE 65/106865/2
zhaoliping123 [Thu, 30 Apr 2020 02:12:26 +0000 (10:12 +0800)]
update the integration doc for vCPE

Issue-ID: VFC-1668
Change-Id: Id66215e9b12a5aa5ac8d99ab734bd51c0bb3b1fc
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
4 years agoAdd csa as binary in .gitattributes 74/106874/2
mrichomme [Thu, 30 Apr 2020 07:10:49 +0000 (09:10 +0200)]
Add csa as binary in .gitattributes

Issue-ID: INT-1572

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: If307c3028372fc729aa848ff8d2b4042442aa313
Signed-off-by: mrichomme <morgan.richomme@orange.com>
4 years agoupdate the integration doc for vCPE 95/106795/2
zhaoliping123 [Wed, 29 Apr 2020 11:38:08 +0000 (19:38 +0800)]
update the integration doc for vCPE

Issue-ID: VFC-1668
Change-Id: I5fc41873f7a31e4c67669ea8bb07b674bc434cec
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
4 years agoupdate docs_vCPE_tosca_local.rst 77/106577/3
zhaoliping123 [Fri, 24 Apr 2020 10:11:45 +0000 (18:11 +0800)]
update docs_vCPE_tosca_local.rst

Issue-ID: INT-1285
Change-Id: I6a365b56207ae3d21e8a6601f1110914d841160c
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
4 years agoDocumentation for vFW In-Place Upgrade with TD 53/102853/9
Lukasz Rajewski [Mon, 27 Apr 2020 19:30:24 +0000 (21:30 +0200)]
Documentation for vFW In-Place Upgrade with TD

The documentation for vFW Traffic Distributino use case
evolves to vFW InPlace Upgrade with TD one. There is
changed description of the use case purpose, the workflow,
the configuration procedure and information about the
way of testing.

Change-Id: I1e68d46871864b4e65df553355b3a11d86b4c9cb
Issue-ID: INT-1277
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
4 years agoExclude VFC-redis from xfail list 57/106657/1
mrichomme [Mon, 27 Apr 2020 08:10:20 +0000 (10:10 +0200)]
Exclude VFC-redis from xfail list

Issue-ID: INT-1564

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I32d9e25e4d4d0bfab7fdfa5979db266a0826604c
Signed-off-by: mrichomme <morgan.richomme@orange.com>
4 years ago[INT] updating aks install w/ master pass 89/106389/2
stark, steven [Tue, 21 Apr 2020 22:28:13 +0000 (15:28 -0700)]
[INT] updating aks install w/ master pass

- Also updating openstack cli to py3 to fix import issues

Issue-ID: INT-1557
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I99cbc68614e0fcc8fd0572fd7c44c7cd431b215b

4 years agoAdd vcpe tosca local mode case 01/106401/5
zhaoliping123 [Wed, 22 Apr 2020 03:52:56 +0000 (11:52 +0800)]
Add vcpe tosca local mode case

- fix json errors
- fix not related rst error
(due to a broken link as jira.opnfv.org is no more responding)

Issue-ID: INT-1285
Change-Id: I733a491c4204334fc532abcf9dbbdc2226900d5b
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
Signed-off-by: mrichomme <morgan.richomme@orange.com>
4 years agoLeverage pytest parametrize mark in test_rest_api_endpoints 84/106284/1
Bartek Grzybowski [Mon, 20 Apr 2020 13:41:04 +0000 (06:41 -0700)]
Leverage pytest parametrize mark in test_rest_api_endpoints

Change-Id: Ia29f79227e21e623489a7b340496f18def5f7a52
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoLeverage pytest parametrize mark in test_bad_prefix test 83/106283/1
Bartek Grzybowski [Mon, 20 Apr 2020 12:21:20 +0000 (05:21 -0700)]
Leverage pytest parametrize mark in test_bad_prefix test

Change-Id: I0c0ea8612e0f0ac6b2198dc78908bd604f5ad61c
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoLeverage pytest parametrize mark in test_bad_moi_class test 82/106282/1
Bartek Grzybowski [Mon, 20 Apr 2020 11:39:43 +0000 (04:39 -0700)]
Leverage pytest parametrize mark in test_bad_moi_class test

Change-Id: I7218c5ca61669197d1e79189e841b0062524c02d
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoRefactor test_unauthorized() to leverage pytest parametrize mark 81/106281/1
Bartek Grzybowski [Mon, 20 Apr 2020 11:01:10 +0000 (04:01 -0700)]
Refactor test_unauthorized() to leverage pytest parametrize mark

Change-Id: I52079b276332c0bf2ffcea047ab8129066aff185
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoResize CLAMP picture 74/106274/1
Marco Platania [Mon, 20 Apr 2020 13:06:34 +0000 (09:06 -0400)]
Resize CLAMP picture

Issue-ID: INT-1536

Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: I27a213493377c4af80f914f3d8983b6d37ee6da1

4 years agonetconf-pnp-simulator: fix sysrepod crash on TLS reconfig 34/106234/3
ebo [Sun, 19 Apr 2020 00:33:21 +0000 (01:33 +0100)]
netconf-pnp-simulator: fix sysrepod crash on TLS reconfig

The crash was caused by:
- the '--permanent' option while updating the ietf-keystore by
  sysrepocfg
- missing some Yang modules on sysrepo installation

Other changes:

1. Added TLS integration tests, including reconfiguration
2. reconfigure-*.sh are now synchronous, only returnig after restart is
   completed

Issue-ID: INT-1516
Change-Id: Iddc03fc968aaab60931596045437ba0c78448b08
Signed-off-by: ebo <eliezio.oliveira@est.tech>
4 years agoFix link in RST file for Scale Out doc 53/106153/5
Marco Platania [Thu, 16 Apr 2020 20:09:55 +0000 (16:09 -0400)]
Fix link in RST file for Scale Out doc

Issue-ID: INT-1536
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: Ic16b339332033cd487cf19458464c1dc86c61d65
Signed-off-by: mrichomme <morgan.richomme@orange.com>
4 years agoAdd test to verify bad API prefix handling by the service 94/106094/2
Bartek Grzybowski [Thu, 16 Apr 2020 11:11:07 +0000 (04:11 -0700)]
Add test to verify bad API prefix handling by the service

Functional test for verifying that the service handles
bad API prefix in URI string properly and returns appropriate
response to the client.

Change-Id: I5e5e8a9dcd6fe05bd2b4536790d16e825aa21679
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoAdd test to verify bad MOI handling by the service 93/106093/2
Bartek Grzybowski [Thu, 16 Apr 2020 11:04:12 +0000 (04:04 -0700)]
Add test to verify bad MOI handling by the service

Functional test for verifying that the service handles
bad MOI class in URI string properly and returns appropriate
response to the client.

Change-Id: I606aaba5c400f81e8142a34f250bc249251feaf7
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoAdd test to verify unauthorized requests 92/106092/2
Bartek Grzybowski [Thu, 16 Apr 2020 10:55:21 +0000 (03:55 -0700)]
Add test to verify unauthorized requests

Functional test for verifying that the service forbids
API access with proper http code and message should
the client provide wrong auth credentials.

Change-Id: I78d5f050e99c23fd7116468ff007078b3cd56987
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoFix invalid prefix check handling 90/106090/1
Bartek Grzybowski [Thu, 16 Apr 2020 10:28:14 +0000 (03:28 -0700)]
Fix invalid prefix check handling

Should the URI prefix length in the request be incorrect
and not contain two "/" the service would fail with "empty
response" on client side due to unhandled "list index
out of range" in the server process while trying to get
the idName from pathlist[4] which throws IndexError.

Prefix validation, id and class variable assignment are
wrapped up in try-except clause to evaluate the prefix check
correctly, catch the exception and return appropriate response
to the client.

Change-Id: If6333228fbdd3a8075ade55436c3ca9bb8a97caa
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoReturn http 404 for wrong prefix, not 401 80/106080/1
Bartek Grzybowski [Thu, 16 Apr 2020 08:35:48 +0000 (01:35 -0700)]
Return http 404 for wrong prefix, not 401

The correct http code for wrong REST API url should
be http "404 Not Found", not "401 Unauthorized".

Change-Id: I78710fcd4c43926dbba3227c4099bf6239095f19
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoMove tests to their own directory 07/106007/2
Bartek Grzybowski [Wed, 15 Apr 2020 11:48:16 +0000 (04:48 -0700)]
Move tests to their own directory

File layout was also restructured for better
readability.

Change-Id: Id1cba755127319c45ec50b08d12daa543c8c9ae5
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoAdd tox runner for pytest in prov-mns-provider 00/106000/3
Bartek Grzybowski [Wed, 15 Apr 2020 11:06:39 +0000 (04:06 -0700)]
Add tox runner for pytest in prov-mns-provider

Pytest setup as entrypoint to gating job in CI.

Change-Id: If052af0f7c8272844f644cb3789dbc3a8451c629
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoExtend unit tests for provisioning management service 20/105920/4
Bartek Grzybowski [Tue, 14 Apr 2020 15:49:19 +0000 (08:49 -0700)]
Extend unit tests for provisioning management service

This adds additional unit tests for the service provider for
PATCH and DELETE request methods.

Change-Id: If0cce9c713f2999c859910661308c24ac68f04d6
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
4 years agoAdd unit tests for provisioning management service 18/105918/4
Bartek Grzybowski [Tue, 14 Apr 2020 14:59:00 +0000 (07:59 -0700)]
Add unit tests for provisioning management service

This adds pytest based unit tests for the service provider.
Testing PUT and GET requests is covered within this patch.

Change-Id: Id9bcb870b032c6fce64985a5fd501bbd44031f50
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>