summaryrefslogtreecommitdiffstats
path: root/lisp/api/src
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/src
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/src')
-rwxr-xr-xlisp/api/src/main/yang/lisp.yang7
1 files changed, 5 insertions, 2 deletions
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;
}