summaryrefslogtreecommitdiffstats
path: root/lisp/api
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-04-05 13:08:05 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-04-21 07:11:43 +0000
commit458b915ad1d980f0b1ade7ebbd741d4cd46d5473 (patch)
treec75c1f1497507bf9f995cc9799f992352e5a9cd3 /lisp/api
parent2fb8b8f5618690034946e1f8adf7c1b2c1e02d99 (diff)
HC2VPP-94 - Bridge-domain-ref
leafref used instead of plain string reference Change-Id: If2eb7c8cc3dbd9a03d5ded70b0bdb20ec7f03a63 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'lisp/api')
-rwxr-xr-xlisp/api/pom.xml7
-rwxr-xr-xlisp/api/src/main/yang/lisp.yang7
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/api/pom.xml b/lisp/api/pom.xml
index e509dcee6..394857820 100755
--- a/lisp/api/pom.xml
+++ b/lisp/api/pom.xml
@@ -52,5 +52,12 @@
<artifactId>naming-context-api</artifactId>
<version>${naming.context.version}</version>
</dependency>
+
+ <!-- Bridge domains reference -->
+ <dependency>
+ <groupId>io.fd.hc2vpp.v3po</groupId>
+ <artifactId>v3po-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
</project> \ No newline at end of file
diff --git a/lisp/api/src/main/yang/lisp.yang b/lisp/api/src/main/yang/lisp.yang
index f0d8f1adb..61e321c18 100755
--- a/lisp/api/src/main/yang/lisp.yang
+++ b/lisp/api/src/main/yang/lisp.yang
@@ -12,6 +12,9 @@ module lisp {
import ietf-lisp-address-types {
prefix "lisp-types";
}
+ import v3po {
+ prefix "v3po";
+ }
organization
"FD.io Overlay Forwarding Engine (ONE) project";
contact
@@ -319,8 +322,8 @@ module lisp {
container bridge-domain-subtable {
presence "Enable L2 mapping";
leaf bridge-domain-ref {
- type string;
- description "Name reference to existing bridge domain";
+ type v3po:bridge-domain-ref;
+ description "Reference to existing bridge domain";
// TODO - HC2VPP-73 - commented due to ODL Boron issues
// mandatory true;
}