summaryrefslogtreecommitdiffstats
path: root/infra/it/test-model/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'infra/it/test-model/src/main')
-rw-r--r--infra/it/test-model/src/main/yang/hc-aug-test.yang18
1 files changed, 18 insertions, 0 deletions
diff --git a/infra/it/test-model/src/main/yang/hc-aug-test.yang b/infra/it/test-model/src/main/yang/hc-aug-test.yang
index 8a83ab56f..95179d422 100644
--- a/infra/it/test-model/src/main/yang/hc-aug-test.yang
+++ b/infra/it/test-model/src/main/yang/hc-aug-test.yang
@@ -27,6 +27,17 @@ module hc-aug-test {
}
augment "/aug-target" {
+ ext:augment-identifier "list-augment";
+ list list-from-augment {
+ key some-leaf;
+
+ leaf some-leaf {
+ type string;
+ }
+ }
+ }
+
+ augment "/aug-target" {
ext:augment-identifier "simple-augment";
leaf simple-augment-leaf {
type string;
@@ -60,4 +71,11 @@ module hc-aug-test {
}
}
+ augment "/aug-target/list-from-augment" {
+ ext:augment-identifier "list-from-augment-augment";
+ leaf new-leaf {
+ type string;
+ }
+ }
+
}