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:
FUJITA Tomonori 2012-06-06 23:22:58 +09:00
parent 903de17b17
commit 511df56d6b
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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__(