aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src
diff options
context:
space:
mode:
authorPriyank Maheshwari <priyank.maheshwari@est.tech>2023-03-22 11:28:02 +0000
committerGerrit Code Review <gerrit@onap.org>2023-03-22 11:28:02 +0000
commit6f7f589382f15c4dbfad52c1f69882beea28f05f (patch)
tree3cdea331354bac46ae9ed853286f68d5e549dadf /cps-ncmp-service/src
parent3b72dbb767aae4d0c53ada2d82d9dfa0a0d76597 (diff)
parent99d03a6e1fe8ac68ae95c6856092c4a73fd19ebd (diff)
Merge "Subscription model with status and predicates"
Diffstat (limited to 'cps-ncmp-service/src')
-rw-r--r--cps-ncmp-service/src/main/resources/model/subscription.yang23
1 files changed, 19 insertions, 4 deletions
diff --git a/cps-ncmp-service/src/main/resources/model/subscription.yang b/cps-ncmp-service/src/main/resources/model/subscription.yang
index ad358445b2..2d4b207e17 100644
--- a/cps-ncmp-service/src/main/resources/model/subscription.yang
+++ b/cps-ncmp-service/src/main/resources/model/subscription.yang
@@ -4,9 +4,9 @@ module subscription {
prefix subs;
- revision "2022-10-12" {
+ revision "2023-21-03" {
description
- "NCMP subscription model";
+ "NCMP subscription model";
}
container subscription-registry {
@@ -29,8 +29,23 @@ module subscription {
type boolean;
}
- leaf-list dmi-service-names {
- type string;
+ container predicates {
+
+ list targetCmHandles {
+ key "cmHandleId";
+
+ leaf cmHandleId {
+ type string;
+ }
+
+ leaf status {
+ type string;
+ }
+ }
+
+ leaf datastore {
+ type string;
+ }
}
}