summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/aai
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2017-02-17 18:44:24 -0500
committerDR695H <dr695h@att.com>2017-02-17 18:44:41 -0500
commitccff30b6e325f359879595998e83bbfe6624c851 (patch)
treec98f950f33baa71d21b091b6b10ca3ffb7700467 /robot/assets/templates/aai
parent234c2226d8cb3368a7af3d280a5ec280782bed63 (diff)
Initial checkin of EopenECOMP testsuite
Change-Id: I64a2b6d8cf66169829866b73b3d26a4ff59b0a42 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/templates/aai')
-rw-r--r--robot/assets/templates/aai/add_cloud_region_body.template15
-rw-r--r--robot/assets/templates/aai/add_customer.template25
-rw-r--r--robot/assets/templates/aai/add_service_body.template6
-rw-r--r--robot/assets/templates/aai/add_tenant_body.template17
-rw-r--r--robot/assets/templates/aai/named_query.template17
-rw-r--r--robot/assets/templates/aai/service_subscription.template19
-rw-r--r--robot/assets/templates/aai/vlb_closed_loop_hack.template7
7 files changed, 106 insertions, 0 deletions
diff --git a/robot/assets/templates/aai/add_cloud_region_body.template b/robot/assets/templates/aai/add_cloud_region_body.template
new file mode 100644
index 00000000..95b2525c
--- /dev/null
+++ b/robot/assets/templates/aai/add_cloud_region_body.template
@@ -0,0 +1,15 @@
+{
+ "cloud-owner": "${cloud_owner}",
+ "cloud-region-id": "${cloud_region_id}",
+ "cloud-type": "${cloud_type}",
+ "owner-defined-type": "${owner_defined_type}",
+ "cloud-region-version": "${cloud_region_version}",
+ "cloud-zone": "${cloud_zone}",
+ "tenants": {
+ "tenant": [{
+ "tenant-id": "${tenant_id}",
+ "tenant-name": "${tenant_name}"
+
+ }]
+ }
+} \ No newline at end of file
diff --git a/robot/assets/templates/aai/add_customer.template b/robot/assets/templates/aai/add_customer.template
new file mode 100644
index 00000000..d0ae174a
--- /dev/null
+++ b/robot/assets/templates/aai/add_customer.template
@@ -0,0 +1,25 @@
+{
+ "global-customer-id": "${global_customer_id}",
+ "subscriber-name": "${subscriber_name}",
+ "subscriber-type": "${subscriber_type}",
+ "service-subscriptions": {
+ "service-subscription": [{
+ "service-type": "${service1}",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "tenant",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "${cloud_owner1}"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "${cloud_region_id1}"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "${tenant_id1}"
+ }]
+ }]
+ }
+ }]
+ }
+ } \ No newline at end of file
diff --git a/robot/assets/templates/aai/add_service_body.template b/robot/assets/templates/aai/add_service_body.template
new file mode 100644
index 00000000..ca32fd51
--- /dev/null
+++ b/robot/assets/templates/aai/add_service_body.template
@@ -0,0 +1,6 @@
+{
+ "service-id": "${UUID}",
+ "service-description": "${service_type}"
+}
+
+
diff --git a/robot/assets/templates/aai/add_tenant_body.template b/robot/assets/templates/aai/add_tenant_body.template
new file mode 100644
index 00000000..a3cea10a
--- /dev/null
+++ b/robot/assets/templates/aai/add_tenant_body.template
@@ -0,0 +1,17 @@
+{
+ "cloud-owner": "${cloud_owner}",
+ "cloud-region-id": "${cloud_region_id}",
+ "cloud-type": "${cloud_type}",
+ "owner-defined-type": "${owner_defined_type}",
+ "cloud-region-version": "${cloud_region_version}",
+ "cloud-zone": "${cloud_zone}",
+ "tenants": {
+ "tenant": [{
+ "tenant-id": "${tenant_id}",
+ "tenant-name": "${tenant_name}"
+
+ }]
+ }
+}
+
+
diff --git a/robot/assets/templates/aai/named_query.template b/robot/assets/templates/aai/named_query.template
new file mode 100644
index 00000000..de3f21f6
--- /dev/null
+++ b/robot/assets/templates/aai/named_query.template
@@ -0,0 +1,17 @@
+{
+ "query-parameters": {
+ "named-query": {
+ "named-query-uuid": "f199cb88-5e69-4b1f-93e0-6f257877d066"
+ }
+ },
+ "instance-filters": {
+ "instance-filter": [
+ {
+ "vserver":
+ {
+ "vserver-name": "${vserver_name}"
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/robot/assets/templates/aai/service_subscription.template b/robot/assets/templates/aai/service_subscription.template
new file mode 100644
index 00000000..85703581
--- /dev/null
+++ b/robot/assets/templates/aai/service_subscription.template
@@ -0,0 +1,19 @@
+{
+ "service-subscription":[
+ {
+ "service-type":"{$service_type}",
+ "resource-version":"1473866861",
+ "service-instances":{
+ "service-instance":[
+ {
+ "service-instance-id":"d3f9a631-e280-4a87-846d-9ccd7a265980",
+ "service-instance-name":"VIV+IST+ezNew+Oct6",
+ "persona-model-id":"e6f1d393-6432-4820-ab86-7a10ba4b31ac",
+ "persona-model-version":"1.0",
+ "resource-version":"1475807447"
+ }
+ ]
+ }
+ }
+ ]
+} \ No newline at end of file
diff --git a/robot/assets/templates/aai/vlb_closed_loop_hack.template b/robot/assets/templates/aai/vlb_closed_loop_hack.template
new file mode 100644
index 00000000..27f9c963
--- /dev/null
+++ b/robot/assets/templates/aai/vlb_closed_loop_hack.template
@@ -0,0 +1,7 @@
+{
+ "is-base-vf-module": false,
+ "persona-model-id": "${persona_model_id}",
+ "persona-model-version": "1.0",
+ "vf-module-id": "${vf_module_id}",
+ "vf-module-name": "${vf_module_id}"
+}