ErrorMessage - int values for type and code provided
[openflowjava.git] / openflow-protocol-api / src / main / yang / openflow-protocol.yang
index e4501ab1e8853b398c5c719c469c751250935c32..8a0cdc8d7640f9660410990d75f7e68ae331bb51 100644 (file)
@@ -183,9 +183,15 @@ module openflow-protocol {
                 uses ofHeader;\r
                 \r
                 leaf type {\r
-                    type string;\r
+                    type uint16;\r
                 }\r
                 leaf code {\r
+                    type uint16;\r
+                }\r
+                leaf type-string {\r
+                    type string;\r
+                }\r
+                leaf code-string {\r
                     type string;\r
                 }\r
                 leaf data {\r