summaryrefslogtreecommitdiffstats
path: root/lisp/api/src/main/yang
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2016-11-04 09:47:12 +0100
committerMaros Marsalek <mmarsale@cisco.com>2016-11-04 10:00:12 +0000
commitbf9fdaaed6a9238175bc99abbfed780bb56a798d (patch)
treeb5de05832cff4afc3379c344cad4e119b6b3f7e8 /lisp/api/src/main/yang
parentde95d2924fc422a8105b87fb07982698c3f4cb1a (diff)
HONEYCOMB-276 - Mandatory for sub-tables
Added mandatory for sub-tables under vni-table Change-Id: I0f410cc0e79becafc16e7012395fa6269b278b98 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'lisp/api/src/main/yang')
-rwxr-xr-xlisp/api/src/main/yang/lisp.yang9
1 files changed, 8 insertions, 1 deletions
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;