Signed-off-by: IWAMOTO Toshihiro <iwam...@valinux.co.jp>
---
 ryu/ofproto/ofproto_v1_4_parser.py | 8 ++++----
 ryu/ofproto/ofproto_v1_5_parser.py | 8 ++++----
 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 b61e6fef..c190e7dd 100644
--- a/ryu/ofproto/ofproto_v1_5_parser.py
+++ b/ryu/ofproto/ofproto_v1_5_parser.py
@@ -6712,7 +6712,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,
@@ -6756,9 +6756,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
@@ -6780,7 +6780,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)
     """
-- 
2.11.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to