Fix YANG patch request for augmented element
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / instanceidentifier / yang / test-model-aug.yang
1 module test-m-aug {\r
2   namespace "test-ns-aug";\r
3   prefix test-m;\r
4 \r
5   import test-m {\r
6     prefix tm;\r
7   }\r
8 \r
9   augment /tm:container-root/tm:container-lvl1 {\r
10     container container-aug {\r
11       leaf leaf-aug {\r
12         type string;\r
13       }\r
14 \r
15       list list-aug {\r
16         key list-aug-key;\r
17         leaf list-aug-key {\r
18           type string;\r
19         }\r
20 \r
21         container list-aug-container {\r
22           leaf foo {\r
23             type string;\r
24           }\r
25         }\r
26       }\r
27     }\r
28   }\r
29 }\r