)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"8bc7673529381b68f8241aa7346198d53ffa4a99","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  No, it is not."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* Is the function of this library already covered by other libraries in global-requirements.txt?"},{"line_number":29,"context_line":"  No"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* Is the library required for OpenStack project or related dev or infrastructure setup? (Answer to this should be Yes, of course) Which?"},{"line_number":32,"context_line":"  Yes, Dragonflow needs this library to parse OpenFlow message."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a8bc5a2_ddb730f3","line":29,"updated":"2016-09-26 09:45:41.000000000","message":"FYI, you can parse on-wire messages with ryu:\n\n  from ryu.ofproto import ofproto_parser\n  from ryu.ofproto import ofproto_protocol\n\n  (version, msg_type, msg_len, xid) \u003d ofproto_parser.header(wire_msg)\n  dp \u003d ofproto_protocol.ProtocolDesc(version\u003dversion)\n  msg \u003d ofproto_parser.msg(dp, version, msg_type, msg_len, xid, wire_msg)\n  print msg\n  print msg.to_jsondict()","commit_id":"b7b91bbd236ac77e358d285d0c7f3be48ac2d1a3"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"cc1eec764ddeabb5f5dc2dfa174628609cde2bc4","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  No, it is not."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* Is the function of this library already covered by other libraries in global-requirements.txt?"},{"line_number":29,"context_line":"  No"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* Is the library required for OpenStack project or related dev or infrastructure setup? (Answer to this should be Yes, of course) Which?"},{"line_number":32,"context_line":"  Yes, Dragonflow needs this library to parse OpenFlow message."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a8bc5a2_f6177842","line":29,"in_reply_to":"5a8bc5a2_3331f25a","updated":"2016-09-27 01:43:54.000000000","message":"Yes, for now, we just wan to parse the error message in the OFPErrorMsg","commit_id":"b7b91bbd236ac77e358d285d0c7f3be48ac2d1a3"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"1e78b023175989c5b36ef7920ff5a8f3e701b6a3","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  No, it is not."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* Is the function of this library already covered by other libraries in global-requirements.txt?"},{"line_number":29,"context_line":"  No"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* Is the library required for OpenStack project or related dev or infrastructure setup? (Answer to this should be Yes, of course) Which?"},{"line_number":32,"context_line":"  Yes, Dragonflow needs this library to parse OpenFlow message."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a8bc5a2_73345bfb","line":29,"in_reply_to":"5a8bc5a2_66404035","updated":"2016-09-27 01:07:58.000000000","message":"parser of some of controller-to-switch messages are not implemented in ryu, as it mainly aims for the controller side implementation. (vs switch side)\nso you\u0027re right, it doesn\u0027t suite for your purpose. (pretty print \"data\" in error message)","commit_id":"b7b91bbd236ac77e358d285d0c7f3be48ac2d1a3"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"510cbd9b8689dca7ed9ca349fc1190b0abaa32b4","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  No, it is not."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* Is the function of this library already covered by other libraries in global-requirements.txt?"},{"line_number":29,"context_line":"  No"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* Is the library required for OpenStack project or related dev or infrastructure setup? (Answer to this should be Yes, of course) Which?"},{"line_number":32,"context_line":"  Yes, Dragonflow needs this library to parse OpenFlow message."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a8bc5a2_f6ecd8bc","line":29,"in_reply_to":"5a8bc5a2_73345bfb","updated":"2016-09-27 02:05:25.000000000","message":"\u003e parser of some of controller-to-switch messages are not implemented in ryu\n\nIt seems wire_msg is truncated at 64 bytes (see openflow-spec-v1.3.2 page 97), all ryu needs might be a nice error handling. Do you remember, Yamamoto-san?","commit_id":"b7b91bbd236ac77e358d285d0c7f3be48ac2d1a3"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"d7d0bdde68d8e23ab1885f7955215d896fdd8b71","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  No, it is not."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* Is the function of this library already covered by other libraries in global-requirements.txt?"},{"line_number":29,"context_line":"  No"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* Is the library required for OpenStack project or related dev or infrastructure setup? (Answer to this should be Yes, of course) Which?"},{"line_number":32,"context_line":"  Yes, Dragonflow needs this library to parse OpenFlow message."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a8bc5a2_3331f25a","line":29,"in_reply_to":"5a8bc5a2_73345bfb","updated":"2016-09-27 01:29:57.000000000","message":"Hi, such a feature can be implemented in ryu.\n\nI guess you need this for bug/1624826, right?","commit_id":"b7b91bbd236ac77e358d285d0c7f3be48ac2d1a3"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"98c021cee7d4a1652cdd933f521ab209575dc284","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  No, it is not."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* Is the function of this library already covered by other libraries in global-requirements.txt?"},{"line_number":29,"context_line":"  No"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* Is the library required for OpenStack project or related dev or infrastructure setup? (Answer to this should be Yes, of course) Which?"},{"line_number":32,"context_line":"  Yes, Dragonflow needs this library to parse OpenFlow message."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a8bc5a2_66404035","line":29,"in_reply_to":"5a8bc5a2_ddb730f3","updated":"2016-09-26 12:45:16.000000000","message":"Thanks, YAMAMOTO.\n\nI just tried ryu, it can parse some msg, but for some reason I don\u0027t know, it can\u0027t parse others.\n\nFor example:\nwire_msg \u003d \u0027\\x04\\x0e\\x00h\\xce\\x14\\x04v\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00M\\x00\\x00\\x00\\x00\\x00\\xff\\xfe\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\x00\\x00\\x00\\x00\\x00\\x01\\x00\\x16\\x00\\x01\\xd3\\x08\\x00\\x00\\x00%\\x00\\x00\\x005\u0027\n\nUsing ryu will report \n2016-09-26 07:39:11.630 TRACE ryu.ofproto.ofproto_parser   File \"/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py\", line 1678, in parser\n2016-09-26 07:39:11.630 TRACE ryu.ofproto.ofproto_parser     (header,) \u003d struct.unpack_from(\u0027!I\u0027, buf, offset)\n2016-09-26 07:39:11.630 TRACE ryu.ofproto.ofproto_parser error: unpack_from requires a buffer of at least 4 bytes\n\nBut using ofpstr, it outputs\nofp4.mod2str(wire_msg)\n\u0027table\u003d77,priority\u003d65534,out_port\u003dany,out_group\u003dany,nxm_ct_state\u003d0x25/0x35\u0027\n\nI would like to use ryu is it works all the time. For now, I will update the commit message at first.","commit_id":"b7b91bbd236ac77e358d285d0c7f3be48ac2d1a3"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"0fe7b452dd025a16ef6e970e918d8e3b685dff7e","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  No, it is not."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* Is the function of this library already covered by other libraries in global-requirements.txt?"},{"line_number":29,"context_line":"  No"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"* Is the library required for OpenStack project or related dev or infrastructure setup? (Answer to this should be Yes, of course) Which?"},{"line_number":32,"context_line":"  Yes, Dragonflow needs this library to parse OpenFlow message."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a8bc5a2_d6927cf5","line":29,"in_reply_to":"5a8bc5a2_f6ecd8bc","updated":"2016-09-27 02:16:39.000000000","message":"toshihiro,\n\ni don\u0027t remember but it sounds plausible.","commit_id":"b7b91bbd236ac77e358d285d0c7f3be48ac2d1a3"}]}
