From 99d03a6e1fe8ac68ae95c6856092c4a73fd19ebd Mon Sep 17 00:00:00 2001 From: emaclee Date: Mon, 13 Mar 2023 09:27:24 +0000 Subject: Subscription model with status and predicates Issue-ID: CPS-1497 Signed-off-by: emaclee Change-Id: I4a81389797620eac9b67f31ddcbb4d5168d742ce --- .../src/main/resources/model/subscription.yang | 23 ++++++++++++++++++---- 1 file 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; + } } } -- cgit 1.2.3-korg