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;
142 augment "/container/" {
148 augment "/container/directList/" {
149 leaf augmentedString {
154 augment "/container/choice/" {
155 case test-identity-augment {
156 when "/container/identityRef = 'test-identity'";
157 leaf augmentString1 {
165 case test-identity-augment2 {
166 when "/container/identityRef = 'test-identity2'";
167 leaf augmentString2 {
177 augment "/container/choice/test-identity-augment/" {
179 choice augmentedChoiceInCase {
181 case augmentedCaseInAugmentedChoice {
182 leaf stringInAugmentedCaseInAugmentedChoice {
187 case augmentedCaseInAugmentedChoice2 {
188 leaf stringInAugmentedCaseInAugmentedChoice2 {
195 augment "/container/choice/test-identity-augment/augmentedChoiceInCase/" {
196 case augmentedCaseInAugmentedChoiceFromAugment {
197 leaf stringInAugmentedCaseInAugmentedChoiceFromAugment {
203 augment "/container/choice2/" {
204 case test-identity-augment {
205 when "/container/identityRef = 'test-identity'";
206 container augmentContainer {
207 leaf augmentStringInaugmentContainer {
212 case test-identity-augment2 {
213 when "/container/identityRef = 'test-identity2'";
215 leaf augmentStringInaugmentList {
223 augment "/container/choice2/test-identity-augment2/augmentedList/" {
225 container augmentedContainerInAugmentedListInAugmentedCase {
226 leaf-list leafInAugmentedContainerInAugmentedListInAugmentedCase {
231 list augmentedListInAugmentedListInAugmentedCase {
232 leaf-list leafInAugmentedListInAugmentedListInAugmentedCase {
238 identity test-identity {}
239 identity test-identity2 {