From 0578156b721fa01c8c645b8f9625ecebdb6449e4 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Wed, 27 Jul 2016 11:05:51 +0200 Subject: HONEYCOMB-130: Separate v3po plugin from HC infra Creating folders: - common/ - infra/ - v3po/ - vpp-common/ Change-Id: I2c39e1b17e39e7c0f0628f44aa5fe08563fa06e4 Signed-off-by: Maros Marsalek --- vpp-common/naming-context-api/pom.xml | 42 ++++++++++++++++++++++ .../src/main/yang/naming-context.yang | 42 ++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 vpp-common/naming-context-api/pom.xml create mode 100644 vpp-common/naming-context-api/src/main/yang/naming-context.yang (limited to 'vpp-common/naming-context-api') diff --git a/vpp-common/naming-context-api/pom.xml b/vpp-common/naming-context-api/pom.xml new file mode 100644 index 000000000..9fd1cba0e --- /dev/null +++ b/vpp-common/naming-context-api/pom.xml @@ -0,0 +1,42 @@ + + + + + io.fd.honeycomb.common + api-parent + 1.0.0-SNAPSHOT + ../../common/api-parent + + + 4.0.0 + io.fd.honeycomb.vpp + naming-context-api + 1.0.0-SNAPSHOT + bundle + + + + + org.opendaylight.mdsal.model + mdsal-model-artifacts + 0.8.2-Beryllium-SR2 + pom + import + + + + + 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 new file mode 100644 index 000000000..fa44bdd12 --- /dev/null +++ b/vpp-common/naming-context-api/src/main/yang/naming-context.yang @@ -0,0 +1,42 @@ +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 { + + 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