summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/vnfsdk-marketplace
diff options
context:
space:
mode:
authorMurali-P <murali.p@huawei.com>2017-08-03 18:08:44 +0530
committerMurali-P <murali.p@huawei.com>2017-08-03 18:08:44 +0530
commitb73e6141c5f03f95cd39c6f1b8d44908f35b9467 (patch)
tree38323fc0daf7687de5a90d84d3a54ec71be2ffde /test/csit/tests/vnfsdk-marketplace
parent0146bff780af110d4183de8178ebdf7537545239 (diff)
Initial CSIT test case
Resolved:VNFSDK-53 VNF SDK market place Change-Id: Idffd5e7ee278f806b793eac4632d4f951c742bf4 Signed-off-by: Murali-P <murali.p@huawei.com>
Diffstat (limited to 'test/csit/tests/vnfsdk-marketplace')
-rw-r--r--test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot b/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot
new file mode 100644
index 000000000..5a314b519
--- /dev/null
+++ b/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot
@@ -0,0 +1,19 @@
+*** settings ***
+Library OperatingSystem
+Library Process
+
+
+*** Variables ***
+${csarpath} ${SCRIPTS}/../plans/vnfsdk-marketplace/sanity-check/enterprise2DC.csar
+${upload} ${SCRIPTS}/../plans/vnfsdk-marketplace/sanity-check/uploadCSAR.sh
+
+
+*** Test Cases ***
+Upload CSAR to marketplace repository
+ [Documentation] Upload the VNF Package
+ ${status}= Run curl -i -X POST -H "Content-Type: multipart/form-data" -F "data=@RobotScript.zip" http://${MSB_IP}/openoapi/vnfsdk/v1/functest/
+
+E2E Test case for VNF SDK
+ [Documentation] Upload the VNF Package
+ ${status}= Run Process bash ${upload} ${MSB_IP} ${csarpath} > log.txt shell=yes
+