From 458b915ad1d980f0b1ade7ebbd741d4cd46d5473 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Wed, 5 Apr 2017 13:08:05 +0200 Subject: HC2VPP-94 - Bridge-domain-ref leafref used instead of plain string reference Change-Id: If2eb7c8cc3dbd9a03d5ded70b0bdb20ec7f03a63 Signed-off-by: Jan Srnicek --- lisp/api/pom.xml | 7 +++++++ lisp/api/src/main/yang/lisp.yang | 7 +++++-- 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 @@ naming-context-api ${naming.context.version} + + + + io.fd.hc2vpp.v3po + v3po-api + ${project.version} + \ 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; } -- cgit 1.2.3-korg