aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaclee <lee.anjella.macabuhay@est.tech>2023-03-13 09:27:24 +0000
committerLee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>2023-03-21 14:44:41 +0000
commit99d03a6e1fe8ac68ae95c6856092c4a73fd19ebd (patch)
tree0c3217cc8c7c03ad958720be746b56dfb92f03d5
parent0b00f81b98e5fa9632b1145e49f62d0b2712f4e4 (diff)
Subscription model with status and predicates
Issue-ID: CPS-1497 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I4a81389797620eac9b67f31ddcbb4d5168d742ce
-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;
+ }
}
}