summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWAMOTO Toshihiro <iwamoto@valinux.co.jp>2017-12-01 17:49:02 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-12-11 22:34:16 +0900
commit98ea9024edec508ffdcd25cc955d4d6bac1e3668 (patch)
treee44bed57d33e19303a646cc9a6ae46c72cb21253
parentbf832923644683cb96fc4667a2908404da624aae (diff)
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>
-rw-r--r--ryu/ofproto/ofproto_v1_4_parser.py8
-rw-r--r--ryu/ofproto/ofproto_v1_5_parser.py8
2 files changed, 8 insertions, 8 deletions
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py
index f927fdba..a73ee7f2 100644
--- a/ryu/ofproto/ofproto_v1_4_parser.py
+++ b/ryu/ofproto/ofproto_v1_4_parser.py
@@ -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)
"""
diff --git a/ryu/ofproto/ofproto_v1_5_parser.py b/ryu/ofproto/ofproto_v1_5_parser.py
index 0fbb5c03..c89bc37a 100644
--- a/ryu/ofproto/ofproto_v1_5_parser.py
+++ b/ryu/ofproto/ofproto_v1_5_parser.py
@@ -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)
"""