test-diff.yang revision 0578156b
1module test-diff {
2    yang-version 1;
3    namespace "urn:opendaylight:params:xml:ns:yang:test:diff";
4    prefix "td";
5
6    revision "2015-01-05" {
7        description "Initial revision";
8    }
9
10    container top-container {
11        leaf string {
12            type string;
13        }
14
15        list nested-list {
16            key "name";
17
18            leaf name {
19                type string;
20            }
21
22            leaf text {
23                type string;
24            }
25
26            list deep-list {
27                key "name";
28
29                leaf name {
30                    type string;
31                }
32
33            }
34        }
35    }
36
37    container with-choice {
38
39        choice choice {
40            case case1 {
41                leaf in-case1 {
42                    type string;
43                }
44            }
45
46            case case2 {
47                leaf in-case2 {
48                    type string;
49                }
50            }
51        }
52    }
53
54}
55