aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/aai
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-11-12 15:44:21 -0500
committerJerry Flood <jf9860@att.com>2017-11-12 15:51:49 -0500
commit8a6b0b5aeab216617ff95757709afcb94952ffd6 (patch)
tree62f94e692686bb0b2cd28504483fe97bc3e31960 /robot/assets/templates/aai
parent56d962fc11dc14c1f8f4232a6672536bd3bcc1b8 (diff)
Update A&AI api to v11 and create complex
Issue: TEST-34 Change-Id: Ibac7f78390f517e3d3876ec0adff97d1136b2f28 Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'robot/assets/templates/aai')
-rw-r--r--robot/assets/templates/aai/add_complex_body.template42
1 files changed, 42 insertions, 0 deletions
diff --git a/robot/assets/templates/aai/add_complex_body.template b/robot/assets/templates/aai/add_complex_body.template
new file mode 100644
index 00000000..136a620b
--- /dev/null
+++ b/robot/assets/templates/aai/add_complex_body.template
@@ -0,0 +1,42 @@
+ {
+ "complex-name": "${complex_name}",
+ "physical-location-id": "${physical_location_id}",
+ "data-center-code": "example-data-center-code-val-5556",
+ "identity-url": "example-identity-url-val-56898",
+ "physical-location-type": "example-physical-location-type-val-7608",
+ "street1": "example-street1-val-34205",
+ "street2": "example-street2-val-99210",
+ "city": "example-city-val-27150",
+ "state": "example-state-val-59487",
+ "postal-code": "example-postal-code-val-68871",
+ "country": "example-country-val-94173",
+ "region": "example-region-val-13893",
+ "latitude": "example-latitude-val-89101",
+ "longitude": "example-longitude-val-66229",
+ "elevation": "example-elevation-val-30253",
+ "lata": "example-lata-val-46073",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "cloud-region",
+ "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "${cloud_owner}"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "${region}"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "cloud-region.owner-defined-type",
+ "property-value": "${owner_defined_type}"
+ }
+ ]
+ }
+ ]
+ }
+ }