From 7e8bd180002c4883d0ca3abe47f4d04f437df1fa Mon Sep 17 00:00:00 2001 From: yashwanth Date: Thu, 24 Mar 2022 15:10:27 +0000 Subject: CPS Integration Issue-ID: CCSDK-3544 Signed-off-by: yashwanth Change-Id: Ie3ef0e42e2c74675169b14c6cf6842a489666e36 --- .../src/main/json/cps-templates/cps-put-ho.json | 11 ++++++++ .../src/main/json/cps-templates/cps-put-nrpci.json | 10 +++++++ .../json/oofpcipoc-generic-neighbor-patch.json | 33 +++++++++++++--------- .../src/main/json/oofpcipoc-pci-patch.json | 24 ++++++++-------- 4 files changed, 52 insertions(+), 26 deletions(-) create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-ho.json create mode 100644 platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrpci.json (limited to 'platform-logic/restapi-templates') diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-ho.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-ho.json new file mode 100644 index 00000000..5f3ade8c --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-ho.json @@ -0,0 +1,11 @@ +{ +"inputParameters":{ +"idNearRTRIC": ${tmp.nearRTRICId}, +"idGNBCUCPFunction":${tmp.idGNBCUCPFunction}, +"idNRCellCU":${tmp.idNRCellCU}, +"idNRCellRelation":${tmp.idNRCellRelation} +}, +"payload":{ +"attributes":{"nRTCI":${tmp.nRTCI},"isHOAllowed":${tmp.isHOAllowed}} +} +} diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrpci.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrpci.json new file mode 100644 index 00000000..299b7451 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrpci.json @@ -0,0 +1,10 @@ +{ +"inputParameters":{ +"idNearRTRIC": ${tmp.nearRTRICId}, +"idGNBDUFunction":${tmp.idGNBDUFunction}, +"idNRCellDU":${tmp.idNRCellDU} +}, +"payload":{ +"attributes":{"nRPCI":${tmp.nRPCI}} +} +} diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json index aa4c013d..1bed7c93 100644 --- a/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json +++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json @@ -1,16 +1,21 @@ { - "ietf-yang-patch:yang-patch": { - "patch-id": "Patch 2", - "comment": "patch for configuring neighbor ", - "edit": [ - { - "edit-id": "patch blacklisted", - "operation": "merge", - "target": "/ran-network:isHOAllowed", - "value": { - "isHOAllowed": ${tmp.isHOAllowed} - } - } - ] - } + "ietf-yang-patch:yang-patch": { + "patch-id": "Patch 2", + "comment": "patch for isHOAllowed for a cell", + "edit": [{ + "edit-id": "edit1", + "operation": "merge", + "target": "/ran-network:nRTCI", + "value": { + "nRTCI": ${tmp.nRTCI} + } + },{ + "edit-id": "edit2", + "operation": "merge", + "target": "/ran-network:isHOAllowed", + "value": { + "isHOAllowed": ${tmp.isHOAllowed} + } + }] + } } diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json index 46b9bec6..74722400 100644 --- a/platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json +++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json @@ -1,14 +1,14 @@ { - "ietf-yang-patch:yang-patch": { - "patch-id": "Patch 1", - "comment": "patch for phy-cell-id-in-use for a cell", - "edit": [{ - "edit-id": "edit", - "operation": "merge", - "target": "/ran-network:nRPCI", - "value": { - "nRPCI": ${tmp.nRPCI} - } - }] - } + "ietf-yang-patch:yang-patch": { + "patch-id": "Patch 1", + "comment": "patch for nRPCI for a cell", + "edit": [{ + "edit-id": "edit", + "operation": "merge", + "target": "/ran-network:nRPCI", + "value": { + "nRPCI": ${tmp.nRPCI} + } + }] + } } -- cgit 1.2.3-korg