aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe
AgeCommit message (Collapse)AuthorFilesLines
2019-12-06Insert SDNC ip pool automatically only if oom_mode is enabledBartek Grzybowski1-11/+15
Change-Id: Ia1fe923f877cf76e51bcc1f23c9bf562a877b112 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-222
2019-12-06Insert vcpe customer service workflow into SO catalogdbBartek Grzybowski3-21/+27
Customer service workflow entry will be automatically inserted into catalogdb database if running with oom_mode set to True. So database endpoint properties were updated to reflect current catalogdb location. vCPE doc updated to reflect the changes made. Change-Id: I54ef0bf94ccf2d38501c1b854cafe4d388a4b35d Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-205
2019-11-20Fix logic for finding brg vnf template fileBartek Grzybowski1-5/+13
Change-Id: I0e31cc0a0a71a08a74ec56f4aa17321eb8d8c7ba Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1345
2019-11-19Add identity-url to region data in AAIBartek Grzybowski4-0/+104
This change automates the process of updating region data with identity-url Change-Id: Ibda9ac8d1bbe1a489d496a5f293aafdebb73d416 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: SO-2308
2019-11-19Get the BRG MAC address automaticallyBartek Grzybowski2-10/+20
Sdnc db port was also adjusted as there's no sdnc-db service anymore (since OOM-1651) Change-Id: I154463224777f6fd76f5380253aa9130224fe3e4 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1365
2019-11-18Set gra_api to 'False' by defaultBartek Grzybowski1-2/+2
It can be True only after DGs are updated for GRA-API infrastructure. Change-Id: Ibda82ae14680387e07c5bd5525259b7cc9dfd092 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1345
2019-11-18Disable InsecureRequestWarning from requests libraryBartek Grzybowski2-2/+6
Globally disable InsecureRequestWarning coming from requests library for both pre 2.16.0 and for >= 2.16.0 versions. Change-Id: Ibf4e749086265e8726e90a2f8b4c1c9df3b2c55d Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-227
2019-11-15Add missing networkgraBrian Freeman1-0/+33
Issue-ID: INT-1345 Change-Id: I18c48a9f716c3a4c0bd6e7756f5df325aaee39e3 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-11-14Initial GRA_API SupportBrian Freeman8-26/+746
Updated after testing in integration-release-daily Issue-ID: INT-1345 Change-Id: I61410e97d244ec7a736722727e11764fb5f3f5a9 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-10-30Fix failures return codes in vcpe scriptsBartek Grzybowski4-23/+23
Conditional exits on failures should return with non zero exit code for better behavior in testing pipelines. Change-Id: Ied2e699a2cd38cc741e6d9d9a5c88082f09fa549 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-226
2019-10-24Make SDNC ip pool insertion idempotentBartek Grzybowski1-1/+1
This ensures that subsequent 'vcpe.py init' invocations do not complain about duplicate entry in sdnctl databse (entries are not reinserted, INSERT statement is just noop in this case). Change-Id: I8def8eab1e04026e8ee2206aa11fe2644b35d609 Issue-ID: TEST-222 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-10-24Use VcpeCommon.host_names in get_oom_onap_vm_ip routineBartek Grzybowski1-2/+1
List of host names to iterate over in search for a vm ip in get_oom_onap_vm_ip() should be identical to the globally defined host names. Change-Id: I60e1a2d77d683b81ae480499ce357dd812e8694f Issue-ID: TEST-225 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-10-18Add usage description for 'noloss' optionBartek Grzybowski1-1/+2
Change-Id: I454d21fe90511d20e1e25a62bb2943ccd59e52c6 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1325
2019-10-18Switch oom_mode to False by defaultBartek Grzybowski1-1/+1
Vcpe scripts should be run from Rancher node where it has direct access to k8s cluster ips and service endpoints so that calls for oom_mode to be set to 'False'. Change-Id: I8edc0f363d7d32f28b070b0de87a3e2eab8223ff Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1339
2019-10-16Automate SDNC ip pool insertion into databaseBartek Grzybowski3-0/+50
This patch automates SDNC ip pool generation in sdnctl database in the scope of vcpe.py 'init' stage. Change-Id: I6322ff2dadb069991be0eddbb0cf415baa7984f6 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-222
2019-10-10Fix setting onap namespace and environment name separatelyBartek Grzybowski1-2/+3
Onap namespace and environment name can be distinct on a per deployment basis and this allows to set them accordingly. Change-Id: Id1b6fdc4f3b4c159117536187197cb308527f8d2 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1323
2019-10-07Automate curl installation in sdnc container (vCPE)Bartek Grzybowski1-2/+16
Curl package will be automatically installed be the healthcheck-k8s.py script. Change-Id: I7fc5579524c7519f6153b02d0de0000dc0138992 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1313
2019-10-03Fix SSL cert verify for SDNCBrian Freeman1-1/+1
Issue-ID: INT-1265 Change-Id: I7c36dc479b73a8b663cae4472ed29182d0f6672b Signed-off-by: Brian Freeman <bf1936@att.com>
2019-10-01Refactor setup script for preparing vCPE tools runtime envBartek Grzybowski1-12/+37
Script is now more generic and allows proper setup of vcpe scripts runtime environment on Ubuntu 16.04/18.04 and on Centos/Rhel 7.6. Change-Id: I7b7d944f5a6a7a9dc45921082f908a1f8aa185a1 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-203
2019-09-25Fix hashbang in vCPE Python scriptsBartek Grzybowski12-13/+15
Change-Id: Id2b7ec151e1a006a5a85b8544e478fd9cf282715 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-220
2019-09-25Automate vCPE closed loop policy pushingBartek Grzybowski4-10/+105
Added a library routine to set up CL policy in an idempotent fashion. Description of CL pushing related manual step was removed from documentation. Change-Id: I1fad5d71481252ce803dd58c6ccbbcfa0a4d246f Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1267
2019-09-20SDNC SSL port, BRG category, DEBUGBrian Freeman2-7/+9
Issue-ID: INT-1265 Change-Id: I4ea7bf282b7d8aad58645784317dea9edf373cff Signed-off-by: Brian Freeman <bf1936@att.com>
2019-09-18Updates for ssl sdcBrian Freeman2-8/+8
Issue-ID: INT-1265 Change-Id: I64971740c8ae9aee60a06ca1d0e5ff02ccbc9a88 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-09-13Refactor healthcheck-k8s.pyBartek Grzybowski1-17/+23
Error reporting was improved by returning actual error message from subprocess call to 'kubectl' command. Code readability was improved by defining a dictionary of endpoint names to check and their IPs. Unsecure 'shell=True' property in Popen constructor for kubectl command in SDNC DB was removed and command string itself sanitized. Overall code readability was improved by reusing common commands in a loop. Change-Id: I19f8f71e27196bb55a9be3d58cd0885ceba3af0c Issue-ID: TEST-213 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-09-13Fix mispelled routine name in vcpe scriptsBartek Grzybowski2-2/+2
headbridge -> heatbridge Change-Id: I49cc3af80b74a9d03612625be2a35e039e6d28e1 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: DOC-549
2019-09-13Remove hardcoded SDNC pod name in vcpe scriptsBartek Grzybowski1-5/+5
Sdnc pod name is set as a property in VcpeCommon class and it should be used across the script. Also removed hardcoded public net prefix in get_pod_node_public_ip and use class property where it's assigned. Change-Id: I0308c808a764ff114fc43591aed34d9695207fe5 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-212
2019-09-12Better specifying parts supposed to be changedMichal Ptacek1-11/+33
Following params are needed minimum required to be changed or cross-checked when vCPE is tried in different lab Change-Id: I911acc682560c9a727d2e14ae1d4a22206d6e6f8 Issue-ID: TEST-208 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-09-12Improve external_net_addr property description in vCPE scriptsBartek Grzybowski1-0/+4
Change-Id: Ie06109bb5c62d4132a5db8c6cfeb9d4c297d05a5 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-208
2019-09-10Update healthcheck-k8s script synopsis in vCPE manualBartek Grzybowski1-5/+4
This reflects changes made in regard of input parameters done in Change-Id: Ib6e2875f351f095bd64acd706a6060e169c54e79 Also contains minor fix for 'namespace' and 'environment' vars usage which are unused otherwise. Change-Id: Ie479400dfa0d61c89a256d4aafb2c2d184f9b935 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1213
2019-08-20Making environment name configurable in vcpe healthcheckMichal Ptacek1-11/+26
Improving handling of arguments in healthcheck-k8s.py, making environment name configurable. Issue-ID: INT-1213 Change-Id: Ib6e2875f351f095bd64acd706a6060e169c54e79 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-26Clean up vCPE scriptYang Xu8-71/+23
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-847 Change-Id: I1158442cd73c6e0d943e9cc111cb12dae1381d36
2019-06-13Improve vCPE test automationYang Xu5-6/+27
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-847 Change-Id: Ib5b0a547f1c228de4cee02f3526401028c10bff0
2019-05-01Update expired image in manifest-stagingYang Xu1-0/+0
Change-Id: I5353d2a3053245d0df24d89ba5290370c85fdf16 Issue-ID: INT-1052 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2019-04-30Add allotted resource subcategory BRG in SDCYang Xu3-15/+69
Change-Id: I1c361215ba086afe7444a5c457ba08aedf9fddcd Issue-ID: INT-847 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2019-04-29Download vCPE service csar from SDCYang Xu4-2/+74
Clean up import Change-Id: I1a1be9b0528858fc30106978153e0af132675f93 Issue-ID: INT-847 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2019-01-02Fix mac address table access in vCPE healthcheckYang Xu2-13/+12
Change-Id: I01f7de6e9e0a26b25a91df125f31008091d0076f Issue-ID: INT-791 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-12-31Use Openstack novaclient API in vCPEYang Xu2-6/+34
Change-Id: Ia9a8a704b239d7372cc864732193072cf5fecfa1 Issue-ID: INT-791 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-12-30Automate pod cluster node ip retrievalYang Xu2-12/+51
Change-Id: I8e644798fefa180a26da4c2cb4607467810f964a Issue-ID: INT-791 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-12-28Fix issue when creating SNIRO configurationYang Xu2-16/+16
Change-Id: I739ce90b975bc820f007858bd9d2b49f39150301 Issue-ID: INT-789 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-12-02Use Casablanca released artifacts for vCPE VNFsYang Xu9-33/+41
Change-Id: I7bf82229b0e5cb8a02e0b5a0c8651c468cd3c436 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-27Serveral changes in vCPE testing scriptYang Xu4-7/+25
To work with automated vCPE model distribution robot, several changes are made 1. Add image name and flavor in preload data 2. Shorten instance name for rescust service 3. Pass in ip as command line input to cleanvGMUX.py Change-Id: I6f7c8ae711afbc4665e2de72b6abae7969eecb5c Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com> (cherry picked from commit 105db515bbcc2f9a2c6b0363b866af24837cc4ac)
2018-11-22Change vgw module name for vCPE test scriptYang Xu9-11/+14
Change-Id: I17308f23812cc1a335155fd4e9e789bed04dec00 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-22Add a script to clean up VPP vxlan interfacesYang Xu1-0/+64
Change-Id: Iee0725d9a3187d06b70c9d40d1fd13895ff4655c Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-20Fix issues in vcpe test scriptYang Xu10-20/+31
1. SDNC GRA url issue 2. Add mr ip and port to prepload 3. Allow SO service_recipe table to be populated 4. Add SDNC ip to preload 5. Add vfmoduleName section in SO request 6. Set Generic NeutronNet shared as False Change-Id: Iba4ff695759ceab53e33367092b6b59678e082e7 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com> (cherry picked from commit 1a0a0466716419880ab6b1fc6a94ec82a2966cb0)
2018-11-19Fix preload for MRBrian Freeman1-0/+2
Issue-ID: INT-717 Change-Id: I820a1f21404c488f2efa730ace75fb287370fe8a Signed-off-by: Brian Freeman <bf1936@att.com>
2018-11-14Retrieve SDNC oam ip from k8sYang Xu1-1/+1
Change-Id: Ib2083effe91bff4b84a4e7d1c71034360a0c2fe1 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-14Retrieve SDNC oam ip from k8sYang Xu1-10/+17
Change-Id: Ie72d19432f293bbfce9ae8b8c3cbcc7937bce8e8 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-13fixes from vCPE testingBrian Freeman10-14/+86
Issue-ID: INT-717 Change-Id: If2c44e08288eee955b7a3548a802be37a15a601e Signed-off-by: Brian Freeman <bf1936@att.com>
2018-11-12Fix brg image and usageBrian Freeman2-70/+71
Issue-ID: INT-717 Change-Id: Ia3a4247548d820f5f00eaff480cfba07e21008a5 Signed-off-by: Brian Freeman <bf1936@att.com>
2018-11-12Update nodeports ; fix typo in preload.pyBrian Freeman6-11/+11
Issue-ID: INT-717 Change-Id: Ic3398239c20cb268480b4f67c5ec21074119a0b8 Signed-off-by: Brian Freeman <bf1936@att.com>