3 namespace "urn:opendaylight:"+
7 organization "opendaylight";
10 "test file containing yang data nodes";
12 revision "2013-07-30" {
15 reference "will be defined";
22 // NOTE: simple comment
28 description "anyxml desc";
31 must "ifType != 'ethernet' or " +
32 "(ifType = 'ethernet' and ifMTU = 1500)" {
33 error-message "An ethernet MTU must be 1500";
35 must "ifType != 'atm' or " +
36 "(ifType = 'atm' and ifMTU <= 17966 and ifMTU >= 64)" {
37 error-app-tag "anyxml data error-app-tag";
38 error-message "An atm MTU must be 64 .. 17966";
39 description "an error occured in data";
40 reference "data must ref";
44 when "class != 'wheel'";
49 description "anydata desc";
52 must "ifType != 'ethernet' or " +
53 "(ifType = 'ethernet' and ifMTU = 1500)" {
54 error-message "An ethernet MTU must be 1500";
56 must "ifType != 'atm' or " +
57 "(ifType = 'atm' and ifMTU <= 17966 and ifMTU >= 64)" {
58 error-app-tag "anydata data error-app-tag";
59 error-message "An atm MTU must be 64 .. 17966";
60 description "an error occured in data";
61 reference "data must ref";
65 when "class != 'wheel'";
73 description "nodes collection";
91 must "ifType != 'atm' or " +
92 "(ifType = 'atm' and ifMTU <= 17966 and ifMTU >= 64)" {
93 error-app-tag "anyxml data error-app-tag";
94 error-message "An atm MTU must be 64 .. 17966";
95 description "an error occured in data";
96 reference "data must ref";
100 reference "nodes ref";
106 when "class != 'wheel'";
114 description "links collection";
115 grouping link-group {
135 must "ifType != 'atm' or " +
136 "(ifType = 'atm' and ifMTU <= 17966 and ifMTU >= 64)" {
137 error-app-tag "anyxml data error-app-tag";
138 error-message "An atm MTU must be 64 .. 17966";
139 description "an error occured in data";
140 reference "data must ref";
144 reference "links ref";
150 when "class != 'wheel'";