)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"0714a7476a1978bfa7d834bf3aa4a3c71155fdda","unresolved":false,"context_lines":[{"line_number":13,"context_line":"switches or fabrics, VDP protocol is used to assign VLAN for communication"},{"line_number":14,"context_line":"between VM on compute nodes and the switches. VDP is running on all compute"},{"line_number":15,"context_line":"nodes and as part of the DFA requirements the VDP is required to send Cisco"},{"line_number":16,"context_line":"organization-specific OUI to the switches. For that reason, mechanism driver"},{"line_number":17,"context_line":"prepares the data and send it to the agent on compute nodes using RPC. The"},{"line_number":18,"context_line":"changes in this commit define parameters in the config file that both mechanism"},{"line_number":19,"context_line":"driver an agent can use to setup RPC."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1abeadc6_58d2a65c","line":16,"updated":"2014-08-21 20:07:14.000000000","message":"reason, -\u003e reason, the","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"b7ad0dc3533a1f9110c31303514f3337c3b6f3cc","unresolved":false,"context_lines":[{"line_number":13,"context_line":"switches or fabrics, VDP protocol is used to assign VLAN for communication"},{"line_number":14,"context_line":"between VM on compute nodes and the switches. VDP is running on all compute"},{"line_number":15,"context_line":"nodes and as part of the DFA requirements the VDP is required to send Cisco"},{"line_number":16,"context_line":"organization-specific OUI to the switches. For that reason, mechanism driver"},{"line_number":17,"context_line":"prepares the data and send it to the agent on compute nodes using RPC. The"},{"line_number":18,"context_line":"changes in this commit define parameters in the config file that both mechanism"},{"line_number":19,"context_line":"driver an agent can use to setup RPC."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1abeadc6_3167c5b8","line":16,"in_reply_to":"1abeadc6_58d2a65c","updated":"2014-08-22 16:03:18.000000000","message":"Done","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"0714a7476a1978bfa7d834bf3aa4a3c71155fdda","unresolved":false,"context_lines":[{"line_number":16,"context_line":"organization-specific OUI to the switches. For that reason, mechanism driver"},{"line_number":17,"context_line":"prepares the data and send it to the agent on compute nodes using RPC. The"},{"line_number":18,"context_line":"changes in this commit define parameters in the config file that both mechanism"},{"line_number":19,"context_line":"driver an agent can use to setup RPC."},{"line_number":20,"context_line":"It is worth to note here that, RPC can be avoided if get_device_details could"},{"line_number":21,"context_line":"ask a mechanism driver to add more information to the return dictionary if"},{"line_number":22,"context_line":"they need to. For now this is not supported so RPC is used to exchange the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1abeadc6_78d7624b","line":19,"updated":"2014-08-21 20:07:14.000000000","message":"an -\u003e and","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"b7ad0dc3533a1f9110c31303514f3337c3b6f3cc","unresolved":false,"context_lines":[{"line_number":16,"context_line":"organization-specific OUI to the switches. For that reason, mechanism driver"},{"line_number":17,"context_line":"prepares the data and send it to the agent on compute nodes using RPC. The"},{"line_number":18,"context_line":"changes in this commit define parameters in the config file that both mechanism"},{"line_number":19,"context_line":"driver an agent can use to setup RPC."},{"line_number":20,"context_line":"It is worth to note here that, RPC can be avoided if get_device_details could"},{"line_number":21,"context_line":"ask a mechanism driver to add more information to the return dictionary if"},{"line_number":22,"context_line":"they need to. For now this is not supported so RPC is used to exchange the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1abeadc6_5107e1c9","line":19,"in_reply_to":"1abeadc6_78d7624b","updated":"2014-08-22 16:03:18.000000000","message":"Done","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":1923,"name":"Mohammad Banikazemi","email":"mbanikazemi@gmail.com","username":"mb-s"},"change_message_id":"3ffc06e888d08d344b515929d34b1f7af4061209","unresolved":false,"context_lines":[{"line_number":22,"context_line":"they need to. For now this is not supported so RPC is used to exchange the"},{"line_number":23,"context_line":"information."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Partially Implements: blueprint ml2-mechanism-driver-for-cisco-dfa"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Change-Id: I56847b67f7be117b42896ddb41af95088acc245d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"fa98f980_1db1e946","line":25,"updated":"2014-09-14 23:57:09.000000000","message":"Want to have DocImpact to make sure the addition of new config option is documented?","commit_id":"b673cdfceb6179b9edd130bb926e6c2a962af5b2"}],"etc/neutron/plugins/ml2/ml2_conf.ini":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"0714a7476a1978bfa7d834bf3aa4a3c71155fdda","unresolved":false,"context_lines":[{"line_number":68,"context_line":"# When it is configured, mechanism driver and"},{"line_number":69,"context_line":"# ovs_neutron_agent can use RPC call to exchange information."},{"line_number":70,"context_line":"#"},{"line_number":71,"context_line":"# Example: mechanism driver name \u003d cisco_dfa"},{"line_number":72,"context_line":"# Example: topic name on mechanism driver side \u003d q-mechdrv-plugin"},{"line_number":73,"context_line":"# Example: topic name on ovs_neutron_agent side \u003d dfa"}],"source_content_type":"text/x-properties","patch_set":3,"id":"1abeadc6_5860e6a4","line":71,"updated":"2014-08-21 20:07:14.000000000","message":"Shouldn\u0027t the examples be in the format shown on L63-64? I\u0027m a bit confused.","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"b7ad0dc3533a1f9110c31303514f3337c3b6f3cc","unresolved":false,"context_lines":[{"line_number":68,"context_line":"# When it is configured, mechanism driver and"},{"line_number":69,"context_line":"# ovs_neutron_agent can use RPC call to exchange information."},{"line_number":70,"context_line":"#"},{"line_number":71,"context_line":"# Example: mechanism driver name \u003d cisco_dfa"},{"line_number":72,"context_line":"# Example: topic name on mechanism driver side \u003d q-mechdrv-plugin"},{"line_number":73,"context_line":"# Example: topic name on ovs_neutron_agent side \u003d dfa"}],"source_content_type":"text/x-properties","patch_set":3,"id":"1abeadc6_1101e9ae","line":71,"in_reply_to":"1abeadc6_5860e6a4","updated":"2014-08-22 16:03:18.000000000","message":"I put the example in one line to avoid confusion.","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"0714a7476a1978bfa7d834bf3aa4a3c71155fdda","unresolved":false,"context_lines":[{"line_number":306,"context_line":"        \"\"\""},{"line_number":307,"context_line":"        key_list \u003d [\u0027name\u0027, \u0027plugin_topic\u0027, \u0027agent_topic\u0027]"},{"line_number":308,"context_line":"        for val in mech_drvr:"},{"line_number":309,"context_line":"            if len(val) \u003e 0:"},{"line_number":310,"context_line":"                tmplist \u003d val.split(\u0027:\u0027)"},{"line_number":311,"context_line":"                while len(tmplist) \u003c len(key_list):"},{"line_number":312,"context_line":"                    tmplist.append(None)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_18758ef9","line":309,"updated":"2014-08-21 20:07:14.000000000","message":"L309-314 could be this (if I understand correctly):\n\n    d \u003d dict(itertools.izip(key_list, itertools.repeat(None, len(key_list))))\n    self._mech_driver_rpc_topics.append(d)","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"b7ad0dc3533a1f9110c31303514f3337c3b6f3cc","unresolved":false,"context_lines":[{"line_number":306,"context_line":"        \"\"\""},{"line_number":307,"context_line":"        key_list \u003d [\u0027name\u0027, \u0027plugin_topic\u0027, \u0027agent_topic\u0027]"},{"line_number":308,"context_line":"        for val in mech_drvr:"},{"line_number":309,"context_line":"            if len(val) \u003e 0:"},{"line_number":310,"context_line":"                tmplist \u003d val.split(\u0027:\u0027)"},{"line_number":311,"context_line":"                while len(tmplist) \u003c len(key_list):"},{"line_number":312,"context_line":"                    tmplist.append(None)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_d121314e","line":309,"in_reply_to":"1abeadc6_18758ef9","updated":"2014-08-22 16:03:18.000000000","message":"It doesn\u0027t work as tmplist has  to be included.\nI can do this:\n\nd \u003d dict(itertools.izip_longest(key_list, tmplist, fillvalue\u003dNone))\n\nand remove L311-312.","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"0714a7476a1978bfa7d834bf3aa4a3c71155fdda","unresolved":false,"context_lines":[{"line_number":312,"context_line":"                    tmplist.append(None)"},{"line_number":313,"context_line":"                d \u003d dict(itertools.izip(key_list, tmplist))"},{"line_number":314,"context_line":"                self._mech_driver_rpc_topics.append(d)"},{"line_number":315,"context_line":"        LOG.debug((\u0027List of mechanism drivers RPC topics\u003d%s\u0027) %"},{"line_number":316,"context_line":"                  (self._mech_driver_rpc_topics))"},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"    def _setup_mech_driver_consumers(self, consumers):"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_7867624d","line":315,"updated":"2014-08-21 20:07:14.000000000","message":"Don\u0027t need parens around string or value on next line.","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"b7ad0dc3533a1f9110c31303514f3337c3b6f3cc","unresolved":false,"context_lines":[{"line_number":312,"context_line":"                    tmplist.append(None)"},{"line_number":313,"context_line":"                d \u003d dict(itertools.izip(key_list, tmplist))"},{"line_number":314,"context_line":"                self._mech_driver_rpc_topics.append(d)"},{"line_number":315,"context_line":"        LOG.debug((\u0027List of mechanism drivers RPC topics\u003d%s\u0027) %"},{"line_number":316,"context_line":"                  (self._mech_driver_rpc_topics))"},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"    def _setup_mech_driver_consumers(self, consumers):"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_b1291539","line":315,"in_reply_to":"1abeadc6_7867624d","updated":"2014-08-22 16:03:18.000000000","message":"Done","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"c0839fed59f062c645ebe0f5c85d265dfae47361","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"import eventlet"},{"line_number":23,"context_line":"eventlet.monkey_patch()"},{"line_number":24,"context_line":"import itertools"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"import netaddr"},{"line_number":27,"context_line":"from neutron.plugins.openvswitch.agent import ovs_dvr_neutron_agent"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_f996ef4a","line":24,"updated":"2014-09-15 11:19:46.000000000","message":"nit: itertools is part of stdlib","commit_id":"b673cdfceb6179b9edd130bb926e6c2a962af5b2"},{"author":{"_account_id":1923,"name":"Mohammad Banikazemi","email":"mbanikazemi@gmail.com","username":"mb-s"},"change_message_id":"3ffc06e888d08d344b515929d34b1f7af4061209","unresolved":false,"context_lines":[{"line_number":315,"context_line":"                  self._mech_driver_rpc_topics)"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"    def _setup_mech_driver_consumers(self, consumers):"},{"line_number":318,"context_line":"        \"\"\"Add agent\u0027s topic to the listening consumers list, for every"},{"line_number":319,"context_line":"        mechanism driver in the _mech_driver_rpc_topics list."},{"line_number":320,"context_line":"        \"\"\""},{"line_number":321,"context_line":"        for md in self._mech_driver_rpc_topics:"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_3d3eadb8","line":318,"updated":"2014-09-14 23:57:09.000000000","message":"Note the guideline for multi line comments (as used in the previous method).","commit_id":"b673cdfceb6179b9edd130bb926e6c2a962af5b2"},{"author":{"_account_id":1923,"name":"Mohammad Banikazemi","email":"mbanikazemi@gmail.com","username":"mb-s"},"change_message_id":"3ffc06e888d08d344b515929d34b1f7af4061209","unresolved":false,"context_lines":[{"line_number":330,"context_line":"        # https://review.openstack.org/#/c/105563/"},{"line_number":331,"context_line":"        LOG.debug(\"vm_info received\")"},{"line_number":332,"context_line":"        vminfo \u003d kwargs.get(\u0027vm_info\u0027)"},{"line_number":333,"context_line":"        if not vminfo:"},{"line_number":334,"context_line":"            return"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def get_net_uuid(self, vif_id):"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_bda0ddf4","line":333,"updated":"2014-09-14 23:57:09.000000000","message":"This seems unnecessary as either way you return.","commit_id":"b673cdfceb6179b9edd130bb926e6c2a962af5b2"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"c0839fed59f062c645ebe0f5c85d265dfae47361","unresolved":false,"context_lines":[{"line_number":330,"context_line":"        # https://review.openstack.org/#/c/105563/"},{"line_number":331,"context_line":"        LOG.debug(\"vm_info received\")"},{"line_number":332,"context_line":"        vminfo \u003d kwargs.get(\u0027vm_info\u0027)"},{"line_number":333,"context_line":"        if not vminfo:"},{"line_number":334,"context_line":"            return"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    def get_net_uuid(self, vif_id):"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_79b83fc8","line":333,"in_reply_to":"fa98f980_bda0ddf4","updated":"2014-09-15 11:19:46.000000000","message":"This whole method might fall under YAGNI i think.","commit_id":"b673cdfceb6179b9edd130bb926e6c2a962af5b2"}],"neutron/plugins/openvswitch/common/config.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"0714a7476a1978bfa7d834bf3aa4a3c71155fdda","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                help\u003d_(\"List of RPC parameters used between mechanism driver \""},{"line_number":96,"context_line":"                       \"and OVS Neturon Agent. With this parameters a \""},{"line_number":97,"context_line":"                       \"mechanism driver and neutron agent can setup queue \""},{"line_number":98,"context_line":"                       \"and exchange information.\""},{"line_number":99,"context_line":"                       \"\u003cmechanism dirver name\u003e:\u003cmechanism driver topic name\u003e:\""},{"line_number":100,"context_line":"                       \"\u003ctopic name on neutron agent side\u003e\")),"},{"line_number":101,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_563997a2","line":98,"updated":"2014-08-21 20:07:14.000000000","message":"add space after period.","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"b7ad0dc3533a1f9110c31303514f3337c3b6f3cc","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                help\u003d_(\"List of RPC parameters used between mechanism driver \""},{"line_number":96,"context_line":"                       \"and OVS Neturon Agent. With this parameters a \""},{"line_number":97,"context_line":"                       \"mechanism driver and neutron agent can setup queue \""},{"line_number":98,"context_line":"                       \"and exchange information.\""},{"line_number":99,"context_line":"                       \"\u003cmechanism dirver name\u003e:\u003cmechanism driver topic name\u003e:\""},{"line_number":100,"context_line":"                       \"\u003ctopic name on neutron agent side\u003e\")),"},{"line_number":101,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_f11e2d0b","line":98,"in_reply_to":"1abeadc6_563997a2","updated":"2014-08-22 16:03:18.000000000","message":"Done","commit_id":"47923e93b54afff87e835a60e37ba49fe6347c20"}]}
