X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=code-generator%2Fbinding-test-model%2Fsrc%2Fmain%2Fyang%2Fopendaylight-yangtools-augment-test.yang;h=04646fc83879c7ed25bc7259c51b58723c04fc45;hb=50ca4758b074b0a112c967d20fa2ba6c9c75d789;hp=c26559b0714b081b92ea6828a19933c4d0e19d8e;hpb=e4d0820993c623ed64c5996ab3fc1d3c0fb412b4;p=mdsal.git diff --git a/code-generator/binding-test-model/src/main/yang/opendaylight-yangtools-augment-test.yang b/code-generator/binding-test-model/src/main/yang/opendaylight-yangtools-augment-test.yang index c26559b071..04646fc838 100644 --- a/code-generator/binding-test-model/src/main/yang/opendaylight-yangtools-augment-test.yang +++ b/code-generator/binding-test-model/src/main/yang/opendaylight-yangtools-augment-test.yang @@ -146,4 +146,38 @@ module opendaylight-yangtools-augment-test { } } + augment "/test:top" { + ext:augment-identifier top-choice-augment1; + choice augment-choice1 { + case case1 { + container case1-container { + leaf case1-leaf { + type string; + } + } + } + + case case2 { + container case2-container { + leaf case2-leaf { + type string; + } + } + } + } + } + + augment "/test:top/augment-choice1/case1" { + ext:augment-identifier top-choice-augment2; + choice augment-choice2 { + case case11 { + container case11-choice-case-container { + leaf case11-choice-case-leaf { + type string; + } + } + } + } + } + }