mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
Add Nicira Extension NXT_FLOW_AGE support
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Isaku Yamahata <yamahata@valinux.co.jp> Reviewed-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
903de17b17
commit
511df56d6b
@ -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
|
||||
|
||||
@ -1401,6 +1401,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__(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user