of1.3: fix OFPSetAsyn

File "/Users/fujita/git/ryu/ryu/ofproto/ofproto_v1_3_parser.py", line 1555, in <module>
  @_set_msg_type(ofproto_v1_3.OFPT_SET_ASYNC)
AttributeError: 'module' object has no attribute 'OFPT_SET_ASYNC'

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
FUJITA Tomonori 2012-11-22 16:33:19 +09:00
parent 569756639b
commit 11dad834a0
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ OFPT_ROLE_REPLY = 25 # Controller/switch message
OFPT_GET_ASYNC_REQUEST = 26 # Controller/switch message
OFPT_GET_ASYNC_REPLY = 27 # Controller/switch message
OFPT_GET_ASYNC = 28 # Controller/switch message
OFPT_SET_ASYNC = 28 # Controller/switch message
OFPT_METER_MOD = 29 # Controller/switch message

View File

@ -1553,7 +1553,7 @@ class OFPGetAsyncReply(MsgBase):
@_register_parser
@_set_msg_type(ofproto_v1_3.OFPT_SET_ASYNC)
class OFPGetAsyncReply(MsgBase):
class OFPSetAsync(MsgBase):
def __init__(self, datapath):
super(OFPSetAsync, self).__init__(datapath)