From d8850415efbe66463903ff5a17e3e6cc60011974 Mon Sep 17 00:00:00 2001 From: Itohan Ukponmwan Date: Wed, 13 Mar 2019 23:00:04 +0000 Subject: Updated cloud-create command Change-Id: I3524e683f4b93b32bd3695bf2aa03893bef8c655 Issue-ID: CLI-148 Signed-off-by: Itohan Ukponmwan --- .../cloud/cloud-create-schema-dublin-moco.json | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-moco.json (limited to 'products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-create-schema-dublin-moco.json') 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 + } +} ] -- cgit 1.2.3-korg