diff options
author | Dan Timoney <dtimoney@att.com> | 2017-10-20 14:37:33 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-10-20 14:37:33 -0400 |
commit | 067ac3647384f53d9bdad34f4e0267859ccd75f0 (patch) | |
tree | 8d8758693de566d7f18d94f252cb63b6e3e8520a /platform-logic/restapi-templates/src/main | |
parent | 93bb9d70960c1eba2659e05f323531a1859a6c15 (diff) |
Fix BRG DGs
Fix cut/paste errors in BRG allotted resource directed
graphs and add missing restapi template.
Change-Id: Ie5dcea412b79f10e5c3651a0f2177120210cc136
Issue-ID: SDNC-140
Signed-off-by: Dan Timoney <dtimoney@att.com>
Former-commit-id: e8cf6822f4c60748e6cebe548d1c2ecae973e515
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-rwxr-xr-x | platform-logic/restapi-templates/src/main/json/brg-allotted-resource.json | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/brg-allotted-resource.json b/platform-logic/restapi-templates/src/main/json/brg-allotted-resource.json new file mode 100755 index 00000000..b78f19e5 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/brg-allotted-resource.json @@ -0,0 +1,72 @@ +{ + "tunnelxconn-allotted-resource": [{ + "allotted-resource-id": ${brg-ar.allotted-resource-id}, + "allotted-resource-data": { + "tunnelxconn-topology": { + "allotted-resource-identifiers": { + "consuming-service-instance-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.consuming-service-instance-id}, + "allotted-resource-name": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-name}, + "allotted-resource-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-id}, + "parent-service-instance-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.parent-service-instance-id}, + "allotted-resource-type": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-type} + }, + "onap-model-information": { + "model-invariant-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-customization-uuid}, + "model-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-uuid}, + "model-version": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-version} + }, + "brg-assignments": { + "vbrg-wan-ip": ${brg-ar.allotted-resource-data.tunnelxconn-topology.brg-assignments.vbrg-wan-ip}, + }, + "brg-parameters": { + } + + }, + "allotted-resource-operation-information": { + "allotted-resource-information": { + "allotted-resource-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-id}, + "allotted-resource-type": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-type}, + "parent-service-instance-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id}, + "onap-model-information": { + "model-invariant-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-customization-uuid}, + "model-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-uuid}, + "model-version": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-version} + } + }, + "sdnc-request-header": { + "svc-request-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id}, + "svc-action": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-action} + }, + "request-information": { + "request-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-id}, + "source": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.source}, + "order-version": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-version}, + "order-number": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-number}, + "notification-url": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.notification-url}, + "request-action": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action} + }, + "brg-request-input": { + "vgmux-bearer-ip": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vgmux-bearer-ip}, + "vni": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni}, + "brg-wan-ip-address": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-ip-address} + } + }, + "allotted-resource-oper-status": { + "last-action": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action}, + "modify-timestamp": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.modify-timestamp}, + "last-order-status": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-order-status}, + "create-timestamp": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp}, + "order-status": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status}, + "last-rpc-action": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action}, + "last-svc-request-id": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id} + } + }, + "allotted-resource-status" : { + "action": ${brg-ar.allotted-resource-status.action}, + "rpc-name": ${brg-ar.allotted-resource-status.rpc-name}, + "rpc-action": ${brg-ar.allotted-resource-status.rpc-action} + } + }] +} |