summaryrefslogtreecommitdiffstats
path: root/infra/test-utils/test-api
diff options
context:
space:
mode:
Diffstat (limited to 'infra/test-utils/test-api')
-rw-r--r--infra/test-utils/test-api/src/main/yang/hc-data.yang21
1 files changed, 21 insertions, 0 deletions
diff --git a/infra/test-utils/test-api/src/main/yang/hc-data.yang b/infra/test-utils/test-api/src/main/yang/hc-data.yang
index a817a249f..6cd524565 100644
--- a/infra/test-utils/test-api/src/main/yang/hc-data.yang
+++ b/infra/test-utils/test-api/src/main/yang/hc-data.yang
@@ -12,6 +12,13 @@ module hc-data{
prefix "ext";
}
+ list root-list {
+ key root-name;
+ leaf root-name{
+ type string;
+ }
+ }
+
container simple-container{
list simple-list{
key name;
@@ -23,6 +30,13 @@ module hc-data{
type string;
}
}
+
+ list nested-list {
+ key nested-name;
+ leaf nested-name {
+ type string;
+ }
+ }
}
container nested-container{
@@ -67,5 +81,12 @@ module hc-data{
leaf name-in-augment{
type string;
}
+
+ list list-in-augment{
+ key key-in-augment;
+ leaf key-in-augment{
+ type string;
+ }
+ }
}
} \ No newline at end of file