Signed-off-by: Isaku Yamahata <[email protected]>
---
 ryu/ofproto/ofproto_v1_0.py |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/ryu/ofproto/ofproto_v1_0.py b/ryu/ofproto/ofproto_v1_0.py
index e666ad9..780563a 100644
--- a/ryu/ofproto/ofproto_v1_0.py
+++ b/ryu/ofproto/ofproto_v1_0.py
@@ -231,8 +231,14 @@ OFP_ACTION_PACK_STR = '!H'
 # assert calcsize(OFP_ACTION_PACK_STR) == OFP_ACTION_SIZE
 
 # enum nx_action_subtype (truncated)
+NXAST_RESUBMIT = 1
 NXAST_SET_TUNNEL = 2
 NXAST_SET_TUNNEL64 = 9
+NXAST_RESUBMIT_TABLE = 14
+
+NX_ACTION_RESUBMIT_PACK_STR = '!HHIHHB3x'
+NX_ACTION_RESUBMIT_SIZE = 16
+assert calcsize(NX_ACTION_RESUBMIT_PACK_STR) == NX_ACTION_RESUBMIT_SIZE
 
 NX_ACTION_SET_TUNNEL_PACK_STR = '!HHIH2xI'
 NX_ACTION_SET_TUNNEL_SIZE = 16
@@ -505,6 +511,7 @@ NX_VENDOR_ID = 0x00002320
 # enum nicira_type (abridged)
 NXT_SET_FLOW_FORMAT = 12
 NXT_FLOW_MOD = 13
+NXT_FLOW_MOD_TABLE_ID = 15
 
 # enum nx_flow_format
 NXFF_OPENFLOW10 = 0
@@ -525,6 +532,11 @@ NX_SET_FLOW_FORMAT_SIZE = 20
 assert (calcsize(NX_SET_FLOW_FORMAT_PACK_STR) +
                  NICIRA_HEADER_SIZE == NX_SET_FLOW_FORMAT_SIZE)
 
+NX_FLOW_MOD_TABLE_ID_PACK_STR = '!B7x'
+NX_FLOW_MOD_TABLE_ID_SIZE = 24
+assert (calcsize(NX_FLOW_MOD_TABLE_ID_PACK_STR) +
+        NICIRA_HEADER_SIZE == NX_FLOW_MOD_TABLE_ID_SIZE)
+
 
 def nxm_header__(vendor, field, hasmask, length):
     return (vendor << 16) | (field << 9) | (hasmask << 8) | length
-- 
1.7.1.1


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to