summaryrefslogtreecommitdiffstats
path: root/infra/it/test-model/src/main/yang/hc-subtree-test.yang
diff options
context:
space:
mode:
Diffstat (limited to 'infra/it/test-model/src/main/yang/hc-subtree-test.yang')
-rw-r--r--infra/it/test-model/src/main/yang/hc-subtree-test.yang30
1 files changed, 30 insertions, 0 deletions
diff --git a/infra/it/test-model/src/main/yang/hc-subtree-test.yang b/infra/it/test-model/src/main/yang/hc-subtree-test.yang
new file mode 100644
index 000000000..09b3fc737
--- /dev/null
+++ b/infra/it/test-model/src/main/yang/hc-subtree-test.yang
@@ -0,0 +1,30 @@
+module hc-subtree-test {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:hc:subtree:test";
+ prefix "hc-subtree-test";
+
+ revision "2018-01-16" {
+ description "HC model for testing subtree writers.";
+ }
+
+ container c1 {
+ leaf leaf1 {
+ type string;
+ }
+ container c2 {
+ leaf leaf2 {
+ type int32;
+ }
+ }
+ container c3 {
+ leaf leaf3 {
+ type int32;
+ }
+ }
+ container c4 {
+ leaf leaf4 {
+ type int32;
+ }
+ }
+ }
+}