summaryrefslogtreecommitdiffstats
path: root/lisp/api/src
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-09-11 10:30:21 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-09-11 10:30:21 +0200
commit6fede8a03bbdf7334b0d06b929aa514616c88489 (patch)
tree74835b35434cc8d2dda5bca8e457afd33ec4d4f9 /lisp/api/src
parentec10ef034e4b06cf49ee7ffa509f53a3b3872ec2 (diff)
HC2VPP-191 - One transport protocol api
Change-Id: I8ecff45d095b3fbffc5ebf4c09cf1496289e5498 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'lisp/api/src')
-rwxr-xr-xlisp/api/src/main/yang/lisp@2017-09-11.yang (renamed from lisp/api/src/main/yang/lisp@2017-08-08.yang)23
1 files changed, 23 insertions, 0 deletions
diff --git a/lisp/api/src/main/yang/lisp@2017-08-08.yang b/lisp/api/src/main/yang/lisp@2017-09-11.yang
index f8edf1077..c733ffe23 100755
--- a/lisp/api/src/main/yang/lisp@2017-08-08.yang
+++ b/lisp/api/src/main/yang/lisp@2017-09-11.yang
@@ -26,6 +26,11 @@ module lisp {
"This YANG module defines the generic configuration and
operational data for LISP in VPP";
+ revision 2017-09-11 {
+ description
+ "One transport protocol support";
+ }
+
revision 2017-08-08 {
description
"Map register fallback threshold support";
@@ -452,6 +457,23 @@ module lisp {
}
}
+ grouping transport-protocol-grouping {
+ container transport-protocol {
+ leaf protocol-type {
+ type enumeration {
+ enum UDP {
+ value 1;
+ }
+ enum Binary {
+ value 2;
+ }
+ }
+ description "ONE transport protocol";
+ default UDP;
+ }
+ }
+ }
+
grouping lisp-feature-data-grouping{
//aggregation of all lisp data, restricted by Lisp beeing enabled
@@ -468,6 +490,7 @@ module lisp {
uses map-register-grouping;
uses map-request-mode-grouping;
uses itr-remote-locator-sets-grouping;
+ uses transport-protocol-grouping;
}
}