1 // vi: set smarttab et sw=4 tabstop=4:
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:test";
7 organization "Cisco Systems, Inc.";
9 revision "2014-03-13" {
28 container containerInList{
49 type instance-identifier;
57 grouping innerContainerGrouping {
58 container innerContainer {
63 container innerInnerContainer {
101 leaf stringAugmentedToList{
105 choice choiceInList {
107 leaf stringAugmentedToListInCase1 {
112 leaf stringAugmentedToListInCase2 {
121 leaf stringInDirectList {
126 uses innerContainerGrouping;
141 /* TODO test modification with empty type
148 augment "/container/" {
154 augment "/container/directList/" {
155 leaf augmentedString {
160 augment "/container/choice/" {
161 case test-identity-augment {
162 when "/container/identityRef = 'test-identity'";
163 leaf augmentString1 {
171 case test-identity-augment2 {
172 when "/container/identityRef = 'test-identity2'";
173 leaf augmentString2 {
183 augment "/container/choice/test-identity-augment/" {
185 choice augmentedChoiceInCase {
187 case augmentedCaseInAugmentedChoice {
188 leaf stringInAugmentedCaseInAugmentedChoice {
193 case augmentedCaseInAugmentedChoice2 {
194 leaf stringInAugmentedCaseInAugmentedChoice2 {
201 augment "/container/choice/test-identity-augment/augmentedChoiceInCase/" {
202 case augmentedCaseInAugmentedChoiceFromAugment {
203 leaf stringInAugmentedCaseInAugmentedChoiceFromAugment {
209 augment "/container/choice2/" {
210 case test-identity-augment {
211 when "/container/identityRef = 'test-identity'";
212 container augmentContainer {
213 leaf augmentStringInaugmentContainer {
218 case test-identity-augment2 {
219 when "/container/identityRef = 'test-identity2'";
221 leaf augmentStringInaugmentList {
229 augment "/container/choice2/test-identity-augment2/augmentedList/" {
231 container augmentedContainerInAugmentedListInAugmentedCase {
232 leaf-list leafInAugmentedContainerInAugmentedListInAugmentedCase {
237 list augmentedListInAugmentedListInAugmentedCase {
238 leaf-list leafInAugmentedListInAugmentedListInAugmentedCase {
244 identity test-identity {}
245 identity test-identity2 {