Signed-off-by: FUJITA Tomonori <[email protected]>
---
ryu/ofproto/ofproto_v1_0.py | 1 +
ryu/ofproto/ofproto_v1_0_parser.py | 9 +++++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_0.py b/ryu/ofproto/ofproto_v1_0.py
index 624bc76..2a39067 100644
--- a/ryu/ofproto/ofproto_v1_0.py
+++ b/ryu/ofproto/ofproto_v1_0.py
@@ -575,6 +575,7 @@ NXT_FLOW_REMOVED = 14
NXT_FLOW_MOD_TABLE_ID = 15
NXT_SET_PACKET_IN_FORMAT = 16
NXT_PACKET_IN = 17
+NXT_FLOW_AGE = 18
NXT_SET_CONTROLLER_ID = 20
# enum nx_role
diff --git a/ryu/ofproto/ofproto_v1_0_parser.py
b/ryu/ofproto/ofproto_v1_0_parser.py
index af2082c..3218a5d 100644
--- a/ryu/ofproto/ofproto_v1_0_parser.py
+++ b/ryu/ofproto/ofproto_v1_0_parser.py
@@ -1400,6 +1400,15 @@ class NXTPacketIn(NiciraHeader):
cookie, match_len, match, frame)
+class NXTFlowAge(NiciraHeader):
+ def __init__(self, datapath):
+ super(NXTFlowAge, self).__init__(
+ datapath, ofproto_v1_0.NXT_FLOW_AGE)
+
+ def _serialize_body(self):
+ self.serialize_header()
+
+
class NXTSetControllerId(NiciraHeader):
def __init__(self, datapath, controller_id):
super(NXTSetControllerId, self).__init__(
--
1.7.4.4
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel