diff options
author | Chris Donley <christopher.donley@huawei.com> | 2018-05-30 19:55:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-30 19:55:33 +0000 |
commit | e65155cab8d6d74989f1dd0bd1a493e1c91a30d9 (patch) | |
tree | 9112d60bee675751d2bfe0e029929ec8960f49cc /vnftest/onap/lifecycle/create_region.yaml | |
parent | bfb67b927b59525028420e4477b1310fb6a69335 (diff) | |
parent | 82aeca18c66dc4c312a57f24ed3c4c33a2063070 (diff) |
Merge "Refactor api definition yamls to support jinja2"
Diffstat (limited to 'vnftest/onap/lifecycle/create_region.yaml')
-rw-r--r-- | vnftest/onap/lifecycle/create_region.yaml | 45 |
1 files changed, 20 insertions, 25 deletions
diff --git a/vnftest/onap/lifecycle/create_region.yaml b/vnftest/onap/lifecycle/create_region.yaml index 1a67f41..41da02a 100644 --- a/vnftest/onap/lifecycle/create_region.yaml +++ b/vnftest/onap/lifecycle/create_region.yaml @@ -13,28 +13,23 @@ ############################################################################## --- -method: "PUT" -url: "http://{aai_ip}:30232/aai/v8/cloud-infrastructure/cloud-regions/cloud-region/{cloud_owner}/RegionOne" -headers: { - "Content-Type": "application/json", - "Accept": "application/json", - "Authorization": "Basic QUFJOkFBSQ==", - "X-FromAppId": "AAI", - "X-TransactionId": "get_aai_subscr" - } -body: { - "cloud-owner": "{cloud_owner}", - "cloud-region-id": "RegionOne", - "cloud-region-version": "v1", - "cloud-type": "SharedNode", - "cloud-zone": "CloudZone", - "owner-defined-type": "OwnerType", - "tenants": { - "tenant": [ - { - "tenant-id": "{tenant_id}", - "tenant-name": "{tenant_name}" - } - ] - } - } +method: PUT +url: http://{{aai_ip}}:30232/aai/v8/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner}}/RegionOne +headers: + Content-Type: application/json + Accept: application/json + Authorization: Basic QUFJOkFBSQ== + X-FromAppId: AAI + X-TransactionId: get_aai_subscr +body: + cloud-owner: {{cloud_owner}} + cloud-region-id: RegionOne + cloud-region-version: v1 + cloud-type: SharedNode + cloud-zone: CloudZone + owner-defined-type: OwnerType + tenants: + tenant: + - + tenant-id: {{tenant_id}} + tenant-name: {{tenant_name}}
\ No newline at end of file |