diff options
Diffstat (limited to 'v3po/it/test-model/src/main/yang/hc-test.yang')
-rw-r--r-- | v3po/it/test-model/src/main/yang/hc-test.yang | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/v3po/it/test-model/src/main/yang/hc-test.yang b/v3po/it/test-model/src/main/yang/hc-test.yang index 204c5c089..e13b5001f 100644 --- a/v3po/it/test-model/src/main/yang/hc-test.yang +++ b/v3po/it/test-model/src/main/yang/hc-test.yang @@ -11,7 +11,8 @@ module hc-test { prefix "ext"; } - // ORDER 3 + // WRITE ORDER 3 + // READ ORDER 1 container simple-container { leaf simple-container-name { type string; @@ -23,7 +24,7 @@ module hc-test { type string; } - // ORDER 5 + // WRITE ORDER 5 container container-from-grouping { leaf leaf-in-container-from-grouping { type int32; @@ -31,25 +32,31 @@ module hc-test { } } - // ORDER 9 (no real attributes though) + // WRITE ORDER 9 (no real attributes though) + // READ ORDER 2 container container-with-list { - // ORDER 7 + // WRITE ORDER 7 + // READ ORDER 2.1 list list-in-container { key "id"; + ordered-by "user"; leaf id { type uint32; } - // ORDER 8 + // WRITE ORDER 8 + // READ ORDER 2.1.1 container container-in-list { leaf name { type string; } - // ORDER 6 + // WRITE ORDER 6 + // READ ORDER 2.1.1.1 list nested-list { key "nested-id"; + ordered-by "user"; leaf nested-id { type string; @@ -63,7 +70,7 @@ module hc-test { } } - // ORDER 4 + // WRITE ORDER 4 container container-with-choice { leaf name { type string; @@ -80,7 +87,7 @@ module hc-test { type string; } - // ORDER: 2 + // WRITE ORDER: 2 container c3 { leaf name { type string; @@ -89,7 +96,8 @@ module hc-test { } } - // ORDER: 2 + // WRITE ORDER: 2 + // READ ORDER 1.1 augment "/hct:simple-container" { ext:augment-identifier "simple-augment"; @@ -98,11 +106,13 @@ module hc-test { } } - // UNORDERED + // WRITE UNORDERED + // READ ORDER 1.2 augment "/hct:simple-container" { ext:augment-identifier "complex-augment"; - // ORDER: 1 + // WRITE ORDER: 1 + // READ ORDER 1.2.1 container complex-augment-container { leaf some-leaf { type string; |