summaryrefslogtreecommitdiffstats
path: root/lisp/api/src/main/yang
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-06-06 12:51:42 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-06-06 12:52:41 +0200
commitca6cda948df343f56164ce38e258735ead68dc6e (patch)
tree2fec067c86aaab49f69da09d1506261c801ea802 /lisp/api/src/main/yang
parentc9052815f89fff314d8f6b67fcd62b707d827611 (diff)
HC2VPP-165 - Optional Local Eid support
- Support for optional local eid's for gpe entries - Fixes equality issues for mapping identificators - Fixed write request ordering of locator pairs HC2VPP-160 - Use standard index to name mapping for gpe entries - Uses indexes returned from dump/write calls to bind context mapping Change-Id: Ib69240044206dec21307a47981a63f415a16bbdd Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'lisp/api/src/main/yang')
-rw-r--r--lisp/api/src/main/yang/gpe.yang2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/api/src/main/yang/gpe.yang b/lisp/api/src/main/yang/gpe.yang
index 91c476f2b..8a3777136 100644
--- a/lisp/api/src/main/yang/gpe.yang
+++ b/lisp/api/src/main/yang/gpe.yang
@@ -57,10 +57,12 @@ module gpe {
description "Virtual Network Identifier";
}
container local-eid {
+ presence "Enforce mandatory only if present";
uses lisp-types:lisp-address;
description "Local EID that must be a local address";
}
container remote-eid {
+ presence "Enforce mandatory only if present";
uses lisp-types:lisp-address;
description "Remote EID";
}