Pawel Wieczorek [Thu, 19 Mar 2020 10:14:18 +0000 (11:14 +0100)]
Filter out only open non-SSL ports
This patch ignores closed and filtered ports from scan results. It is
intended to keep "expected failure" list minimal.
Issue-ID: INT-1480
Change-Id: Idb93cf4e19284bc121aa45ea950d28405c29e222
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Yaoguang Wang [Thu, 12 Mar 2020 01:39:59 +0000 (09:39 +0800)]
EMS simulator extension to support netconf interaction with CDS
Issue-ID: INT-1211
Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com>
Change-Id: I5a7724e6cbfab81eeb3299c88f995c3cf9ea71ec
Marco Platania [Fri, 13 Mar 2020 14:34:37 +0000 (10:34 -0400)]
Update image versions in integration override
Issue-ID: INT-1462
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: Ib14e88d854bc36c7ca16997a1f26d232bcd97ce4
mrichomme [Thu, 12 Mar 2020 14:34:58 +0000 (15:34 +0100)]
WIP: update CI documentation
Fix CI doc glitches and modify a figure
Issue-ID: INT-1446
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Id64b2193f1bf66124546aa4889a0b6ed03962d79
mrichomme [Thu, 12 Mar 2020 13:50:19 +0000 (14:50 +0100)]
Finalize CI document for integration
Issue-ID: INT-1446
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I7ca12c6b5219b25847bf3da6e17adc1219917d33
mrichomme [Thu, 12 Mar 2020 10:48:57 +0000 (11:48 +0100)]
Fix regex for http xfail list
in CI we got an error sed: unsupported command o
due to space management in the sed command
Issue-ID: INT-1480
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I44c6ecd7c47ec02b76c7932bb86de0a58726d93d
Pawel Wieczorek [Thu, 12 Mar 2020 10:47:01 +0000 (11:47 +0100)]
Unify expected failures lists naming convention
List of expected failures for non-SSL services test has not been renamed
together with corresponding check script and might have been confusing.
Issue-ID: INT-1480
Change-Id: I4f88a09ddb90a14500498892f1fda99e1c3febf0
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Pawel Wieczorek [Thu, 12 Mar 2020 10:44:15 +0000 (11:44 +0100)]
Add upstream services to expected failures list for non-SSL endpoints tests
Issue-ID: INT-1480
Change-Id: I755a3e65897f94e3f42f27bbf798c9bcd9c2868f
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
rajendrajaiswal [Mon, 9 Mar 2020 15:41:41 +0000 (15:41 +0000)]
Added python3 and Updated netopeer image
Change-Id: Ib7c21353cff267b847a4d1d7fdcb322e22772062
Issue-ID: INT-1312
Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
ebo [Mon, 9 Mar 2020 15:42:08 +0000 (15:42 +0000)]
netconf-pnp-simulator: make PYTHONPATH always globally defined
Add IT using ncclient and tox
Issue-ID: INT-1124
Change-Id: I560d4fd2468ac93f8ead36062b2e316821af8d07
Signed-off-by: ebo <eliezio.oliveira@est.tech>
mrichomme [Tue, 10 Mar 2020 14:41:14 +0000 (15:41 +0100)]
Rename white list to xfail list to clarify the role of the list
to be consistent with xfail lists introduced in security tests
by Pawel Wieczorek [1]
Issue-ID: INT-1435
[1]: https://gerrit.onap.org/r/c/integration/+/103444
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I5345607931e443f3335f34823c5cd80290425a45
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Pawel Wieczorek [Tue, 10 Mar 2020 14:22:55 +0000 (15:22 +0100)]
Drop filtering out services recognized as HTTP
This patch extends tool used to detect plain HTTP ports to report all
non-SSL endpoints. Previously it omitted services not recognized as
HTTP.
Naming changes were made to reflect purpose of this tool better.
Issue-ID: INT-1480
Change-Id: I58a152022d48121bf4b9c6180ddc820dd4a79805
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Pawel Wieczorek [Mon, 9 Mar 2020 15:33:53 +0000 (16:33 +0100)]
Add expected failures list for HTTP endpoints tests
This patch is heavily based on previous work by
Morgan Richomme <morgan.richomme@orange.com>
(Change-Id: Ibaed4c5c0e5ae179af0ae317e543c1efdc9ddef2)
It is intended to suppress failure reports on known plain HTTP
endpoints. Introduced list of "expected failures" (or "xfail" for short)
will be shrunk after resolving tickets related to INT-1480 and this
patch will be eventually reverted.
Issue-ID: INT-1480
Change-Id: I4edbf3efaf66bfa2dbe2f265983eb0a27048ed4e
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Xin Miao [Thu, 5 Mar 2020 19:54:39 +0000 (19:54 +0000)]
Add MDONS sections
Issue-ID: INT-1474
Signed-off-by: Xin Miao <xin.miao@us.fujitsu.com>
Change-Id: I57483601ac9962c486657c7c0941cfe7faf3a222
mrichomme [Tue, 11 Feb 2020 08:46:48 +0000 (09:46 +0100)]
Add a white list for jdwp tests
The port scanned can be the default redis port.
A white list must be included to avoid false positive.
Open quesiton, should this list be passed as argument?
It is relatively static so for the moment, I created a list to exclude
through grep -V the false positive
Issue-ID: INT-1435
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ibaed4c5c0e5ae179af0ae317e543c1efdc9ddef2
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Bartek Grzybowski [Fri, 6 Mar 2020 13:20:07 +0000 (14:20 +0100)]
Setup Python linters in tox
This adds Python linting setup that'll be triggered
by relevant CI job for any uploaded python script review.
Change-Id: I957156e281e97a05651e806f6418a7c450e20b43
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Samuli Silvius [Tue, 18 Feb 2020 08:00:47 +0000 (10:00 +0200)]
Documentation of vFW CNF CDS Use case
Issue-ID: INT-1452
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Change-Id: I766d02b9fb901458eba8cd0f2fecd0b71edc7aa2
Bartek Grzybowski [Thu, 5 Mar 2020 14:08:58 +0000 (15:08 +0100)]
Fix linter issues in soutils.py vcp librabry
Change-Id: I6adaa992fe9c2411025eb28edafef83b506bac29
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 5 Mar 2020 13:35:29 +0000 (14:35 +0100)]
Fix Python linting issues in Python scripts
Fixed pylint issues for categories trailing-whitespace,
trailing-newlines, syntax-error, unused-import.
Change-Id: Iccbdb0c9538a6b8299c0517bafa1ec1be30f07cd
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 5 Mar 2020 12:21:59 +0000 (13:21 +0100)]
Fix Python linting issues in Python scripts
Fixed pylint issues for categories len-as-condition, using-constant-test,
undefined-variable and reimported.
Change-Id: Idad710958c3ca0ac6da78fb4709da03e5f079b34
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 5 Mar 2020 11:36:00 +0000 (12:36 +0100)]
Fix linting issues in check_for_ingress_and_nodeports.py
Change-Id: Ic0d2a32a964a4cf5ff1580ffd06103c450a0e8b0
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 5 Mar 2020 10:41:08 +0000 (11:41 +0100)]
Supress pylint warnings for undefined variables
'cmp', 'file' and 'unicode' functions are Python 2
specific.
Change-Id: I30fa091ef157453a328ab40e4186c30e5ed1b3a1
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 5 Mar 2020 09:28:03 +0000 (10:28 +0100)]
Fix indentation and whitespace issues in Python scripts
Reported by pylint.
Change-Id: I9d5ee152f3587bb2d7e8abee919e4ffe47d8ae85
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Pérez Caparrós David [Thu, 5 Mar 2020 11:00:00 +0000 (12:00 +0100)]
Update BBS use case documentation
BBS use case documentation needs minor updates in Frankfurt release
Issue-ID: INT-1444
Signed-off-by: Pérez Caparrós David <David.PerezCaparros@swisscom.com>
Change-Id: I3773fd4ec64a98befcafdf9a46ea3c5488d64307
Enbo Wang [Tue, 3 Mar 2020 16:42:31 +0000 (00:42 +0800)]
EMS simulator extension for PNF SW Upgrade
Change-Id: I3a8c706373f4004850c2403f4aee0d1f28aad464
Issue-ID: INT-1208
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Pérez Caparrós David [Thu, 5 Mar 2020 09:31:49 +0000 (10:31 +0100)]
Update BBS use case documentation
BBS use case documentation needs minor updates in Frankfurt release
Issue-ID: INT-1444
Signed-off-by: Pérez Caparrós David <David.PerezCaparros@swisscom.com>
Change-Id: I1c5f34f1e4c8b943e50a8fdeb7e440803a96a928
Bartek Grzybowski [Wed, 4 Mar 2020 14:45:08 +0000 (15:45 +0100)]
Fix pylint trailing whitespaces issues in vcpe python scripts
Change-Id: I8b1dbdb7bf5d2d12d0104dcabc200b8827b6fb8a
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 4 Mar 2020 13:45:30 +0000 (14:45 +0100)]
Remove unused imports in mass-pnf-sim.py
Change-Id: Idf48efd38395afc4fcb85d42e79a26f94f59a02b
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 4 Mar 2020 13:01:02 +0000 (14:01 +0100)]
Remove unused imports in vcpe python scripts
Unused imports are removed according to pylint report
or ignore rules are added where applicable.
Change-Id: I8c32b5c3f456f0444f8ec8980910d470b7238a7d
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
shashikanth.vh@huawei.com [Wed, 4 Mar 2020 06:36:18 +0000 (12:06 +0530)]
doc_CCVPN update for frankfurt
Change-Id: Ifecd0f8c24f59ffd8ab3e2e40ea3988fa7beb047
Issue-ID: INT-1469
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Reshmasree [Tue, 3 Mar 2020 11:30:39 +0000 (11:30 +0000)]
Update OOF SON use case documentation
Issue-ID: INT-1466
Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com>
Change-Id: I9d2dfac1d7244971553f79359466b2b3c104066d
Reshmasree [Tue, 3 Mar 2020 11:56:27 +0000 (11:56 +0000)]
Update E2E Network Slicing use case documentation
Issue-ID: INT-1468
Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com>
Change-Id: Ib7a1a363910594eea5fb85460a98478a36510dbf
ebo [Sun, 1 Mar 2020 23:41:37 +0000 (23:41 +0000)]
Fixed the SSH configuration of user 'netconf'
The actual SSH configuration is stored in Sysrepo and not as ordinary
~netconf/.ssh files.
Issue-ID: INT-1124
Change-Id: I7e16e09a20ac6f2d52c8958550603935b6790283
Signed-off-by: ebo <eliezio.oliveira@est.tech>
Bartek Grzybowski [Fri, 28 Feb 2020 13:09:43 +0000 (14:09 +0100)]
Add setup for YAML/JSON files linting
Tox based setup for running linters on YAML and
JSON files. It can be run manually to verify local
changes in _commited_ files.
Relevant CI job (created at Change-Id:
I4f130f6c68222d53dcf022f3fd4a2b41765eaf45) triggered
by change to any of yaml/json files leverages this
setup to run verify tasks.
Change-Id: I07845e3771c0246847184217a96dc90764595f17
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 26 Feb 2020 14:24:56 +0000 (15:24 +0100)]
Fix JSON files linter issues in test/mocks/pmsh-pnf-sim
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I7e7885840cfc51b4a556fe245fa2d69b88383216
Issue-ID: INT-1451
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 26 Feb 2020 14:19:26 +0000 (15:19 +0100)]
Fix JSON files linter issues in test/hpa_automation
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I86f68c5d25f5f521656995574bc516607f2160f4
Issue-ID: INT-1451
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 26 Feb 2020 14:18:52 +0000 (15:18 +0100)]
Fix JSON files linter issues in test/mocks/datafilecollector-testharness
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I144873a8511f38a4336b73ac19276b213207a9fa
Issue-ID: INT-1451
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 26 Feb 2020 14:18:11 +0000 (15:18 +0100)]
Fix JSON files linter issues in test/mocks/emssimulator
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I15ae608c0b88b8eced6c9f53914bf42355c82c50
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Wed, 26 Feb 2020 14:17:41 +0000 (15:17 +0100)]
Fix JSON files linter issues in test/mocks/mass-pnf-sim
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: Ia71dd28061b5e84c36c81bc1432ccd39ca8cc73a
Issue-ID: INT-1451
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 26 Feb 2020 14:16:20 +0000 (15:16 +0100)]
Fix JSON files linter issues in test/mocks/pnfsimulator
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: Ia5fadb693a74bc307d24c9de89131efcbb133ebe
Issue-ID: INT-1451
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 26 Feb 2020 14:14:25 +0000 (15:14 +0100)]
Fix JSON files linter issues in deployment
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I122783267f75b385f9f2ceee6381eb7331aadaf5
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Wed, 26 Feb 2020 14:13:39 +0000 (15:13 +0100)]
Fix JSON files linter issues in docs
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I80c967f4657fb80f1bc1f124a48295170ff44b8e
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Wed, 26 Feb 2020 14:07:39 +0000 (15:07 +0100)]
Fix JSON files linter issues in test/postman
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I6dfa144478c31702f5b306d9e2dad9bf0713a0fe
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Wed, 26 Feb 2020 14:04:08 +0000 (15:04 +0100)]
Fix JSON files linter issues in test/vcpe
This is needed prior to adding job for JSON
files linting in CI.
Change-Id: I408107e0dc58648f833b8d585acf0e414882c7dc
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Marco Platania [Fri, 28 Feb 2020 15:13:54 +0000 (10:13 -0500)]
Update integration-override
Issue-ID: INT-1462
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: Ia9774f37b8b5288d4cdf59cd5457c6f1ad318f6c
ebo [Thu, 27 Feb 2020 13:55:26 +0000 (13:55 +0000)]
Add PNF SW Upgrade module
This change contains only the module for the PNF SW Upgrade use case and
a sample docker-compose.yml showing how to start the new simulator with
this module attached.
Issue-ID: INT-1124
Change-Id: Ic4cd07a3b1020fd4b6195bf2bc9fc95e4157baaf
Signed-off-by: ebo <eliezio.oliveira@est.tech>
ebo [Thu, 27 Feb 2020 14:04:23 +0000 (14:04 +0000)]
Add NETCONF PNF Simulator Engine
Issue-ID: INT-1124
Signed-off-by: ebo <eliezio.oliveira@est.tech>
Change-Id: Ifb50a749992cbd662d579e1cb861bd8f55b3f808
Marco Platania [Tue, 25 Feb 2020 15:07:25 +0000 (10:07 -0500)]
Update docker image versions in override file
Issue-ID: INT-1414
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: I1132f9d4938338868eac75f8a092de9e560950ae
Bartek Grzybowski [Wed, 19 Feb 2020 12:37:31 +0000 (13:37 +0100)]
Fix YAML linter indentation errors in yaml files
Change-Id: I5548de0d7afb0e249ab8b6dbc93c102a2a2ac648
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Wed, 19 Feb 2020 11:18:07 +0000 (12:18 +0100)]
Fix YAML files linter errors for duplicated keys
Change-Id: I77bcf667d4a639b001258d026f2633fce2bfb0e6
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Wed, 19 Feb 2020 10:23:16 +0000 (11:23 +0100)]
Fix YAML files linter errors for superfluous spaces/new lines
Change-Id: Id2b6b0966e07104b32c98053de04bd359dfef803
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Wed, 19 Feb 2020 08:55:02 +0000 (09:55 +0100)]
Fix YAML files linter errors for trailing-spaces rule
Fixed files that had trailing spaces.
Change-Id: I40782bc3a934846372653a0086f1c1fe50bc02c3
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Tue, 18 Feb 2020 14:54:33 +0000 (15:54 +0100)]
Fix YAML files linter errors for new-line-at-end-of-file rule
Fixed files that lacked the end of file new line.
Change-Id: I552f408b88a3a529e25236b7118be3b5a5741c7e
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1451
Bartek Grzybowski [Thu, 20 Feb 2020 12:36:34 +0000 (13:36 +0100)]
Fix invalid escape sequence causing JSON validation failure
Change-Id: I7f7cef9bb30ce19f21e0c8d308bfdf0a04427630
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1437
DarraghEgan [Thu, 13 Feb 2020 12:13:42 +0000 (12:13 +0000)]
[INT-1437] : Incorrect characters causing issues
The policy section in the file
~/integration/deployment/heat/onap-rke/staging-image-override.yaml
has the wrong space characters/tabs that is
causing some issues for parsing the yaml file.
Issue-ID: INT-1437
Signed-off-by: DarraghEgan <darragh.egan@est.tech>
Change-Id: I5cc683e12e4bca29f8740ad6b43b2ee8a8414fa1
Jessica Wagantall [Thu, 6 Feb 2020 23:02:37 +0000 (15:02 -0800)]
Migrate integration docs
Merging this will create
https://onap-integration.readthedocs.io
This build will run in parallel
to the current docs generation method
until we are ready to cut over.
Issue-ID: CIMAN-364
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I41af18139b0e2fc20e3d86bc03e0331ea4b3058f
Bin Yang [Sat, 1 Feb 2020 11:06:52 +0000 (19:06 +0800)]
Fix invalid dash character for verbose flag
Change-Id: I0c816265c88e28a2f32e5c53afae51c18aa14b10
Issue-ID: INT-1217
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bartek Grzybowski [Mon, 10 Feb 2020 13:44:46 +0000 (14:44 +0100)]
Delete obsolete "csit" directory from repo
"csit" is now long time obsolete here and moved to it's
own repo so removing dir to clean up.
Change-Id: Ie18bc2aa3aae5ba1951111b9237ce516858d2df5
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1424
stark, steven [Thu, 30 Jan 2020 01:01:48 +0000 (17:01 -0800)]
[VVP] parameterizing devstack branch for install
- Also modifying default storage class override logic
Issue-ID: INT-1424
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: If8981f3a59437e21617edb30a6bca06ee6fa36a2
Bartek Grzybowski [Tue, 4 Feb 2020 14:09:29 +0000 (15:09 +0100)]
Add test to ensure all needed modules are provided by setuptools
Change-Id: I592a6bf393007612c263f6e54aabfcdb6738141a
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1427
Bartek Grzybowski [Tue, 4 Feb 2020 14:04:25 +0000 (15:04 +0100)]
Add tox config for vcpe scripts
This is a basic setup for tox that will run pytest tests
Change-Id: Icb15fbd30d7c13694866f447cd448a07195f4573
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1427
Bartek Grzybowski [Tue, 4 Feb 2020 11:16:38 +0000 (12:16 +0100)]
Define vcpe scripts dependencies via setuptools config
Dependencies definition is moved to setuptools so that
they can be consumed by both - vcpe automation scripts
setup and by testing framwewok.
Change-Id: Id9cfda52afc3527d2cd3be8cfcf3f82539468261
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1427
rajendrajaiswal [Thu, 6 Feb 2020 17:10:52 +0000 (17:10 +0000)]
Fix DFC csit failure
Change-Id: Iadf129b64c5ed6d51ce90666d23c7a4327e74991
Issue-ID: INT-1432
Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
Pawel Wieczorek [Mon, 3 Feb 2020 15:20:47 +0000 (16:20 +0100)]
Use ONAP core deployment type override in minimal Vagrant environment
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>
Pawel Wieczorek [Thu, 23 Jan 2020 11:13:44 +0000 (12:13 +0100)]
k8s: Drop support for Casablanca
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>
Pawel Wieczorek [Tue, 8 Oct 2019 12:43:47 +0000 (14:43 +0200)]
k8s: Drop process name trimming from etcd on RKE
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>
Pawel Wieczorek [Mon, 7 Oct 2019 15:00:49 +0000 (17:00 +0200)]
k8s: Mock etcd information collection
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>
Pawel Wieczorek [Thu, 3 Oct 2019 16:34:38 +0000 (18:34 +0200)]
k8s: Validate controller manager flags requiring appropriate values
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>
Pawel Wieczorek [Wed, 29 Jan 2020 16:07:13 +0000 (17:07 +0100)]
Add minimal Vagrant environment actual quickstart documentation
Issue-ID: ONAPARC-551
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Change-Id: I0e308d4486dfaa51e54bf69f79b85243766c397a
Pawel Wieczorek [Mon, 27 Jan 2020 16:32:20 +0000 (17:32 +0100)]
Make cluster removal fail softly
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>
Pawel Wieczorek [Fri, 24 Jan 2020 16:52:23 +0000 (17:52 +0100)]
Increase minimal Worker storage size
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>
Pawel Wieczorek [Fri, 24 Jan 2020 10:58:07 +0000 (11:58 +0100)]
Modify minimal Vagrant environment resources
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>
Pawel Wieczorek [Thu, 23 Jan 2020 16:55:17 +0000 (17:55 +0100)]
Increase inline provisioners configurability
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>
Pawel Wieczorek [Mon, 27 Jan 2020 16:34:05 +0000 (17:34 +0100)]
Ignore reverse-SSHFS mountpoint from file synchronization
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>
Pawel Wieczorek [Thu, 23 Jan 2020 16:20:49 +0000 (17:20 +0100)]
Add reverse-SSHFS-based file synchronization documentation
Issue-ID: ONAPARC-551
Change-Id: Ic22d32998ad0fc29867116827679e4c4181ba596
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Marco Platania [Fri, 24 Jan 2020 16:03:50 +0000 (11:03 -0500)]
Update APPC image tag
Issue-ID: INT-1414
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: Id532a57a1be0207cca90a9c2b3c111f191f0062e
Bartek Grzybowski [Wed, 29 Jan 2020 13:14:27 +0000 (14:14 +0100)]
Update vCPE doc with cloud settings details
Change-Id: Ie5dc08f9ac5f96ccec7520949c26c6c2687bf7e1
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1409
Bartek Grzybowski [Wed, 29 Jan 2020 13:11:43 +0000 (14:11 +0100)]
Remove cloud settings from vcpeconfig.yaml
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
Bartek Grzybowski [Wed, 29 Jan 2020 13:06:41 +0000 (14:06 +0100)]
Support reading cloud settings from clouds.yaml
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
Pawel Wieczorek [Tue, 28 Jan 2020 15:26:24 +0000 (16:26 +0100)]
Extend label matching for cluster node's External IP
This patch also fixes minor typo.
Issue-ID: SECCOM-261
Change-Id: I4326106f14381ec652eb493bf0a87fb1d82ea3fb
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
wsliwka [Thu, 21 Nov 2019 09:07:37 +0000 (10:07 +0100)]
Added mTLS support in pnf simulator
Issue-ID: INT-1372
Signed-off-by: wsliwka <wojciech.sliwka@nokia.com>
Change-Id: I3bb0f3fe3849da0a72377fde5c974f4b30abd199
wsliwka [Wed, 20 Nov 2019 12:20:08 +0000 (13:20 +0100)]
Latest changes to pnf simulator
- 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
stark, steven [Thu, 23 Jan 2020 22:34:26 +0000 (14:34 -0800)]
[INT] updating devstack install to use py3
- also fixing nova.conf post-config section
Issue-ID: INT-1419
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I9d4cfdf3d386a693e27c869a1326a80572a12323
rajendrajaiswal [Mon, 16 Dec 2019 14:24:02 +0000 (14:24 +0000)]
PNF Simulator to support Control Loop subscription model
Change-Id: I9919edb32f3f68f86fad28c908f808fcee3fc548
Issue-ID: INT-1312
Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
Marco Platania [Thu, 16 Jan 2020 22:08:10 +0000 (17:08 -0500)]
Update docker images in integration override
Issue-ID: INT-1414
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: Iabc25330dd803bedcaa8c321b5ff45619782884e
Pawel Wieczorek [Thu, 16 Jan 2020 15:21:02 +0000 (16:21 +0100)]
Add reverse-SSHFS-based file synchronization from Operator's machine
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>
Pawel Wieczorek [Mon, 13 Jan 2020 13:23:11 +0000 (14:23 +0100)]
Add minimal Vagrant environment development documentation
Issue-ID: ONAPARC-551
Change-Id: I1a6f6b998df755734a9c32fbe86473a72a45aae0
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Krzysztof Kuzmicki [Wed, 16 Oct 2019 07:03:28 +0000 (09:03 +0200)]
Integration doc for 5g pnp pnf use case
Issue-ID: INT-1333
Signed-off-by: krzysztof kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: Ic75ae09374ea806ea67526fba624c7a654c0aa10
Rene_Robert [Thu, 12 Dec 2019 16:41:17 +0000 (17:41 +0100)]
correct url in postman env
Issue-ID: INT-1340
Signed-off-by: Rene_Robert <rene.robert@orange.com>
Change-Id: Ia67dbe0787cce1e07462a7c35b0e1ad0ea64b04a
Pawel Wieczorek [Mon, 13 Jan 2020 16:20:15 +0000 (17:20 +0100)]
Add minimal Vagrant environment usage documentation
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>
Pawel Wieczorek [Tue, 7 Jan 2020 14:28:55 +0000 (15:28 +0100)]
Ensure Helm directory presence prior its first use
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>
Pawel Wieczorek [Fri, 10 Jan 2020 16:24:05 +0000 (17:24 +0100)]
Add Hound code search environment quickstart documentation
Issue-ID: ONAPARC-540
Change-Id: I618fcd994f2c6575ee4e388a78606ec59ec4fd02
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Bartek Grzybowski [Tue, 17 Dec 2019 14:30:10 +0000 (15:30 +0100)]
Update vCPE docs with script configuration details
Change-Id: I691a2ea3e51d76c8baf56818a9dc92d43e30e5a4
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
Bartek Grzybowski [Tue, 17 Dec 2019 14:09:26 +0000 (15:09 +0100)]
Support setting custom path to config file in helper scripts
Change-Id: I43b160cfc3d087a0e8b70c9fb4cafa3626f84db8
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
Bartek Grzybowski [Tue, 17 Dec 2019 12:16:43 +0000 (13:16 +0100)]
Support setting custom path to config file in vcpe.py
Change-Id: I9ec950413f323e6ed6dfb075f16b67d925ece047
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
Bartek Grzybowski [Mon, 16 Dec 2019 12:43:43 +0000 (13:43 +0100)]
Use argparse library to parse command line options
Change-Id: I75028c59109a9db902f7869ab1b987cc0c02e321
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
Bartek Grzybowski [Fri, 13 Dec 2019 09:27:38 +0000 (10:27 +0100)]
Fix VcpeCommon object instantiation
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
Bartek Grzybowski [Thu, 12 Dec 2019 15:39:58 +0000 (16:39 +0100)]
Add config for community lab running with OOM disabled
Change-Id: Id23f6fa50fdbeb103fb91514d9093163d07b9246
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
Bartek Grzybowski [Tue, 7 Jan 2020 13:38:36 +0000 (14:38 +0100)]
Remove unreferenced aaiutil.py file
Change-Id: I69e1385e0b7ef51ed372387b08b5c59c4e52c66a
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1399
Bartek Grzybowski [Tue, 10 Dec 2019 12:56:06 +0000 (13:56 +0100)]
Move site specific properties to config file
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