From b4581d183065af6b82026003959b96fbe6850dd1 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 16 Jun 2017 14:36:52 +0200 Subject: 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 --- .../src/main/yang/multi-naming-context.yang | 68 ---------------------- .../main/yang/multi-naming-context@2016-4-11.yang | 68 ++++++++++++++++++++++ .../src/main/yang/naming-context.yang | 44 -------------- .../src/main/yang/naming-context@2016-05-13.yang | 44 ++++++++++++++ 4 files changed, 112 insertions(+), 112 deletions(-) delete mode 100644 vpp-common/naming-context-api/src/main/yang/multi-naming-context.yang create mode 100644 vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-4-11.yang delete mode 100644 vpp-common/naming-context-api/src/main/yang/naming-context.yang create mode 100644 vpp-common/naming-context-api/src/main/yang/naming-context@2016-05-13.yang (limited to 'vpp-common') diff --git a/vpp-common/naming-context-api/src/main/yang/multi-naming-context.yang b/vpp-common/naming-context-api/src/main/yang/multi-naming-context.yang deleted file mode 100644 index 23079601a..000000000 --- a/vpp-common/naming-context-api/src/main/yang/multi-naming-context.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 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 new file mode 100644 index 000000000..23079601a --- /dev/null +++ b/vpp-common/naming-context-api/src/main/yang/multi-naming-context@2016-4-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-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 diff --git a/vpp-common/naming-context-api/src/main/yang/naming-context.yang b/vpp-common/naming-context-api/src/main/yang/naming-context.yang deleted file mode 100644 index c101b5c26..000000000 --- a/vpp-common/naming-context-api/src/main/yang/naming-context.yang +++ /dev/null @@ -1,44 +0,0 @@ -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 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 -- cgit 1.2.3-korg