Replacing ":" by "_" for parameters
[ccsdk/sli/plugins.git] / restconf-client / provider / src / test / resources / yang / test_augment_1_for_module.yang
1 module test_augment_1_for_module {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:test:augment:name";
4     prefix "augment-name";
5
6     import test_name_of_the_module {
7        prefix aug;
8     }
9
10     revision "2015-01-05" {
11         description "Initial revision of hello model";
12     }
13
14     augment "/aug:name_of_the_cont1/aug:name_of_the_cont2/aug:name_of_the_cont4" {
15         container name_of_the_cont5 {
16             leaf name_of_the_leaf13 {
17                type empty;
18             }
19         }
20         list name_of_the_list7 {
21             leaf name_of_the_leaf14 {
22                 type instance-identifier;
23             }
24         }
25         leaf name_of_the_leaf15 {
26             type string;
27         }
28         leaf-list name_of_the_ll6 {
29             type union {
30                 type int32;
31                 type enumeration {
32                     enum "unbounded";
33                 }
34             }
35         }
36         uses "aug:name_of_the_g1";
37     }
38
39     uses "aug:name_of_the_g1";
40
41     augment "/aug:name_of_the_cont1/aug:name_of_the_cont2/aug:name_of_the_cont3" {
42         choice name_of_the_ch2 {
43             case name_of_the_c3 {
44                 leaf name_of_the_leaf21 {
45                     type string;
46                 }
47             }
48             case name_of_the_c4 {
49                 leaf name_of_the_leaf22 {
50                     type enumeration {
51                         enum zero;
52                         enum one;
53                         enum seven {
54                             value 7;
55                         }
56                     }
57                 }
58             }
59         }
60     }
61
62     augment "/aug:name_of_the_ch1" {
63        case name_of_the_c5 {
64           container name_of_the_cont10 {
65               leaf name_of_the_leaf23 {
66                   type string;
67               }
68           }
69        }
70     }
71
72     augment "/aug:name_of_the_ch1/aug:name_of_the_c1" {
73         container name_of_the_cont7 {
74             leaf name_of_the_leaf24 {
75                 type string;
76             }
77         }
78     }
79
80     augment "/aug:name_of_the_cont13/aug:name_of_the_cont12" {
81        leaf name_of_the_leaf29 {
82            type string;
83        }
84     }
85
86     augment "/aug:name_of_the_create-sfc/aug:input" {
87         leaf name_of_the_leaf36 {
88             type bits {
89                 bit angle {
90                     position 0;
91                 }
92                 bit degree {
93                     position 1;
94                 }
95                 bit movement {
96                     position 2;
97                 }
98             }
99         }
100     }
101
102     augment "/aug:name_of_the_create-sfc/aug:output" {
103        leaf leaf37 {
104            type boolean;
105        }
106     }
107
108 }