diff options
author | Jan Srnicek <jsrnicek@cisco.com> | 2017-01-26 13:03:21 +0100 |
---|---|---|
committer | Jan Srnicek <jsrnicek@cisco.com> | 2017-01-26 13:03:21 +0100 |
commit | 86d5ec389bd4c9424e2389e1d16cf8b41aaa1539 (patch) | |
tree | 8b3f408783917754e640213c62ac6aa075bc4d80 /samples/samples-api/src/main/yang/sample-plugin.yang | |
parent | 020a1c4490b8fcacef7052103c04366b873c6da3 (diff) |
HONEYCOMB-269 - Release notes update
- Update features list, postman collections,models,etc ...
- Provides samples sources mentioned in devel_plugin_vpp_tutorial
-Broken links fixed
Change-Id: I549fcec7c4e7e669cba44cafd12d824e63473533
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'samples/samples-api/src/main/yang/sample-plugin.yang')
-rw-r--r-- | samples/samples-api/src/main/yang/sample-plugin.yang | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/samples/samples-api/src/main/yang/sample-plugin.yang b/samples/samples-api/src/main/yang/sample-plugin.yang new file mode 100644 index 000000000..099ab65b8 --- /dev/null +++ b/samples/samples-api/src/main/yang/sample-plugin.yang @@ -0,0 +1,42 @@ +module sample-plugin { + + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:sample:plugin"; + prefix "samples"; + + revision 2016-12-14 { + description "Sample model for demonstration of transation code"; + } + + import ietf-inet-types { + prefix "inet"; + } + + grouping sample-plugin-params { + container vxlans { + list vxlan-tunnel { + + key id; + leaf id { + type string; + } + + leaf src { + type inet:ip-address; + } + leaf dst { + type inet:ip-address; + } + } + } + } + + container sample-plugin-state { + config false; + uses sample-plugin-params; + } + + container sample-plugin { + uses sample-plugin-params; + } +}
\ No newline at end of file |