summaryrefslogtreecommitdiffstats
path: root/distribution/standalone/src
diff options
context:
space:
mode:
authorMurali-P <murali.p@huawei.com>2017-04-21 14:13:23 +0530
committerMurali-P <murali.p@huawei.com>2017-04-21 14:13:23 +0530
commitb1d4c7ffbc0463001dd9b66d4d768e869e364073 (patch)
treefe2c695c060d624da65f8fe670a972dfce963b99 /distribution/standalone/src
parentc48cf0a80328a7cbc2759ddd0987e9b1a0def5da (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')
-rw-r--r--distribution/standalone/src/main/assembly/conf/robot/execute.robot17
-rw-r--r--distribution/standalone/src/main/assembly/conf/robot/robotMetaData.json2
-rw-r--r--distribution/standalone/src/main/assembly/conf/robot/upload.robot15
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
+
+
+