summaryrefslogtreecommitdiffstats
path: root/lisp/api
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-10-18 09:28:19 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-10-18 12:55:52 +0000
commite572123ccfeb50e0283bba38fceb299aaddfd6a0 (patch)
treedc173b1db6d6474802ba925d7f5a7e0c60643a25 /lisp/api
parent29b385dfc94a27ac31918b66411568036c4a6ddb (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')
-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;