summaryrefslogtreecommitdiffstats
path: root/lisp/api/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/api/src/main')
-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";
}