1 // vi: set smarttab et sw=4 tabstop=4:
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:test";
7 organization "Cisco Systems, Inc.";
22 container containerInList{
33 grouping innerContainerGrouping {
34 container innerContainer {
39 container innerInnerContainer {
77 leaf stringAugmentedToList{
83 leaf stringAugmentedToListInCase1 {
88 leaf stringAugmentedToListInCase2 {
97 leaf stringInDirectList {
102 uses innerContainerGrouping;
117 /* TODO test modification with empty type
124 augment "/container/" {
130 augment "/container/directList/" {
131 leaf augmentedString {
136 augment "/container/choice/" {
137 case test-identity-augment {
138 when "/container/identityRef = 'test-identity'";
139 leaf augmentString1 {
147 case test-identity-augment2 {
148 when "/container/identityRef = 'test-identity2'";
149 leaf augmentString2 {
159 augment "/container/choice/test-identity-augment/" {
161 choice augmentedChoiceInCase {
163 case augmentedCaseInAugmentedChoice {
164 leaf stringInAugmentedCaseInAugmentedChoice {
169 case augmentedCaseInAugmentedChoice2 {
170 leaf stringInAugmentedCaseInAugmentedChoice2 {
177 augment "/container/choice/test-identity-augment/augmentedChoiceInCase/" {
178 case augmentedCaseInAugmentedChoiceFromAugment {
179 leaf stringInAugmentedCaseInAugmentedChoiceFromAugment {
185 augment "/container/choice2/" {
186 case test-identity-augment {
187 when "/container/identityRef = 'test-identity'";
188 container augmentContainer {
189 leaf augmentStringInaugmentContainer {
194 case test-identity-augment2 {
195 when "/container/identityRef = 'test-identity2'";
197 leaf augmentStringInaugmentList {
205 augment "/container/choice2/test-identity-augment2/augmentedList/" {
207 container augmentedContainerInAugmentedListInAugmentedCase {
208 leaf-list leafInAugmentedContainerInAugmentedListInAugmentedCase {
213 list augmentedListInAugmentedListInAugmentedCase {
214 leaf-list leafInAugmentedListInAugmentedListInAugmentedCase {
220 identity test-identity {}
221 identity test-identity2 {