Introduce Keywords for flexible SSH login 52/25252/8
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)
commit35975d0ccc43366115c45b613084085c339e85a1
treec4008e36de3a62b48a8899255327c851b3da323d
parentf8423a1fb1e7d9f6f2ba2b2fab0810fea5667c87
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