mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-12 16:16:37 +02:00
of13: implment OFPT_EXPERIMENTER serializer
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
ea9e7a7c5f
commit
0d1d8896d4
@ -370,6 +370,13 @@ class OFPExperimenter(MsgBase):
|
||||
|
||||
return msg
|
||||
|
||||
def _serialize_body(self):
|
||||
assert self.data is not None
|
||||
msg_pack_into(ofproto_v1_3.OFP_EXPERIMENTER_HEADER_PACK_STR,
|
||||
self.buf, ofproto_v1_3.OFP_HEADER_SIZE,
|
||||
self.experimenter, self.exp_type)
|
||||
self.buf += self.data
|
||||
|
||||
|
||||
@_set_msg_type(ofproto_v1_3.OFPT_FEATURES_REQUEST)
|
||||
class OFPFeaturesRequest(MsgBase):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user