summaryrefslogtreecommitdiffstats
path: root/testcases/vPing/CI/libraries/vPing2.py
AgeCommit message (Collapse)AuthorFilesLines
2016-02-10Rename the vPing scripts proplery and adapt documentationjose.lausuch1-607/+0
Change-Id: Idb498eb7cefd938006661f42f1bf1772395d9d47 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-02Create security groups with ICMP and SSH rules for vPing testsjose.lausuch1-17/+59
JIRA: FUNCTEST-133 Some installers don't allow icmp and TCP port 22 (SSH) in the default security group. To avoid any dependency with the installer, vPing will create its own security group with those rules and delete it afterwards. Change-Id: I6f31f21c240d80eed8bead638af51aa7e1e92aad Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit ab3413a15aeb3b3669da94fa383ec07212eeb915)
2016-02-02Report vPing timeouts to the DB with duration = 0 and test status=NOKjose.lausuch1-19/+20
JIRA: FUNCTEST-132 Change-Id: Ida0c485504fd07db29b0c33ac59da6944da303a9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 5bb53025a593bbda834ef6ad325faba5aa073f7f)
2016-01-27Remove possible message "No handlers could be found for logger paramiko"jose.lausuch1-0/+1
Change-Id: Ib6324b96489551cd88eb1639cb61d38bff898638 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 438a29faf556a9dcc2a304180ce77a32cc748e35)
2016-01-27FUNCTEST-128CNlukai1-1/+1
Modify the ssh output match Change-Id: Ic21823781aa77bdc216dac4c048cd04884516a53 Signed-off-by: CNlukai <lukai1@huawei.com> (cherry picked from commit 77e92f96dd56659d14d496d86d3814ea69fb2b3d)
2016-01-27FUNCTEST-127CNlukai1-16/+21
FIx the condition judgment of vping Change-Id: I58abace66fb73e0531affc651194473718dfacd5 Signed-off-by: CNlukai <lukai1@huawei.com> (cherry picked from commit ecc77fad440a63627755e7ff042a98f34f3e9b75)
2016-01-26Add timeout in paramiko ssh commandjose.lausuch1-6/+6
Change-Id: I7ef30c08a2335400a79b8a7baf91a27e5eea02e1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit a43fac229e1be8c6af2c72a4be9d9c1c95614d21)
2016-01-26Replace 'No vPing detected' by a better understandable messagejose.lausuch1-4/+3
Some people got confused about that message although the test succeded Change-Id: I9bdbb5545f06e85805f29b3dfca6156da86c3ffb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit c208b3c1104fc210d73eabf6361efbd3ea62e265)
2016-01-26Add whitespace in the vPing2 commandjose.lausuch1-1/+1
Change-Id: I5bf8eb21e5b09238e1281a1cd292444e9cb2df05 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit f4a91d2805ead7991616d7cebdaa607d15f6f60d)
2016-01-26Use paramiko library to SSH and SCP the instances in vPing2jose.lausuch1-26/+57
Change-Id: I584c24fee5eae072c6885967170e5aded5fce172 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit e4b116d2054966e158ac647eea332aba8b84b89f)
2016-01-22Put scenario in version field on the Test DB (rather that git indication)Morgan Richomme1-2/+2
Change-Id: I22f7ff3841d7fca637e400d92926d2e1b1755371 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 59063638116508f7ce4f7612def938bb9eb0e938)
2016-01-20Added vPing2 using SCP and SSH instead of nova userdatajose.lausuch1-0/+528
Change-Id: I194f88a4d213e5ad2225241420a9254878f4f7f4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 625dde8e972f2586e986a46225ce87ebd3823b79)