diff options
author | Hesam Rahimi <hesam.rahimi@huawei.com> | 2022-03-02 16:32:14 -0500 |
---|---|---|
committer | Hesam Rahimi <hesam.rahimi@huawei.com> | 2022-03-02 16:32:14 -0500 |
commit | c14f920415db0de169e0826e0d746cf80757b1f4 (patch) | |
tree | 345316739b635d32be134f08e99bcbb19addfca0 /platform-logic/restapi-templates/src/main/json/cll-call-ves.json | |
parent | b1548aa206521de7feaeacab179a2f0860dafcb1 (diff) |
Sending "subscribe" command to a restconf server to receive event notifications.
Implementing a callback DG to be called by CCSDK upon receiving event notifications.
Also calling VES to send bandwidth information.
Issue-ID: SDNC-1669
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I058c405a14d78e264761367dd4b46d6e9a600182
Former-commit-id: 13b89ec32d7d0074117b3f136800bc93f67bf0f8
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/cll-call-ves.json')
-rw-r--r-- | platform-logic/restapi-templates/src/main/json/cll-call-ves.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/cll-call-ves.json b/platform-logic/restapi-templates/src/main/json/cll-call-ves.json new file mode 100644 index 00000000..0074c34c --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cll-call-ves.json @@ -0,0 +1,34 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.0.1", + "domain": "ccvpnNotification", + "eventName": "ccvpnNotification_CloudLeaseLine_BandwidthChanged", + "eventId": ${eventIdUuid}, + "lastEpochMicrosec": 8745745764578, + "priority": "Normal", + "reportingEntityName": "onap-sdnc", + "sequence": 0, + "sourceName": "onap-sdnc", + "startEpochMicrosec": 8745745764578, + "timeZoneOffset": "UTC-05.00" + }, + "ccvpnNotificationFields": { + "changeIdentifier": "PM_BW_UPDATE", + "changeType": "BandwidthChanged", + "ccvpnNotificationFieldsVersion": "2.0", + "arrayOfNamedHashMap": [ + { + "name": ${eventNameUuid}, + "hashMap": { + "cllId": ${cclId}, + "uniId": ${uniId}, + "bandwidthValue": ${bandwidthValue}, + "time": "2022-02-08T11:13:34.781-05:00" + } + } + ] + } + } +}
\ No newline at end of file |