aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pmsh-pnf-sim/docker-compose/pnf-subscriptions.yang
diff options
context:
space:
mode:
authorrajendrajaiswal <rajendra.jaiswal@ericsson.com>2019-12-16 14:24:02 +0000
committerMorgan Richomme <morgan.richomme@orange.com>2020-01-21 14:34:09 +0000
commit6a61ad84e1df33bec201df43dc0b217d892f91b9 (patch)
tree0c340af84099a65e49ec44b8c53d51b13f79aa3e /test/mocks/pmsh-pnf-sim/docker-compose/pnf-subscriptions.yang
parentf2ec458f12c470552462a75f26ef7e1704482a72 (diff)
PNF Simulator to support Control Loop subscription model
Change-Id: I9919edb32f3f68f86fad28c908f808fcee3fc548 Issue-ID: INT-1312 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
Diffstat (limited to 'test/mocks/pmsh-pnf-sim/docker-compose/pnf-subscriptions.yang')
-rw-r--r--test/mocks/pmsh-pnf-sim/docker-compose/pnf-subscriptions.yang47
1 files changed, 47 insertions, 0 deletions
diff --git a/test/mocks/pmsh-pnf-sim/docker-compose/pnf-subscriptions.yang b/test/mocks/pmsh-pnf-sim/docker-compose/pnf-subscriptions.yang
new file mode 100644
index 000000000..6adce57cc
--- /dev/null
+++ b/test/mocks/pmsh-pnf-sim/docker-compose/pnf-subscriptions.yang
@@ -0,0 +1,47 @@
+module pnf-subscriptions {
+ namespace "http://onap.org/pnf-subscriptions";
+ prefix subscriptions;
+
+ revision "2019-11-22" {
+ description
+ "initial version";
+ }
+ container subscriptions {
+ list configuration{
+ key "subscriptionName";
+ leaf subscriptionName {
+ type string;
+ }
+ leaf administrativeState {
+ type string;
+ }
+ leaf fileBasedGP {
+ type int16;
+ }
+ leaf fileLocation {
+ type string;
+ }
+ list measurementGroups {
+ key "id";
+ leaf id{
+ type int16;
+ }
+ container measurementGroup {
+ list measurementTypes {
+ key "measurementType";
+ leaf measurementType {
+ type string;
+ }
+ }
+ list managedObjectDNsBasic {
+ key "DN";
+ leaf DN {
+ type string;
+ }
+ }
+ }
+
+ }
+ }
+ }
+} \ No newline at end of file