summaryrefslogtreecommitdiffstats
path: root/v3po/api
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2016-06-12 19:11:27 +0800
committerMaros Marsalek <mmarsale@cisco.com>2016-06-14 08:09:20 +0000
commitdb0c27ecfeb80bac3ecb7b1fb34c7e20e60068ea (patch)
tree78bcf6730a7a747fadfe7a8b73ad26523776a716 /v3po/api
parente07548f0c3678f4b6ed10564d794506cf905c76a (diff)
HONEYCOMB-84: Fix next-protocol issue of vxlan-gpe interface
Change-Id: I2e8fb5df67a1b394fa5b3cb64b9e7db6237ffddb Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'v3po/api')
-rw-r--r--v3po/api/src/main/yang/v3po.yang16
1 files changed, 12 insertions, 4 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang
index 69ed9446c..83db8e232 100644
--- a/v3po/api/src/main/yang/v3po.yang
+++ b/v3po/api/src/main/yang/v3po.yang
@@ -82,10 +82,18 @@ module v3po {
typedef vxlan-gpe-next-protocol {
type enumeration {
- enum ipv4;
- enum ipv6;
- enum ethernet;
- enum nsh;
+ enum "ipv4" {
+ value 1;
+ }
+ enum "ipv6" {
+ value 2;
+ }
+ enum "ethernet" {
+ value 3;
+ }
+ enum "nsh" {
+ value 4;
+ }
}
}