summaryrefslogtreecommitdiffstats
path: root/v3po/vpp-translate-utils
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-05-18 08:49:56 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-05-23 10:14:45 +0000
commit8dd9b6b1daf1b84888c23a828f250ad1be098016 (patch)
tree619f78f663de0377e1b31316e3ec1941e853762d /v3po/vpp-translate-utils
parentd54ea758da8dcf71d52727c4f01f87090c50bf2e (diff)
HONEYCOMB-61: Move vpp context model to v3po-api
Change-Id: I92d9cdd199e245adf5d22ff9756e05d82d66abc4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/vpp-translate-utils')
-rw-r--r--v3po/vpp-translate-utils/pom.xml5
-rw-r--r--v3po/vpp-translate-utils/src/main/yang/naming-context.yang42
2 files changed, 5 insertions, 42 deletions
diff --git a/v3po/vpp-translate-utils/pom.xml b/v3po/vpp-translate-utils/pom.xml
index ee931c56e..cc87e1647 100644
--- a/v3po/vpp-translate-utils/pom.xml
+++ b/v3po/vpp-translate-utils/pom.xml
@@ -35,6 +35,11 @@
<version>${project.version}</version>
</dependency>
<dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>v3po-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
<groupId>io.fd.vpp</groupId>
<artifactId>jvpp</artifactId>
<version>16.09-SNAPSHOT</version>
diff --git a/v3po/vpp-translate-utils/src/main/yang/naming-context.yang b/v3po/vpp-translate-utils/src/main/yang/naming-context.yang
deleted file mode 100644
index 0bcfc099b..000000000
--- a/v3po/vpp-translate-utils/src/main/yang/naming-context.yang
+++ /dev/null
@@ -1,42 +0,0 @@
-module naming-context {
- yang-version 1;
- namespace "urn:honeycomb:params:xml:ns:yang:naming:context";
- prefix "vpp-u";
-
- description
- "This module contains data definition for naming mapping context";
-
- revision "2016-05-13" {
- description
- "Initial revision.";
- }
-
- // TODO This should become part of v3po-api as operational-only data
- container contexts {
-
- list naming-context {
-
- key "name";
-
- leaf name {
- type string;
- }
-
- container mappings {
- list mapping {
-
- key "name";
-
- leaf name {
- type string;
- }
-
- leaf index {
- type int32;
- }
- }
- }
- }
- }
-
-} \ No newline at end of file