PNF Simulator to support Control Loop subscription model
Change-Id: I9919edb32f3f68f86fad28c908f808fcee3fc548
Issue-ID: INT-1312
Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
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 0000000..6adce57
--- /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