aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json21
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml10
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-archive-schema-dublin-moco.json21
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-archive-schema-dublin-sample.yaml10
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-moco.json24
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-sample.yaml10
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-moco.json20
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-sample.yaml27
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json15
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml22
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json4
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml22
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-moco.json34
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-sample.yaml59
14 files changed, 138 insertions, 161 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json
new file mode 100644
index 00000000..5ee43777
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/onboarding-api/v1.0/vendor-software-products/55ca1625888743a1b791790b126b79f9/versions/f13d686db7bf4fb0ba34354faf8a9d30/orchestration-template-candidate",
+ "headers" : {
+ "Content-type" : "multipart/form-data",
+ "Accept" : "*/*",
+ "USER_ID" : "cs0008"
+ },
+ "json" : { }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "errors" : { },
+ "status" : "Success",
+ "onboardingOrigin" : "csar",
+ "networkPackageName" : "vgw"
+ }
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml
new file mode 100644
index 00000000..f3b84c3d
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml
@@ -0,0 +1,10 @@
+open_cli_sample_version: 1.0
+name: vsp-add-artifact
+version: onap-dublin
+samples:
+ sample1:
+ name: vsp-add-artifact
+ input: --format json --vsp-version f13d686db7bf4fb0ba34354faf8a9d30 --vsp-id 55ca1625888743a1b791790b126b79f9 --vsp-file /tmp/data/vtp-tmp-files/vgw.csar
+ moco: vsp-add-artifact-schema-dublin-moco.json
+ output: |
+ [{}]
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-archive-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-archive-schema-dublin-moco.json
new file mode 100644
index 00000000..71510442
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-archive-schema-dublin-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/onboarding-api/v1.0/items/55ca1625888743a1b791790b126b79f9/actions",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-1b78cf49-aca8-4260-b4b4-227c44aa5121",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "action" : "ARCHIVE"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : { }
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-archive-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-archive-schema-dublin-sample.yaml
new file mode 100644
index 00000000..36498c63
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-archive-schema-dublin-sample.yaml
@@ -0,0 +1,10 @@
+open_cli_sample_version: 1.0
+name: vsp-archive
+version: onap-dublin
+samples:
+ sample1:
+ name: vsp-archive
+ input: --format json --vsp-id 55ca1625888743a1b791790b126b79f9
+ moco: vsp-archive-schema-dublin-moco.json
+ output: |
+ [{}]
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-moco.json
new file mode 100644
index 00000000..439f5e00
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-moco.json
@@ -0,0 +1,24 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/onboarding-api/v1.0/items/a653d9bd40dc43e2ae45004daeab9003/versions/d6e590f98c2347b7a29b27e263527fac/actions",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-f64dec4f-646e-46d8-807e-99e7170a6afb",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "action" : "Commit",
+ "commitRequest" : {
+ "message" : "Powered by Open Command Platform - OCOMP"
+ }
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : { }
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-sample.yaml
new file mode 100644
index 00000000..3f02163a
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-sample.yaml
@@ -0,0 +1,10 @@
+open_cli_sample_version: 1.0
+name: vsp-commit
+version: onap-dublin
+samples:
+ sample1:
+ name: vsp-commit
+ input: --format json --remarks Powered by Open Command Platform - OCOMP --vsp-version d6e590f98c2347b7a29b27e263527fac --vsp-id a653d9bd40dc43e2ae45004daeab9003
+ moco: vsp-commit-schema-dublin-moco.json
+ output: |
+ [{}]
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-moco.json
index bbd21740..75a9207b 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-moco.json
@@ -7,31 +7,31 @@
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-a5095ef3-5afc-4305-945b-26fbdaf0b6b0",
+ "X-TransactionId" : "req-86df50dc-3478-46c9-bba5-85acb0ac33db",
"Content-Type" : "application/json"
},
"json" : {
"category" : "resourceNewCategory.generic",
- "vendorId" : "74b43ab85f3d49948c1513a27adfaba7",
+ "vendorId" : "d572f583bf224b4c93b99105cd35b0a9",
"subCategory" : "resourceNewCategory.generic.abstract",
- "description" : "cli-test-vsp",
- "licensingVersion" : "eb65c2fbbaee4a8dbd0b60e697e98fb7",
+ "description" : "Created by Open Command Platform - OCOMP",
+ "licensingVersion" : "496cc167b6cf44c3b7818c95a1d9e036",
"licensingData" : {
- "featureGroups" : [ "292d56e87f274ef385b0dfd41f41a066" ],
- "licenseAgreement" : "92bcbe53b6724ae78c7c13e4269cb90f"
+ "featureGroups" : [ "880c355b9b374ec08db60906f86a7c15" ],
+ "licenseAgreement" : "d53857e1d3df472cadd3ac72dfd83a6f"
},
"icon" : "icon",
"onboardingMethod" : "NetworkPackage",
- "vendorName" : "Itohan-vendor",
- "name" : "cli-vsp-v2"
+ "vendorName" : "ocompvtpvendor",
+ "name" : "vgwocompvtp"
}
},
"response" : {
"status" : 200,
"json" : {
- "itemId" : "a9928e0e8b124f4d87a9e0654c4b1d60",
+ "itemId" : "55ca1625888743a1b791790b126b79f9",
"version" : {
- "id" : "b087302e50374ab28e5a8d4b32aa3abe",
+ "id" : "f13d686db7bf4fb0ba34354faf8a9d30",
"name" : "1.0",
"description" : "Initial version",
"status" : "Draft"
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-sample.yaml
index 0f8fee52..5d810316 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-dublin-sample.yaml
@@ -1,29 +1,10 @@
-# Copyright © Intel Corporation 2019
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
open_cli_sample_version: 1.0
-name: -j
+name: vsp-create
version: onap-dublin
samples:
sample1:
- name: -j
- input: 292d56e87f274ef385b0dfd41f41a066 -o NetworkPackage -e Itohan-vendor -x cli-vsp-v2 -y cli-test-vsp -i 92bcbe53b6724ae78c7c13e4269cb90f -c eb65c2fbbaee4a8dbd0b60e697e98fb7 -g 74b43ab85f3d49948c1513a27adfaba7 -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vsp-create
+ input: --format json --vlm-id d572f583bf224b4c93b99105cd35b0a9 --vlm-agreement-id d53857e1d3df472cadd3ac72dfd83a6f --vsp-name vgwocompvtp --vlm-version 496cc167b6cf44c3b7818c95a1d9e036 --vsp-description Created by Open Command Platform - OCOMP --vlm-vendor ocompvtpvendor --vlm-feature-group-id 880c355b9b374ec08db60906f86a7c15
moco: vsp-create-schema-dublin-moco.json
output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |a9928e0e8b124f4d87a9e0654c4b1d60 |
- +----------+----------------------------------+
- |version |b087302e50374ab28e5a8d4b32aa3abe |
- +----------+----------------------------------+
+ {"version-id":"f13d686db7bf4fb0ba34354faf8a9d30","id":"55ca1625888743a1b791790b126b79f9","version":"1.0"}
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json
index 762bdbc2..eb1c488b 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json
@@ -1,13 +1,13 @@
[ {
"request" : {
"method" : "put",
- "uri" : "/onboarding-api/v1.0/vendor-software-products/0afed170432e471e9dafb662f78a8277/versions/a6a78a511fd74524889f8095e12b9aac/actions",
+ "uri" : "/onboarding-api/v1.0/vendor-software-products/55ca1625888743a1b791790b126b79f9/versions/f13d686db7bf4fb0ba34354faf8a9d30/actions",
"headers" : {
"Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-48bfec31-2210-41cd-b42c-156a947d5b74",
+ "X-TransactionId" : "req-010bd952-bd66-4d7a-b185-437ab0b696e8",
"Content-Type" : "application/json"
},
"json" : {
@@ -17,15 +17,16 @@
"response" : {
"status" : 200,
"json" : {
- "description" : "aaaa",
- "vspName" : "vsp-cli-v1",
+ "description" : "Created by Open Command Platform - OCOMP",
+ "vspName" : "vgwocompvtp",
"version" : "1.0",
- "packageId" : "0afed170432e471e9dafb662f78a8277",
+ "packageId" : "55ca1625888743a1b791790b126b79f9",
"category" : "resourceNewCategory.generic",
"subCategory" : "resourceNewCategory.generic.abstract",
- "vendorName" : "itohan-vendor",
+ "vendorName" : "ocompvtpvendor",
"vendorRelease" : "1.0",
- "packageType" : "CSAR"
+ "packageType" : "CSAR",
+ "resourceType" : "VF"
}
}
} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml
index 477ef99c..5644a0a5 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml
@@ -1,22 +1,10 @@
-# Copyright © Intel Corporation 2019
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
open_cli_sample_version: 1.0
-name: -x
+name: vsp-package
version: onap-dublin
samples:
sample1:
- name: -x
- input: 0afed170432e471e9dafb662f78a8277 -y a6a78a511fd74524889f8095e12b9aac -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vsp-package
+ input: --format json --vsp-version f13d686db7bf4fb0ba34354faf8a9d30 --vsp-id 55ca1625888743a1b791790b126b79f9
moco: vsp-package-schema-dublin-moco.json
- output: \ No newline at end of file
+ output: |
+ [{}]
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json
index b9888f3c..356a392a 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json
@@ -1,13 +1,13 @@
[ {
"request" : {
"method" : "put",
- "uri" : "/onboarding-api/v1.0/vendor-software-products/0afed170432e471e9dafb662f78a8277/versions/a6a78a511fd74524889f8095e12b9aac/actions",
+ "uri" : "/onboarding-api/v1.0/vendor-software-products/55ca1625888743a1b791790b126b79f9/versions/f13d686db7bf4fb0ba34354faf8a9d30/actions",
"headers" : {
"Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-625cc732-d215-4a80-9887-7fbe217954c2",
+ "X-TransactionId" : "req-febd3087-e011-469e-b57a-b71c2077647d",
"Content-Type" : "application/json"
},
"json" : {
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml
index 62bb71bb..e4e3b105 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml
@@ -1,22 +1,10 @@
-# Copyright © Intel Corporation 2019
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
open_cli_sample_version: 1.0
-name: -x
+name: vsp-submit
version: onap-dublin
samples:
sample1:
- name: -x
- input: 0afed170432e471e9dafb662f78a8277 -y a6a78a511fd74524889f8095e12b9aac -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vsp-submit
+ input: --format json --vsp-version f13d686db7bf4fb0ba34354faf8a9d30 --vsp-id 55ca1625888743a1b791790b126b79f9
moco: vsp-submit-schema-dublin-moco.json
- output: \ No newline at end of file
+ output: |
+ [{}]
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-moco.json
index fabb98b3..baf9a525 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-moco.json
@@ -1,13 +1,13 @@
[ {
"request" : {
"method" : "put",
- "uri" : "/onboarding-api/v1.0/vendor-software-products/0afed170432e471e9dafb662f78a8277/versions/a6a78a511fd74524889f8095e12b9aac/orchestration-template-candidate/process",
+ "uri" : "/onboarding-api/v1.0/vendor-software-products/55ca1625888743a1b791790b126b79f9/versions/f13d686db7bf4fb0ba34354faf8a9d30/orchestration-template-candidate/process",
"headers" : {
"Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-db25d79f-0a66-4a9b-b8af-0d3e2f5c6376",
+ "X-TransactionId" : "req-67a5ecb0-1ae4-4a3e-a78d-f175b2df042b",
"Content-Type" : "application/json"
},
"json" : { }
@@ -15,34 +15,8 @@
"response" : {
"status" : 200,
"json" : {
- "fileNames" : [ "base_vfw.yaml", "base_vfw.env" ],
- "errors" : {
- "base_vfw.yaml" : [ {
- "level" : "WARNING",
- "message" : "WARNING: [NNP1]: Port 'Fixed_IPS' Parameter Name not aligned with Guidelines, Parameter Name [onap_private_subnet_id], Resource ID [vfw_private_2_port]. As a result, VF/VFC Profile may miss this information"
- }, {
- "level" : "WARNING",
- "message" : "WARNING: [NNP1]: Port 'Fixed_IPS' Parameter Name not aligned with Guidelines, Parameter Name [onap_private_subnet_id], Resource ID [vpg_private_1_port]. As a result, VF/VFC Profile may miss this information"
- }, {
- "level" : "WARNING",
- "message" : "WARNING: [NNP1]: Port 'Fixed_IPS' Parameter Name not aligned with Guidelines, Parameter Name [onap_private_subnet_id], Resource ID [vsn_private_1_port]. As a result, VF/VFC Profile may miss this information"
- }, {
- "level" : "WARNING",
- "message" : "WARNING: [NNS11]: Nova Server naming convention in image, flavor and name properties is not consistent, Resource ID [vfw_0]"
- }, {
- "level" : "WARNING",
- "message" : "WARNING: [NNS12]: A resource is connected twice to the same network role, Network Role [vpg_0], Resource ID [onap_private]"
- }, {
- "level" : "WARNING",
- "message" : "WARNING: [NNS11]: Nova Server naming convention in image, flavor and name properties is not consistent, Resource ID [vpg_0]"
- }, {
- "level" : "WARNING",
- "message" : "WARNING: [NNS12]: A resource is connected twice to the same network role, Network Role [vsn_0], Resource ID [onap_private]"
- }, {
- "level" : "WARNING",
- "message" : "WARNING: [NNS11]: Nova Server naming convention in image, flavor and name properties is not consistent, Resource ID [vsn_0]"
- } ]
- },
+ "fileNames" : [ "Artifacts/Deployment/Other/id_rsa.pub", "Definitions/MainServiceTemplate.yaml", "Definitions/onap_dm.yaml", "MainServiceTemplate.yaml", "Artifacts/Deployment/Other/id_rsa", "Artifacts/Deployment/Other/image", "Artifacts/Deployment/Other/authorized_keys", "MainServiceTemplate.mf", "TOSCA-Metadata/TOSCA.meta" ],
+ "errors" : { },
"status" : "Success"
}
}
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-sample.yaml
index b0509321..32d57a1b 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-validate-schema-dublin-sample.yaml
@@ -1,61 +1,10 @@
-# Copyright © Intel Corporation 2019
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
open_cli_sample_version: 1.0
-name: -x
+name: vsp-validate
version: onap-dublin
samples:
sample1:
- name: -x
- input: 0afed170432e471e9dafb662f78a8277 -y a6a78a511fd74524889f8095e12b9aac -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vsp-validate
+ input: --format json --vsp-version f13d686db7bf4fb0ba34354faf8a9d30 --vsp-id 55ca1625888743a1b791790b126b79f9
moco: vsp-validate-schema-dublin-moco.json
output: |
- +----------+----------------------------------------------------+
- |property |value |
- +----------+----------------------------------------------------+
- |status |Success |
- +----------+----------------------------------------------------+
- |errors |{base_vfw.yaml=[{"level":"WARNING","message":"WARN |
- | |ING: [NNP1]: Port 'Fixed_IPS' Parameter Name not |
- | |aligned with Guidelines, Parameter Name |
- | |[onap_private_subnet_id], Resource ID |
- | |[vfw_private_2_port]. As a result, VF\/VFC |
- | |Profile may miss this information"},{"level":"WARN |
- | |ING","message":"WARNING: [NNP1]: Port 'Fixed_IPS' |
- | |Parameter Name not aligned with Guidelines, |
- | |Parameter Name [onap_private_subnet_id], Resource |
- | |ID [vpg_private_1_port]. As a result, VF\/VFC |
- | |Profile may miss this information"},{"level":"WARN |
- | |ING","message":"WARNING: [NNP1]: Port 'Fixed_IPS' |
- | |Parameter Name not aligned with Guidelines, |
- | |Parameter Name [onap_private_subnet_id], Resource |
- | |ID [vsn_private_1_port]. As a result, VF\/VFC |
- | |Profile may miss this information"},{"level":"WARN |
- | |ING","message":"WARNING: [NNS11]: Nova Server |
- | |naming convention in image, flavor and name |
- | |properties is not consistent, Resource ID |
- | |[vfw_0]"},{"level":"WARNING","message":"WARNING: |
- | |[NNS12]: A resource is connected twice to the |
- | |same network role, Network Role [vpg_0], Resource |
- | |ID [onap_private]"},{"level":"WARNING","message":" |
- | |WARNING: [NNS11]: Nova Server naming convention |
- | |in image, flavor and name properties is not |
- | |consistent, Resource ID |
- | |[vpg_0]"},{"level":"WARNING","message":"WARNING: |
- | |[NNS12]: A resource is connected twice to the |
- | |same network role, Network Role [vsn_0], Resource |
- | |ID [onap_private]"},{"level":"WARNING","message":" |
- | |WARNING: [NNS11]: Nova Server naming convention |
- | |in image, flavor and name properties is not |
- | |consistent, Resource ID [vsn_0]"}]} |
- +----------+----------------------------------------------------+
+ {"errors":{},"status":"Success"}