Introduce Keywords for flexible SSH login
authorVratko Polak <vrpolak@cisco.com>
Thu, 13 Aug 2015 16:22:50 +0000 (18:22 +0200)
committerVratko Polák <vrpolak@cisco.com>
Wed, 19 Aug 2015 12:37:54 +0000 (12:37 +0000)
commitf135d7b0231a67ad1a5353cd9d4333f7942b1754
tree27e8b9b72c0cc440c2353fee9833c01c0f081119
parentca3569a749c6d8d3cf8a1bdbd18fe52a0550aabf
Introduce Keywords for flexible SSH login

Some environments require to use public keys for SSH authentication,
other environments do not have known_hosts prepared for that.

This change introduces *_PASSWORD variables to Variables.py
which by default are empty; and Utils.robot now have
"Flexible" keywords that choose Login method
based on presence of non-empty password.

This change should not require edits in existing suites.

Change-Id: Ibe077c5af32570bce285cf5dcda84042fe3651ec
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 59463500c53326221de6cbf4f1b0f48a27b3ae91)
test/csit/libraries/KarafKeywords.robot
test/csit/libraries/Utils.robot
test/csit/variables/Variables.py