aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-05-04pnf-sw-upgrade: fix lock-protected update of yang moduleebo1-54/+50
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>
2020-05-01update the integration doc for vCPEzhaoliping1236-12/+18
Issue-ID: VFC-1668 Change-Id: Id66215e9b12a5aa5ac8d99ab734bd51c0bb3b1fc Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
2020-04-30Add csa as binary in .gitattributesmrichomme1-0/+1
Issue-ID: INT-1572 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: If307c3028372fc729aa848ff8d2b4042442aa313 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-29update the integration doc for vCPEzhaoliping12316-102/+125
Issue-ID: VFC-1668 Change-Id: I5fc41873f7a31e4c67669ea8bb07b674bc434cec Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
2020-04-29update docs_vCPE_tosca_local.rstzhaoliping1231-8/+8
Issue-ID: INT-1285 Change-Id: I6a365b56207ae3d21e8a6601f1110914d841160c Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
2020-04-28Documentation for vFW In-Place Upgrade with TDLukasz Rajewski10-194/+383
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>
2020-04-27Exclude VFC-redis from xfail listmrichomme1-0/+1
Issue-ID: INT-1564 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I32d9e25e4d4d0bfab7fdfa5979db266a0826604c Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-23[INT] updating aks install w/ master passstark, steven9-14/+28
- 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
2020-04-22Add vcpe tosca local mode casezhaoliping12318-4/+898
- 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>
2020-04-20Leverage pytest parametrize mark in test_rest_api_endpointsBartek Grzybowski1-34/+17
Change-Id: Ia29f79227e21e623489a7b340496f18def5f7a52 Issue-ID: INT-1529 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-20Leverage pytest parametrize mark in test_bad_prefix testBartek Grzybowski1-21/+13
Change-Id: I0c0ea8612e0f0ac6b2198dc78908bd604f5ad61c Issue-ID: INT-1529 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-20Leverage pytest parametrize mark in test_bad_moi_class testBartek Grzybowski1-19/+8
Change-Id: I7218c5ca61669197d1e79189e841b0062524c02d Issue-ID: INT-1529 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-20Refactor test_unauthorized() to leverage pytest parametrize markBartek Grzybowski1-18/+11
Change-Id: I52079b276332c0bf2ffcea047ab8129066aff185 Issue-ID: INT-1529 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-20Resize CLAMP pictureMarco Platania1-0/+0
Issue-ID: INT-1536 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I27a213493377c4af80f914f3d8983b6d37ee6da1
2020-04-20netconf-pnp-simulator: fix sysrepod crash on TLS reconfigebo21-20/+527
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>
2020-04-18Fix link in RST file for Scale Out docMarco Platania27-44/+63
Issue-ID: INT-1536 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Ic16b339332033cd487cf19458464c1dc86c61d65 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-16Add test to verify bad API prefix handling by the serviceBartek Grzybowski2-0/+33
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>
2020-04-16Add test to verify bad MOI handling by the serviceBartek Grzybowski2-0/+30
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>
2020-04-16Add test to verify unauthorized requestsBartek Grzybowski3-1/+27
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>
2020-04-16Fix invalid prefix check handlingBartek Grzybowski1-20/+28
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>
2020-04-16Return http 404 for wrong prefix, not 401Bartek Grzybowski1-4/+8
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>
2020-04-15Move tests to their own directoryBartek Grzybowski9-24/+30
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>
2020-04-15Add tox runner for pytest in prov-mns-providerBartek Grzybowski2-0/+12
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>
2020-04-15Extend unit tests for provisioning management serviceBartek Grzybowski1-0/+25
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>
2020-04-15Add unit tests for provisioning management serviceBartek Grzybowski1-0/+49
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>
2020-04-15Fix rst errorsmrichomme18-70/+76
- Modify the linter to use sphinx linters (no coala bean) - Fix all broken links - fix minor rst issue - Add regex in ignore link (for ONAP URL and frankfurt doc) The rst target defined in tox will execute 3 steps: - local build of the documentation - check of the url Note 1: for the moment the Warning have not been turned into Error Note 2: frankfurt exeption shall be removed when frankfurt branch is available Issue-ID: INT-1523 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I6d7ad9d293a1b5c01f05a021d9a6f3767d04e62f Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-15netconf-pnp-simulator: enable NETCONF send/recv message loggingebo20-77/+717
to aid troubleshooting integration with OpenDaylight - Add more integration tests - Defaults to generic subscriber Issue-ID: INT-1516 Change-Id: Ib5bbf4cdbba6cdfee901f6c07dfa195a21cd8bbb Signed-off-by: ebo <eliezio.oliveira@est.tech>
2020-04-15Upgrade netconf-pnp-simulator image tag to 2.8.2Bartek Grzybowski4-4/+4
Change-Id: I430b3c8743d103f5e4bb6396a151495cc31843d6 Issue-ID: INT-1508 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-14Fix integration markdown errors for lintermrichomme19-364/+371
Issue-ID: INT-1523 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I2be0865395b12e1f277834b0c096f5d183cb5056 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-14netconf-pnp-simulator: normalized image referenceebo2-4/+2
Required change for the forthcoming fix on tox execution in ci-management/jjb/integration/integration-docker.yaml Issue-ID: INT-1124 Change-Id: I70c3351e5cf691a9eaeb7b49ec276d825016e0fa Signed-off-by: ebo <eliezio.oliveira@est.tech>
2020-04-14netconf-pnp-simulator: fix invalid ref to libssh v0.8.8ebo2-6/+5
This version was upgraded to 0.8.9 on 2020-04-09. Fortunately the new 0.9.4 fixes the bug that was forcing us to use the old 0.8.x Issue-ID: INT-1124 Change-Id: I6dacac8925af047d2e5342a76da6eb221074ddd9 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2020-04-10WIP: Add rst and md linters in toxmrichomme2-1/+28
Issue-ID: INT-1523 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ifcce4fa5985df52fd66414f5842f50e21a79006a Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-10Update A1 Adaptor section to user guideDongho Kim2-0/+56
Change-Id: I6b1d1173bcb2c9e190584445fde561b204e8664c Signed-off-by: Dongho Kim <dk5913@att.com> Issue-ID: INT-1503
2020-04-10remove CLI from https xfail listmrichomme1-2/+0
Even if CLI got a NO GO for frankfurt, docker update is planned to fix security issues for frankfurt As a consequence, CLI must be removed from the xfail list Issue-ID: INT-1480 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I78dccd2bdabe05515ff8ab64d30e9e5d6f97e74b
2020-04-10Update pnf-sw-upgrade module to latest engine v2.8.1ebo4-12/+13
- Using loguru to follow new recommend standard - Renamed Yang model filename to comply with https://tools.ietf.org/html/rfc6020#section-5.2 - Renamed initialization data to reflect the target datastore Issue-ID: INT-1516 Signed-off-by: ebo <eliezio.oliveira@est.tech> Change-Id: Ifde9e832b6a308dc918e3a84e03bfd43ad0f9b63
2020-04-09Automation adds docs_postman.rstAric Gardner1-1/+1
Issue-ID: CIMAN-376 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I253073cc5d5a589b4225a489906588cedd8c49e3
2020-04-09Remove orphaned entry for pnfsimulator from Coala configBartek Grzybowski1-2/+0
Change-Id: Ib506dbc82e86ec02f8b1b118c3b9dfcf3209e7c2 Issue-ID: INT-1517 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-09Remove old PNF simulatorBartosz Gardziejewski238-16902/+0
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I235b0fdf12b265a256c371126e218826e74a9133
2020-04-08Automation adds release-notes.rstLF Jenkins CI1-0/+1
Add _release_notes hook to allow automation. Fix non valid release notes characters in content. Issue-ID: CIMAN-376 Change-Id: If2f0b5ae09d97a282d9acfd3c32971148d674a79 Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-08Automation adds index.rstLF Jenkins CI1-0/+1
Issue-ID: CIMAN-376 Change-Id: I1d2fc58d6f559471fffeb23c398d9903923d2eeb Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-08netconf-pnp-simulator: convenient TLS and SSH configurationebo25-485/+936
- Simple SSH and TLS configuration. Instead of specific Netopeer2 XML configuration files, the user only needs to provide: For SSH: id_XXX.pub For TLS: server_key.pem, server_cert.pem, and ca.pem - SSH and TLS can be reconfigured at runtime by running /opt/bin/reconfigure-ssh.sh and /opt/bin/reconfigure-tls.sh respectively - Improved log readability by using zlog (on C applications) and loguru for Python See the updated documentation under ../docs for more information. Issue-ID: INT-1516 Change-Id: I21052d2524f0610c6197875a544113cce1a02787 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2020-04-06Remove deprecated options from virtualenv invocationBartek Grzybowski2-3/+3
--no-site-packages and --distribute are marked DEPRECATED and retained only for backward compatibility so removing. Change-Id: I3cc66b5c09363d5b982537cc28b8f66609743121 Issue-ID: INT-1508 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-03Add docs for PNF Software upgradewangyaoguang2-4/+54
It contains documentation for two sub-scenarios of PNF Software upgrade, enhancement on PNF SW upgrade using ansible and with netconf/yang interface with EM. Issue-ID: INT-1209 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com> Change-Id: I6e1ad2464d9f0d607d5f7f14d8fb1c51afc90814
2020-04-02Update SO and VID docker versionMarco Platania1-11/+11
Issue-ID: INT-1462 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I49d3fc837e58c9e2f8b879c04c84317e8bd320ba
2020-04-02add docs for 5G NRM Configurationwangyaoguang2-0/+43
Documentation for 5G NRM CM Issue-ID: INT-1514 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com> Change-Id: I56b579abaf18897961b1eefa4aa4b8490979bf87
2020-04-02Upgrade netconf-pnp-simulator tag to 2.6.2 for netconf-pnp-pmshBartek Grzybowski1-1/+1
Tag 2.6.1 is no longer available. Change-Id: I5a2cb51d21b4c6d75aff387e87976ede184a92b2 Issue-ID: INT-1508 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-04-01Update SDC and Portal docker image versionMarco Platania1-12/+12
Issue-ID: INT-1462 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Ib50de36def25dd4b4330c8a5bcccf453b767efe8
2020-04-01Upgrade netconf-pnp-simulator tag to 2.6.2 for ems-netconf-swmBartek Grzybowski1-1/+1
Tag 2.6.1 is no longer available. Change-Id: Ia2ce3f2d1d25e5f941cd2b49ed213445960e8a04 Issue-ID: INT-1508 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-31Grant a waiver for SO 30277Krzysztof Opasiak1-0/+2
As discussed during SECCOM call on 31.03.2020 SO team pushed hard to finialize AAF integration in F but failed due to AAF issues. Per TSC decision they should be granted a waiver as a project which has been impacted by AAF Issue-ID: OJSI-138 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I46028f2d3de80f5ca7dc274cf6af26000b766f32
2020-03-31fix integration doc warningmrichomme12-198/+197
Issue-ID: INT-1490 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I9153da660ae469c0bd3ed51cfebd912b6e4b9bf2 Signed-off-by: mrichomme <morgan.richomme@orange.com>