summaryrefslogtreecommitdiffstats
path: root/v3po/it/test-model/src/main/yang/hc-test.yang
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-07-27 11:05:51 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-07-29 16:32:07 +0200
commit0578156b721fa01c8c645b8f9625ecebdb6449e4 (patch)
tree49d36f24e5d984a8c9f151b1440de88619f8b7de /v3po/it/test-model/src/main/yang/hc-test.yang
parent007d4542388ca89be409ce1a4a4c7a36ddcb538f (diff)
HONEYCOMB-130: Separate v3po plugin from HC infra
Creating folders: - common/ - infra/ - v3po/ - vpp-common/ Change-Id: I2c39e1b17e39e7c0f0628f44aa5fe08563fa06e4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
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.yang123
1 files changed, 0 insertions, 123 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
deleted file mode 100644
index e13b5001f..000000000
--- a/v3po/it/test-model/src/main/yang/hc-test.yang
+++ /dev/null
@@ -1,123 +0,0 @@
-module hc-test {
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:hc:test";
- prefix "hct";
-
- revision "2015-01-05" {
- description "Testing HC model with bindings";
- }
-
- import yang-ext {
- prefix "ext";
- }
-
- // WRITE ORDER 3
- // READ ORDER 1
- container simple-container {
- leaf simple-container-name {
- type string;
- }
- }
-
- grouping some-attributes {
- leaf leaf-from-grouping {
- type string;
- }
-
- // WRITE ORDER 5
- container container-from-grouping {
- leaf leaf-in-container-from-grouping {
- type int32;
- }
- }
- }
-
- // WRITE ORDER 9 (no real attributes though)
- // READ ORDER 2
- container container-with-list {
- // WRITE ORDER 7
- // READ ORDER 2.1
- list list-in-container {
- key "id";
- ordered-by "user";
-
- leaf id {
- type uint32;
- }
-
- // WRITE ORDER 8
- // READ ORDER 2.1.1
- container container-in-list {
- leaf name {
- type string;
- }
-
- // WRITE ORDER 6
- // READ ORDER 2.1.1.1
- list nested-list {
- key "nested-id";
- ordered-by "user";
-
- leaf nested-id {
- type string;
- }
-
- leaf nested-name {
- type string;
- }
- }
- }
- }
- }
-
- // WRITE ORDER 4
- container container-with-choice {
- leaf name {
- type string;
- }
-
- uses some-attributes;
-
- choice choice {
- leaf c1 {
- type string;
- }
-
- leaf c2 {
- type string;
- }
-
- // WRITE ORDER: 2
- container c3 {
- leaf name {
- type string;
- }
- }
- }
- }
-
- // WRITE ORDER: 2
- // READ ORDER 1.1
- augment "/hct:simple-container" {
- ext:augment-identifier "simple-augment";
-
- leaf simple-augment-leaf {
- type string;
- }
- }
-
- // WRITE UNORDERED
- // READ ORDER 1.2
- augment "/hct:simple-container" {
- ext:augment-identifier "complex-augment";
-
- // WRITE ORDER: 1
- // READ ORDER 1.2.1
- container complex-augment-container {
- leaf some-leaf {
- type string;
- }
- }
- }
-
-}