HONEYCOMB-84: Fix next-protocol issue of vxlan-gpe interface
authorHongjun Ni <[email protected]>
Sun, 12 Jun 2016 11:11:27 +0000 (19:11 +0800)
committerMaros Marsalek <[email protected]>
Tue, 14 Jun 2016 08:09:20 +0000 (08:09 +0000)
Change-Id: I2e8fb5df67a1b394fa5b3cb64b9e7db6237ffddb
Signed-off-by: Hongjun Ni <[email protected]>
v3po/api/src/main/yang/v3po.yang

index 69ed944..83db8e2 100644 (file)
@@ -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;
+      }
     }
   }