diff options
author | Marcus G K Williams <marcus.williams@intel.com> | 2017-11-07 11:35:10 -0800 |
---|---|---|
committer | Marcus G K Williams <marcus.williams@intel.com> | 2017-11-07 12:54:50 -0800 |
commit | 8ffe87ec3f8dff87f88a1fff7452e2b263363039 (patch) | |
tree | 60fd4874a81c64714958804af33977301eadb503 /platform-logic/restapi-templates | |
parent | 39edb53aa9b16b0175de571111a422087bbe227c (diff) |
Save brg service to md-sal in DG
Issue-Id: SDNC-176
Change-Id: I406f53a00512ef5c656149d2090b94e12328398b
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Former-commit-id: 204da530ab853b8825c1acec5a68e11194bd24d0
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r-- | platform-logic/restapi-templates/src/main/json/vcpe-services-service.json | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/vcpe-services-service.json b/platform-logic/restapi-templates/src/main/json/vcpe-services-service.json new file mode 100644 index 00000000..3a448ec3 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/vcpe-services-service.json @@ -0,0 +1,55 @@ +{ + "service": [ + { + "service-instance-id": ${tmp.service-data.service-information.service-instance-id}, + "service-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} + }, + "service-data": { + "service-level-oper-status": { + "last-order-status": ${tmp.service-data.oper-status.last-order-status}, + "order-status": ${tmp.service-data.oper-status.order-status}, + "last-action": ${tmp.service-data.oper-status.last-action} + }, + "service-topology": { + "service-topology-identifier": { + "service-id": ${tmp.service-data.service-information.service-id}, + "service-type": ${tmp.service-data.vnf-topology-information.vnf-topology-identifier.service-type}, + "service-instance-id": ${tmp.service-data.service-information.service-instance-id} + } + }, + "request-information": { + "request-action": ${tmp.service-data.request-information.request-action}, + "request-id": ${tmp.service-data.request-information.request-id}, + "source": ${tmp.service-data.request-information.source} + }, + "service-information": { + "service-instance-id": ${tmp.service-data.service-information.service-instance-id}, + "subscriber-name": ${tmp.service-data.service-information.subscriber-name} + }, + "sdnc-request-header": { + "svc-action": ${tmp.service-data.sdnc-request-header.svc-action}, + "svc-notification-url": ${tmp.service-data.sdnc-request-header.svc-notification-url}, + "svc-request-id": ${tmp.service-data.sdnc-request-header.svc-request-id} + }, + "vnfs": { + "vnf": [ + { + "vnf-id": ${tmp.service-data.vnf-request-information.vnf-id} + } + ] + }, + "consumed-allotted-resources": { + "consumed-allotted-resource": [ + { + "allotted-resource-type": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-type}, + "allotted-resource-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-id} + } + ] + } + } + } + ] +} |