From d1d66b15ba9cb373dc79c72981bb738f6360b4f5 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Fri, 4 Nov 2016 09:47:12 +0100 Subject: HONEYCOMB-276 - Mandatory for sub-tables Added mandatory for sub-tables under vni-table Change-Id: I0f410cc0e79becafc16e7012395fa6269b278b98 Signed-off-by: Jan Srnicek --- lisp/api/src/main/yang/lisp.yang | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/api/src/main/yang/lisp.yang b/lisp/api/src/main/yang/lisp.yang index f706b8e70..f104bd84e 100755 --- a/lisp/api/src/main/yang/lisp.yang +++ b/lisp/api/src/main/yang/lisp.yang @@ -25,7 +25,10 @@ module lisp { revision 2016-12-14 { description - "This revision adds support for L2 features"; + "This revision adds support for L2 features, by adding vrf-subtable/bridge-domain-subtable + containers under vni-table. Both contains mandatory reference to index(vrf-subtable) + or name(bridge-domain-subtable) of respective kind of table."; + reference "https://tools.ietf.org/html/rfc6830"; } @@ -246,18 +249,22 @@ module lisp { description "vni"; } container vrf-subtable { + presence "Enable L3 mapping"; leaf table-id { type uint32; description "table-id"; + mandatory true; } uses dp-subtable-grouping; description "VRF subtable"; } container bridge-domain-subtable { + presence "Enable L2 mapping"; leaf bridge-domain-ref { type string; description "Name reference to existing bridge domain"; + mandatory true; } uses dp-subtable-grouping; -- cgit 1.2.3-korg