summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWAMOTO Toshihiro <iwamoto@valinux.co.jp>2017-05-26 17:30:20 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-05-30 16:13:17 +0900
commita5dca1a1e35b445c5746b0ac66fb9d151f62f771 (patch)
tree032fe8f4f0b4da97058a5333946a690232c68fe0
parent7794ff714cd7ac0e606299567a1213b4adc260e1 (diff)
nicira_ext: Define some CT constants
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/nicira_ext.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ryu/ofproto/nicira_ext.py b/ryu/ofproto/nicira_ext.py
index 411ed48a..416c6256 100644
--- a/ryu/ofproto/nicira_ext.py
+++ b/ryu/ofproto/nicira_ext.py
@@ -269,6 +269,11 @@ NX_LEARN_DST_OUTPUT = 2 << 11 # Add OFPAT_OUTPUT action.
NX_LEARN_DST_RESERVED = 3 << 11 # Not yet defined.
NX_LEARN_DST_MASK = 3 << 11
+# nx_ct constants
+NX_CT_F_COMMIT = 1 << 0
+NX_CT_F_FORCE = 1 << 1
+NX_CT_RECIRC_NONE = 0xff # OFPTT_ALL
+
# nx_nat constants
NX_NAT_RANGE_IPV4_MIN = 1 << 0
NX_NAT_RANGE_IPV4_MAX = 1 << 1