diff options
author | Sandeep Shah <sandeeplinux1068@gmail.com> | 2019-08-20 12:14:54 -0500 |
---|---|---|
committer | Sandeep Shah <sandeeplinux1068@gmail.com> | 2019-08-20 12:14:54 -0500 |
commit | d6deaccf8c37b204191f214b38a771f14cc370a2 (patch) | |
tree | 4f38d081109708034133a40287432f459d71ccc4 /platform-logic/restapi-templates/src/main | |
parent | 9dc7bdbbd46f2e3016617b6d0a1ad394d5771439 (diff) |
SDNR OOFPCIPOC - DG Updates for ConfigDB DMAAP
To support closed loop automation, DG's are modified to update ConfiDB
for configuration of PCI and ho flags, and publish DMAAP message
confirming configuration. Corresponding templates are also created
Issue-ID: CCSDK-1581
Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com>
Change-Id: I030401f394ebdc693eeaf514478200a4d9691c18
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
3 files changed, 33 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json new file mode 100644 index 00000000..655afed5 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json @@ -0,0 +1,23 @@ +{ + "body": { + "output": { + "CommonHeader": { + "TimeStamp": ${prop.oofpcipoc-dmaap-config-resp.timestamp}, + "APIver": ${prop.oofpcipoc-dmaap-config-resp.apiver}, + "RequestID": ${prop.oofpcipoc-dmaap-config-resp.requestID}, + "SubRequestID": ${prop.oofpcipoc-dmaap-config-resp.subrequestID}, + "RequestTrack": ${prop.oofpcipoc-dmaap-config-resp.requesttrack}, + "Flags": ${prop.oofpcipoc-dmaap-config-resp.flags} + }, + "Status": { + "Code": ${prop.oofpcipoc-dmaap-config-resp.status-code}, + "Value": ${prop.oofpcipoc-dmaap-config-resp.status-value} + }, + "Payload": ${tmp.oofpcipoc-dmaap-config-resp.payload} + } + }, + "version": ${prop.oofpcipoc-dmaap-config-resp.version}, + "rpc-name": ${tmp.oofpcipoc-dmaap-config-resp.rpc-name}, + "correlation-id": ${prop.oofpcipoc-dmaap-config-resp.correlationID}, + "type": ${prop.oofpcipoc-dmaap-config-resp.response} +} diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-ho-for-nbr.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-ho-for-nbr.json new file mode 100644 index 00000000..5cd8a6ef --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-ho-for-nbr.json @@ -0,0 +1,5 @@ +{ + +"ho": ${tmp.blacklisted} + +} diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-pci-for-cell.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-pci-for-cell.json new file mode 100644 index 00000000..51309bb0 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-pci-for-cell.json @@ -0,0 +1,5 @@ +{ + +"pci-value": ${tmp.phy-cell-id-in-use} + +} |