summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/cll-create-pm-data.json
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2022-03-02 16:32:14 -0500
committerHesam Rahimi <hesam.rahimi@huawei.com>2022-03-02 16:32:14 -0500
commitc14f920415db0de169e0826e0d746cf80757b1f4 (patch)
tree345316739b635d32be134f08e99bcbb19addfca0 /platform-logic/restapi-templates/src/main/json/cll-create-pm-data.json
parentb1548aa206521de7feaeacab179a2f0860dafcb1 (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-create-pm-data.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/cll-create-pm-data.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/cll-create-pm-data.json b/platform-logic/restapi-templates/src/main/json/cll-create-pm-data.json
new file mode 100644
index 00000000..101e9b9d
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cll-create-pm-data.json
@@ -0,0 +1,17 @@
+{
+ "ietf-service-pm:performance-monitoring": {
+ "service-pm": [
+ {
+ "service-name": ${eth-service-name},
+ "task-pm-enable": true,
+ "granularity": "ietf-service-pm:granularity-1min",
+ "performance-data-config": [
+ {
+ "parameter-name": "ietf-service-pm:ingress-bandwidth",
+ "measure-method": "ietf-service-pm:measure-at-ingress"
+ }
+ ]
+ }
+ ]
+ }
+}