Implemented refine statement parsing.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / resources / types / custom-types-test@2012-4-4.yang
index 9f839b24a442a440b79691d9d262328e5f21509f..0a06a30875e4c96457b6783f746c44a3098e96bb 100644 (file)
@@ -66,5 +66,28 @@ module custom-types-test {
         }
         default "auto-sense-speed";
     }
+    
+   typedef ip-version {
+     type enumeration {
+       enum unknown {
+         description
+          "An unknown or unspecified version of the Internet protocol.";
+       }
+       enum ipv4 {
+         value "19";
+         description
+          "The IPv4 protocol as defined in RFC 791.";
+       }
+       enum ipv6 {
+         value "7";
+         description
+          "The IPv6 protocol as defined in RFC 2460.";
+       }
+       enum default {
+         description 
+          "default ip";
+       }
+     }
+   }
        
 }