diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-06-16 14:36:52 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-06-16 14:55:14 +0200 |
commit | b4581d183065af6b82026003959b96fbe6850dd1 (patch) | |
tree | 6d7f8654ce4eeb13350a3d32314bd267a79c9c61 /samples/samples-api/src/main/yang/sample-plugin@2016-12-14.yang | |
parent | c312c69343e8336456a109ff82d9bc4c6dc9b1ea (diff) |
Rename yang files to match model revision
Also order of revisions was sorted starting from most current.
Change-Id: I21fd35cfdb1cc5601b3fb40c9f3755bd3b995b14
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'samples/samples-api/src/main/yang/sample-plugin@2016-12-14.yang')
-rw-r--r-- | samples/samples-api/src/main/yang/sample-plugin@2016-12-14.yang | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/samples/samples-api/src/main/yang/sample-plugin@2016-12-14.yang b/samples/samples-api/src/main/yang/sample-plugin@2016-12-14.yang new file mode 100644 index 000000000..099ab65b8 --- /dev/null +++ b/samples/samples-api/src/main/yang/sample-plugin@2016-12-14.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 |