diff options
author | Murali-P <murali.p@huawei.com> | 2017-04-21 14:13:23 +0530 |
---|---|---|
committer | Murali-P <murali.p@huawei.com> | 2017-04-21 14:13:23 +0530 |
commit | b1d4c7ffbc0463001dd9b66d4d768e869e364073 (patch) | |
tree | fe2c695c060d624da65f8fe670a972dfce963b99 /distribution/standalone/src | |
parent | c48cf0a80328a7cbc2759ddd0987e9b1a0def5da (diff) |
conf files missing in docker
Resolved:VNFSDK-21
VNF SDK function test
Change-Id: I83c397f3f532d3ea56bb55dc1303144495538f56
Signed-off-by: Murali-P <murali.p@huawei.com>
Diffstat (limited to 'distribution/standalone/src')
3 files changed, 33 insertions, 1 deletions
diff --git a/distribution/standalone/src/main/assembly/conf/robot/execute.robot b/distribution/standalone/src/main/assembly/conf/robot/execute.robot new file mode 100644 index 0000000..2b6261c --- /dev/null +++ b/distribution/standalone/src/main/assembly/conf/robot/execute.robot @@ -0,0 +1,17 @@ +*** Settings *** +Suite Teardown Close All Connections +Library String +Library OperatingSystem +Library SSHLibrary +Library BuiltIn + +*** Test Cases *** +Copy Directory from Local to Remote + Open Connection ${NODE_IP} + Login ${NODE_USERNAME} ${NODE_PASSWORD} + ${CommandToExecute} = Execute Command ${REMOTE_COMMAND} + SSHLibrary.Get Directory ${DIR_REMOTE_RESULT} ${DIR_RESULT} recursive=True + Close All Connections + + + diff --git a/distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json b/distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json index 2aa85b0..cc088da 100644 --- a/distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json +++ b/distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json @@ -1,6 +1,6 @@ { "FRAMEWORK_TYPE": "robot", "MAIN_SCRIPT": "main.robot", - "DIR_RESULT": "D:\\Pitchi_docs\\remote\\", + "DIR_RESULT": "/home/functest/result/", "DIR_REMOTE": "/home/root1/test/" }
\ No newline at end of file diff --git a/distribution/standalone/src/main/assembly/conf/robot/upload.robot b/distribution/standalone/src/main/assembly/conf/robot/upload.robot new file mode 100644 index 0000000..a034550 --- /dev/null +++ b/distribution/standalone/src/main/assembly/conf/robot/upload.robot @@ -0,0 +1,15 @@ +*** Settings *** +Suite Teardown Close All Connections +Library String +Library OperatingSystem +Library SSHLibrary +Library BuiltIn + +*** Test Cases *** +Copy Directory from Local to Remote + Open Connection ${NODE_IP} + Login ${NODE_USERNAME} ${NODE_PASSWORD} + SSHLibrary.Put Directory ${SCRIPT_DIR} ${DIR_REMOTE} 0777 CRLF recursive=True + + + |