aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2019-09-30 05:00:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-30 05:00:42 +0000
commit1d4b83754009114523cae90c759daffa9188eb3e (patch)
treef04dd900e8bf43406c6894c9bbed7d6485cfd236 /products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm
parent812b3cb79e7b4f0adff8f44b269cdfa679127c90 (diff)
parent08f6cbf5307459ac3e91fc2c98f9b76010b23d4a (diff)
Merge "Fix ovp lcm validation"
Diffstat (limited to 'products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm')
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-create-schema-moco.json10
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-delete-schema-moco.json10
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-delete-schema-sample.yaml9
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-instantiate-schema-moco.json12
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-instantiate-schema-sample.yaml14
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-terminate-schema-moco.json12
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-terminate-schema-sample.yaml14
7 files changed, 72 insertions, 9 deletions
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-create-schema-moco.json b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-create-schema-moco.json
index 07392582..9a7fd103 100644
--- a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-create-schema-moco.json
+++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-create-schema-moco.json
@@ -1,15 +1,7 @@
[ {
"request" : {
"method" : "post",
- "uri" : "/api/nslcm/v1/ns",
- "headers" : {
- "Accept" : "application/json",
- "Content-Type" : "application/json"
- },
- "json" : {
- "csarId" : "a3394090-c5b4-49b4-974c-00a6eac755ab",
- "nsName" : "vcpe1"
- }
+ "uri" : "/api/nslcm/v1/ns"
},
"response" : {
"status" : 201,
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-delete-schema-moco.json b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-delete-schema-moco.json
new file mode 100644
index 00000000..de6743cc
--- /dev/null
+++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-delete-schema-moco.json
@@ -0,0 +1,10 @@
+[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/api/nslcm/v1/ns/25f3159c-ff2d-4ad0-ac66-3270941bfa52"
+ },
+ "response" : {
+ "status" : 204,
+ "json" : null
+ }
+} ]
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-delete-schema-sample.yaml b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-delete-schema-sample.yaml
new file mode 100644
index 00000000..4ce418b8
--- /dev/null
+++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-delete-schema-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: vfc-nslcm-delete
+version: onap-dublin
+samples:
+ sample1:
+ name: vfc-nslcm-delete
+ input: --host-url http://localhost:12306 --ns-instance-id 25f3159c-ff2d-4ad0-ac66-3270941bfa52
+ moco: vfc-nslcm-delete-schema-moco.json
+ output: \ No newline at end of file
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-instantiate-schema-moco.json b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-instantiate-schema-moco.json
new file mode 100644
index 00000000..94a357b3
--- /dev/null
+++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-instantiate-schema-moco.json
@@ -0,0 +1,12 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/api/nslcm/v1/ns/25f3159c-ff2d-4ad0-ac66-3270941bfa52/instantiate"
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "jobId" : "7b06898d-e67a-4c9f-b1ce-90346ed6e520"
+ }
+ }
+} ]
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-instantiate-schema-sample.yaml b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-instantiate-schema-sample.yaml
new file mode 100644
index 00000000..bdda2352
--- /dev/null
+++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-instantiate-schema-sample.yaml
@@ -0,0 +1,14 @@
+open_cli_sample_version: 1.0
+name: vfc-nslcm-instantiate
+version: onap-dublin
+samples:
+ sample1:
+ name: vfc-nslcm-instantiate
+ input: --host-url http://localhost:12306 --ns-instance-id 25f3159c-ff2d-4ad0-ac66-3270941bfa52 --location OCOMP-lcm3_RegionOVP --sdn-controller-id 1
+ moco: vfc-nslcm-instantiate-schema-moco.json
+ output: |
+ +--------------------------------------+
+ |job-id |
+ +--------------------------------------+
+ |7b06898d-e67a-4c9f-b1ce-90346ed6e520 |
+ +--------------------------------------+
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-terminate-schema-moco.json b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-terminate-schema-moco.json
new file mode 100644
index 00000000..f7d43635
--- /dev/null
+++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-terminate-schema-moco.json
@@ -0,0 +1,12 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/api/nslcm/v1/ns/25f3159c-ff2d-4ad0-ac66-3270941bfa52/terminate"
+ },
+ "response" : {
+ "status" : 202,
+ "json" : {
+ "jobId" : "f479d5eb-82a1-4a1f-9174-e071ee46c841"
+ }
+ }
+} ]
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-terminate-schema-sample.yaml b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-terminate-schema-sample.yaml
new file mode 100644
index 00000000..e6bdfbce
--- /dev/null
+++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-sample/nslcm/vfc-nslcm-terminate-schema-sample.yaml
@@ -0,0 +1,14 @@
+open_cli_sample_version: 1.0
+name: vfc-nslcm-terminate
+version: onap-dublin
+samples:
+ sample1:
+ name: vfc-nslcm-terminate
+ input: --host-url http://localhost:12306 --ns-instance-id 25f3159c-ff2d-4ad0-ac66-3270941bfa52
+ moco: vfc-nslcm-terminate-schema-moco.json
+ output: |
+ +--------------------------------------+
+ |job-id |
+ +--------------------------------------+
+ |f479d5eb-82a1-4a1f-9174-e071ee46c841 |
+ +--------------------------------------+