summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}