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
commitd1d66b15ba9cb373dc79c72981bb738f6360b4f5 (patch)
tree34194b56d8e8db76dd1b6ebb12ca55455114e2eb /lisp/api/src/main/yang
parent49ff45b7612f3a0d89c931ee218c80400eedbec2 (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;