aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/healthcheck-k8s.py
AgeCommit message (Collapse)AuthorFilesLines
2020-03-04Remove unused imports in vcpe python scriptsBartek Grzybowski1-1/+0
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>
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-09-25Fix hashbang in vCPE Python scriptsBartek Grzybowski1-1/+1
Change-Id: Id2b7ec151e1a006a5a85b8544e478fd9cf282715 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-220
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-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-13Improve vCPE test automationYang Xu1-1/+1
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-847 Change-Id: Ib5b0a547f1c228de4cee02f3526401028c10bff0
2019-01-02Fix mac address table access in vCPE healthcheckYang Xu1-12/+11
Change-Id: I01f7de6e9e0a26b25a91df125f31008091d0076f Issue-ID: INT-791 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-22Change vgw module name for vCPE test scriptYang Xu1-0/+0
Change-Id: I17308f23812cc1a335155fd4e9e789bed04dec00 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-11-12Updates for Casbalanca vcpe.pyBrian Freeman1-0/+36
Issue-ID: INT-717 Change-Id: I0d5978da205fcc02935e9547424578f90e5a5c38 Signed-off-by: Brian Freeman <bf1936@att.com>