summaryrefslogtreecommitdiffstats
path: root/vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-04-11.yang
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2017-08-02 12:33:53 +0200
committerMichal Cmarada <mcmarada@cisco.com>2017-08-02 12:33:53 +0200
commitc86637969d6fce3759b3ce8a693ec16eb14b04e6 (patch)
tree8126490ec3c56e702c15538d03559ca51c3113ba /vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-04-11.yang
parent3c0282ee7e937e0225e48ccb4d712ccf0d6267f9 (diff)
Fix revision number for multi-naming-context
Change-Id: I3915e5b37043897ac43ef6853af6d26c39eba768 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-04-11.yang')
-rw-r--r--vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-04-11.yang68
1 files changed, 68 insertions, 0 deletions
diff --git a/vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-04-11.yang b/vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-04-11.yang
new file mode 100644
index 000000000..5f38fbe27
--- /dev/null
+++ b/vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-04-11.yang
@@ -0,0 +1,68 @@
+module multi-naming-context {
+ yang-version 1;
+ namespace "urn:honeycomb:params:xml:ns:yang:multi:naming:context";
+ prefix "mnc";
+
+ description
+ "This module contains data definition for naming multi-mapping context";
+
+ import naming-context {
+ prefix "nc";
+ }
+
+ import yang-ext {
+ prefix "ext";
+ }
+
+
+ revision "2016-04-11" {
+ description
+ "Initial revision.";
+ }
+
+
+ grouping multi-naming-contexts-attributes{
+ container multi-naming-contexts {
+ config false;
+ // context data
+
+ list multi-naming {
+
+ key "name";
+
+ leaf name {
+ type string;
+ }
+
+ container mappings {
+ list mapping {
+
+ key "name";
+
+ leaf name {
+ type string;
+ }
+
+ list value{
+ key "name";
+
+ unique "index";
+ leaf index {
+ type int32;
+ }
+
+ leaf name {
+ type string;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+ augment /nc:contexts {
+ ext:augment-identifier "multi-mapping-ctx-augmentation";
+ uses multi-naming-contexts-attributes;
+ }
+}