aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-11-12Updates for Casbalanca vcpe.pyBrian Freeman7-3/+187
Issue-ID: INT-717 Change-Id: I0d5978da205fcc02935e9547424578f90e5a5c38 Signed-off-by: Brian Freeman <bf1936@att.com>
2018-11-08Register custom workflow for vCPEYang Xu1-2/+2
Change-Id: I247e43234d5631d806bcca7c7bcfd78b1692e30e Issue-ID: SO-1189 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-06Add message router port for vCPE infra preloadYang Xu1-1/+5
Change-Id: Ibac82a1b469cc1d21b94aee568e8885ce00e2f31 Issue-ID: INT-713 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-05Update artifacts version in vcpe infra preloadYang Xu1-1/+1
Change-Id: Ida4dc27b0deafc639f294c83d7117b6d4edb8237 Issue-ID: INT-712 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-07-23Support vCPE automation in OOM-based envKang Xi4-42/+89
Change-Id: I716aa4718722c45160c5b002616ce03d4d0c6a59 Issue-ID: INT-593 Signed-off-by: Kang Xi <kang.xi@huawei.com>
2018-07-23Modified SDNC preload template for vGWKang Xi1-3/+7
Issue-ID: INT-509 Signed-off-by: Kang Xi <kang.xi@huawei.com> Change-Id: I74e003dc7910ee708ebd061711fb14831caab3a8
2018-05-30Support multiple customer instantiationKang Xi6-307/+367
Issue-ID: INT-509 Change-Id: I64a934b516f2290812f39c0df2a0d35027a5d553 Signed-off-by: Kang Xi <kang.xi@huawei.com>
2018-05-23Update to support new SO NBI APIKang Xi2-16/+53
- Use new version SO API - Add additional data to the request json, which is required by the new SO API Change-Id: I3ac846c92f07b9d95d4429b4d1b2280ae7e69b62 Issue-ID: INT-461 Signed-off-by: Kang Xi <kang.xi@huawei.com>
2018-05-10Add preload templatesKang Xi9-0/+887
Change-Id: Ic05e2282416920f30535621404866cf44271acc5 Issue-ID: INT-461 Signed-off-by: Kang Xi <kang.xi@huawei.com>
2018-04-13Initial code import for vcpe automation.Kang Xi10-0/+1648
Initial code import for vCPE use case automation. Source code was validated for Amsterdam release. Changes may be needed for Bejing. - Remove unneeded files: test.py and onap_dev Issue-ID: INT-461 Change-Id: Ifc2665bf8069fdcebd052cecc95266a4b831d2e8 Signed-off-by: Kang Xi <kang.xi@huawei.com>