summaryrefslogtreecommitdiffstats
path: root/lisp/api/src/main/yang
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-10-18 09:33:22 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-10-18 09:33:22 +0200
commit5895bd9d450f0232a60be43fd7f4bc4d2ed7b82e (patch)
tree2cf57b47b490ecab4f5b4326dddcb59755790d86 /lisp/api/src/main/yang
parent4d75bfbebc2c5addf1be8f04027a07f14ca853cd (diff)
HC2VPP-247 - Mandatory reintroduced for vrf/bd sub-table
table-id(VRF) or bd-reference(BD) must be mandatory, because if assignment of vni to vrf/bd does not exist, and local/remote mapping tryins to reference such vni, api call to vpp will fail with invalid value error Change-Id: Iaeaac1fe698ccc783313063906532bcf268a99fb Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'lisp/api/src/main/yang')
-rwxr-xr-xlisp/api/src/main/yang/lisp@2017-10-13.yang (renamed from lisp/api/src/main/yang/lisp@2017-09-11.yang)13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/api/src/main/yang/lisp@2017-09-11.yang b/lisp/api/src/main/yang/lisp@2017-10-13.yang
index c733ffe23..a74ba4530 100755
--- a/lisp/api/src/main/yang/lisp@2017-09-11.yang
+++ b/lisp/api/src/main/yang/lisp@2017-10-13.yang
@@ -26,6 +26,11 @@ module lisp {
"This YANG module defines the generic configuration and
operational data for LISP in VPP";
+ revision 2017-10-13 {
+ description
+ "Mandatory statements for vrf/bd sub-tables";
+ }
+
revision 2017-09-11 {
description
"One transport protocol support";
@@ -327,8 +332,8 @@ module lisp {
leaf table-id {
type uint32;
description "table-id";
- // TODO - HC2VPP-73 - commented due to ODL Boron issues
- //mandatory true;
+ mandatory true;
+ // must be mandatory, as creating local/remote mapping would fail without vni -> vrf/bd assingment
}
uses dp-subtable-grouping;
@@ -339,8 +344,8 @@ module lisp {
leaf bridge-domain-ref {
type v3po:bridge-domain-ref;
description "Reference to existing bridge domain";
- // TODO - HC2VPP-73 - commented due to ODL Boron issues
- // mandatory true;
+ mandatory true;
+ // must be mandatory, as creating local/remote mapping would fail without vni -> vrf/bd assingment
}
uses dp-subtable-grouping;