summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/aai/add_complex_body.jinja
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-20 15:04:04 -0400
committerDR695H <dr695h@att.com>2019-06-20 15:04:04 -0400
commit3bb6cf4b938d3e725860606d3ddaa8eecd872151 (patch)
treee03ccb5b30413d9fc7b3cef8c5ef0827d2e641d2 /robot/assets/templates/aai/add_complex_body.jinja
parent3440942ef2c78e1a8eb07c70c1a03b3834beaecf (diff)
replace aai, closeloop, sdc with jinja
Issue-ID: TEST-158 Change-Id: I95a783f26e28512cb4fc98e50931d62001c489c6 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/templates/aai/add_complex_body.jinja')
-rw-r--r--robot/assets/templates/aai/add_complex_body.jinja42
1 files changed, 42 insertions, 0 deletions
diff --git a/robot/assets/templates/aai/add_complex_body.jinja b/robot/assets/templates/aai/add_complex_body.jinja
new file mode 100644
index 00000000..6ae3c0d0
--- /dev/null
+++ b/robot/assets/templates/aai/add_complex_body.jinja
@@ -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": "68871",
+ "country": "example-country-val-94173",
+ "region": "example-region-val-13893",
+ "latitude": "example-latitude-val-89101",
+ "longitude": "32.89948",
+ "elevation": "97.045443",
+ "lata": "example-lata-val-46073",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "cloud-region",
+ "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/{{region}}",
+ "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}}"
+ }
+ ]
+ }
+ ]
+ }
+ }