summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud')
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-moco.json42
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-sample.yaml22
2 files changed, 64 insertions, 0 deletions
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-moco.json
new file mode 100644
index 00000000..6e679b4c
--- /dev/null
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-moco.json
@@ -0,0 +1,42 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-07",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-a0eb1dc2-626d-4b89-8c46-a6cb341d2810",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "cloud-owner" : "CloudOwner",
+ "cloud-region-id" : "ONAP-POD-01-Rail-07",
+ "cloud-type" : "openstack",
+ "owner-defined-type" : "t1",
+ "cloud-region-version" : "titanium_cloud",
+ "complex-name" : "clli3",
+ "cloud-zone" : "CloudZone",
+ "sriov-automation" : "false",
+ "identity-url" : "url",
+ "cloud-extra-info" : "{\"openstack-region-id\":\"ONAP-POD-01-Rail-07\"}",
+ "esr-system-info-list" : {
+ "esr-system-info" : [ {
+ "esr-system-info-id" : "5c85ce1f-aa78-4ebf-8d6f-4b62773e9bce",
+ "service-url" : "http://10.12.11.1:5000/v3",
+ "user-name" : "cloud_username",
+ "password" : "cloud_password",
+ "system-type" : "VIM",
+ "ssl-insecure" : "true",
+ "cloud-domain" : "Default",
+ "default-tenant" : "Integration-HPA",
+ "system-status" : "active"
+ } ]
+ }
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : null
+ }
+} ]
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-sample.yaml b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-sample.yaml
new file mode 100644
index 00000000..9948815e
--- /dev/null
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-sample.yaml
@@ -0,0 +1,22 @@
+# 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: cloud-create
+version: onap-dublin
+samples:
+ sample1:
+ name: cloud-create
+ input: -e 5c85ce1f-aa78-4ebf-8d6f-4b62773e9bce -b cloud_username -I {\"openstack-region-id\":\"ONAP-POD-01-Rail-07\"} -x CloudOwner -y ONAP-POD-01-Rail-07 -j cloud_password -w titanium_cloud -l Integration-HPA -url http://10.12.11.1:5000/v3 -n clli3 -q openstack -r t1 -Q VIM -i url -g CloudZone -z true -k active -c Default
+ moco: cloud-create-schema-dublin-moco.json
+ output: