Added enum table-values 97/3697/1
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 13 Dec 2013 12:36:15 +0000 (13:36 +0100)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 13 Dec 2013 12:36:24 +0000 (13:36 +0100)
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
openflow-protocol-api/src/main/yang/openflow-types.yang

index 7750229cd2f2ca0854462bba778be462722ca64b..e00b8277bd9770d0eb4fcdb87151b49c5e9f01f8 100644 (file)
@@ -862,6 +862,21 @@ module openflow-types {
             }
         }
     }
+    
+    typedef table-values {
+        /* ofp_table */
+        type enumeration {
+            enum OFPTT_MAX {            
+              value 254; // 0xfe             
+              description "Last usable table number.";            
+            }
+            enum OFPTT_ALL {
+              value 255; // 0xff
+              description "Wildcard table used for table config, 
+                           flow stats and flow deletes.";
+            }
+        }
+    }
 
        typedef group {
                /* ofp_group - Group numbering. Groups can use any number up to OFPG_MAX.*/