From c86637969d6fce3759b3ce8a693ec16eb14b04e6 Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Wed, 2 Aug 2017 12:33:53 +0200 Subject: Fix revision number for multi-naming-context Change-Id: I3915e5b37043897ac43ef6853af6d26c39eba768 Signed-off-by: Michal Cmarada --- .../main/yang/multi-naming-context@2016-04-11.yang | 68 ++++++++++++++++++++++ .../main/yang/multi-naming-context@2016-4-11.yang | 68 ---------------------- 2 files changed, 68 insertions(+), 68 deletions(-) create mode 100644 vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-04-11.yang delete mode 100644 vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-4-11.yang (limited to 'vpp-common') 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; + } +} diff --git a/vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-4-11.yang b/vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-4-11.yang deleted file mode 100644 index 23079601a..000000000 --- a/vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-4-11.yang +++ /dev/null @@ -1,68 +0,0 @@ -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-4-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; - } -} \ No newline at end of file -- cgit 1.2.3-korg