diff options
author | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2023-08-25 13:54:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-08-25 13:54:17 +0000 |
commit | 7dbd1856887a3e8a315752a10d7a0bf83d7da077 (patch) | |
tree | 5617da8492ae8f8f23991eca0b146f1b8730fb99 /cps-ncmp-service/src/main/resources/models/subscription.yang | |
parent | e8a7c4aac83b05ef3d19bf78174ee5f68e0c9c3e (diff) | |
parent | 4c5740094a9e7f84b72e79f691a34babbf6be344 (diff) |
Merge "Extend model loader to support model-upgrade (part 1)"
Diffstat (limited to 'cps-ncmp-service/src/main/resources/models/subscription.yang')
-rw-r--r-- | cps-ncmp-service/src/main/resources/models/subscription.yang | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/main/resources/models/subscription.yang b/cps-ncmp-service/src/main/resources/models/subscription.yang new file mode 100644 index 0000000000..7096c18abc --- /dev/null +++ b/cps-ncmp-service/src/main/resources/models/subscription.yang @@ -0,0 +1,57 @@ +module subscription { + yang-version 1.1; + namespace "org:onap:ncmp:subscription"; + + prefix subs; + + revision "2023-03-21" { + description + "NCMP subscription model"; + } + + container subscription-registry { + list subscription { + key "clientID subscriptionName"; + + leaf clientID { + type string; + } + + leaf subscriptionName { + type string; + } + + leaf topic { + type string; + } + + leaf isTagged { + type boolean; + } + + container predicates { + + list targetCmHandles { + key "cmHandleId"; + + leaf cmHandleId { + type string; + } + + leaf status { + type string; + } + + leaf details { + type string; + } + } + + leaf datastore { + type string; + } + } + + } + } +}
\ No newline at end of file |