emaclee | f6f16f5 | 2023-01-25 12:18:15 +0000 | [diff] [blame] | 1 | module subscription { |
| 2 | yang-version 1.1; |
| 3 | namespace "org:onap:ncmp:subscription"; |
| 4 | |
| 5 | prefix subs; |
| 6 | |
| 7 | revision "2022-10-12" { |
| 8 | description |
| 9 | "NCMP subscription model"; |
| 10 | } |
| 11 | |
| 12 | container subscription-registry { |
| 13 | list subscription { |
| 14 | key "clientID clientName"; |
| 15 | |
| 16 | leaf clientID { |
| 17 | type string; |
| 18 | } |
| 19 | |
| 20 | leaf clientName { |
| 21 | type string; |
| 22 | } |
| 23 | |
| 24 | leaf topic { |
| 25 | type string; |
| 26 | } |
| 27 | |
| 28 | leaf isTagged { |
| 29 | type boolean; |
| 30 | } |
emaclee | 02bffef | 2023-02-09 15:17:13 +0000 | [diff] [blame^] | 31 | |
| 32 | leaf-list dmi-service-names { |
| 33 | type string; |
| 34 | } |
| 35 | |
emaclee | f6f16f5 | 2023-01-25 12:18:15 +0000 | [diff] [blame] | 36 | } |
| 37 | } |
| 38 | } |