summaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/resources/data/cm-data-subscriptions/cm-data-subscriptions@2023-09-21.yang
blob: 552f13715bd908ab05b4421cbe7917e2d66dac3d (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
48
49
module cm-data-subscriptions {
    yang-version 1.1;
    namespace "org:onap:cps:ncmp";

    prefix cmds;

    revision "2023-09-21" {
        description
        "First release, Proof of Concept & Performance";
    }

    container datastores {

        list datastore {
            key "name";

            leaf name {
                type string;
            }

            container cm-handles {

                list cm-handle {
                    key "id";

                    leaf id {
                        type string;
                    }

                    container filters {

                        list filter {
                            key "xpath";

                            leaf xpath {
                                type string;
                            }

                            leaf-list subscribers {
                                type string;
                            }

                        }
                    }
                }
            }
        }
    }
}