mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
ofproto: Correct OFPBundle{Ctrl, Add}Msg docstrings
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
bf83292364
commit
98ea9024ed
@ -5635,7 +5635,7 @@ class OFPBundleCtrlMsg(MsgBase):
|
||||
|
||||
req = ofp_parser.OFPBundleCtrlMsg(datapath, 7,
|
||||
ofp.OFPBCT_OPEN_REQUEST,
|
||||
[ofp.OFPBF_ATOMIC], [])
|
||||
ofp.OFPBF_ATOMIC, [])
|
||||
datapath.send_msg(req)
|
||||
"""
|
||||
def __init__(self, datapath, bundle_id=None, type_=None, flags=None,
|
||||
@ -5679,9 +5679,9 @@ class OFPBundleCtrlMsg(MsgBase):
|
||||
@_set_msg_type(ofproto.OFPT_BUNDLE_ADD_MESSAGE)
|
||||
class OFPBundleAddMsg(MsgInMsgBase):
|
||||
"""
|
||||
Bundle control message
|
||||
Bundle add message
|
||||
|
||||
The controller uses this message to create, destroy and commit bundles
|
||||
The controller uses this message to add a message to a bundle
|
||||
|
||||
================ ======================================================
|
||||
Attribute Description
|
||||
@ -5703,7 +5703,7 @@ class OFPBundleAddMsg(MsgInMsgBase):
|
||||
|
||||
msg = ofp_parser.OFPRoleRequest(datapath, ofp.OFPCR_ROLE_EQUAL, 0)
|
||||
|
||||
req = ofp_parser.OFPBundleAddMsg(datapath, 7, [ofp.OFPBF_ATOMIC],
|
||||
req = ofp_parser.OFPBundleAddMsg(datapath, 7, ofp.OFPBF_ATOMIC,
|
||||
msg, [])
|
||||
datapath.send_msg(req)
|
||||
"""
|
||||
|
||||
@ -6713,7 +6713,7 @@ class OFPBundleCtrlMsg(MsgBase):
|
||||
|
||||
req = ofp_parser.OFPBundleCtrlMsg(datapath, 7,
|
||||
ofp.OFPBCT_OPEN_REQUEST,
|
||||
[ofp.OFPBF_ATOMIC], [])
|
||||
ofp.OFPBF_ATOMIC, [])
|
||||
datapath.send_msg(req)
|
||||
"""
|
||||
def __init__(self, datapath, bundle_id=None, type_=None, flags=None,
|
||||
@ -6757,9 +6757,9 @@ class OFPBundleCtrlMsg(MsgBase):
|
||||
@_set_msg_type(ofproto.OFPT_BUNDLE_ADD_MESSAGE)
|
||||
class OFPBundleAddMsg(MsgInMsgBase):
|
||||
"""
|
||||
Bundle control message
|
||||
Bundle add message
|
||||
|
||||
The controller uses this message to create, destroy and commit bundles
|
||||
The controller uses this message to add a message to a bundle
|
||||
|
||||
================ ======================================================
|
||||
Attribute Description
|
||||
@ -6781,7 +6781,7 @@ class OFPBundleAddMsg(MsgInMsgBase):
|
||||
|
||||
msg = ofp_parser.OFPRoleRequest(datapath, ofp.OFPCR_ROLE_EQUAL, 0)
|
||||
|
||||
req = ofp_parser.OFPBundleAddMsg(datapath, 7, [ofp.OFPBF_ATOMIC],
|
||||
req = ofp_parser.OFPBundleAddMsg(datapath, 7, ofp.OFPBF_ATOMIC,
|
||||
msg, [])
|
||||
datapath.send_msg(req)
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user