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 /vpp-common/naming-context-api/src/main/yang/naming-context@2016-05-13.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 'vpp-common/naming-context-api/src/main/yang/naming-context@2016-05-13.yang')
-rw-r--r-- | vpp-common/naming-context-api/src/main/yang/naming-context@2016-05-13.yang | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/vpp-common/naming-context-api/src/main/yang/naming-context@2016-05-13.yang b/vpp-common/naming-context-api/src/main/yang/naming-context@2016-05-13.yang new file mode 100644 index 000000000..c101b5c26 --- /dev/null +++ b/vpp-common/naming-context-api/src/main/yang/naming-context@2016-05-13.yang @@ -0,0 +1,44 @@ +module naming-context { + yang-version 1; + namespace "urn:honeycomb:params:xml:ns:yang:naming:context"; + prefix "nc"; + + description + "This module contains data definition for naming mapping context"; + + revision "2016-05-13" { + description + "Initial revision."; + } + + container contexts { + config false; + // context data + + list naming-context { + + key "name"; + + leaf name { + type string; + } + + container mappings { + list mapping { + + key "name"; + unique "index"; + + leaf name { + type string; + } + + leaf index { + type int32; + } + } + } + } + } + +}
\ No newline at end of file |