aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pmsh-pnf-sim/docker-compose/pnf-subscriptions.yang
blob: 6adce57ccc9682120f306ba92d7918ec2f8ec0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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;
                                        }
                                    }
                }

            }
        }
    }
}