)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"335d03c38cc5efeb55cd6bb58570e94dc47e8689","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Bindings to host or status may need further encapsulation"},{"line_number":10,"context_line":"to avoid exposing mechanism drivers to underlying DB model"},{"line_number":11,"context_line":"details. This was particularly true in the case of the"},{"line_number":12,"context_line":"l2pop mech driver."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Partially-implements: blueprint neutron-ovs-dvr"},{"line_number":15,"context_line":"Supports blueprint: ml2-hierarchical-port-binding"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_ff5c7a7f","line":12,"updated":"2014-07-18 07:17:57.000000000","message":"do you plan to deprecate current and original in future?","commit_id":"dbe1b544716ebdf54d7b2f892481d402d5006c16"}],"neutron/plugins/ml2/driver_api.py":[{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"fc71cc6bece386e90f66d36a62359cbee985a27a","unresolved":false,"context_lines":[{"line_number":219,"context_line":"        \"\"\"Return the current port."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        Return the current port, as defined by NeutronPluginBaseV2.create_port"},{"line_number":222,"context_line":"        and all extensions in the ml2 plugin."},{"line_number":223,"context_line":"        \"\"\""},{"line_number":224,"context_line":"        pass"},{"line_number":225,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_60f8b8c4","line":222,"updated":"2014-07-24 21:17:01.000000000","message":"Nit: If you are going to re-word the doctext for the current and original properties of PortContext, please do the same for the current and original properties of NetworkContext and SubnetContext.","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"459d66e6169cc49ac18474d70d5c73aa0de8f7bf","unresolved":false,"context_lines":[{"line_number":219,"context_line":"        \"\"\"Return the current port."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        Return the current port, as defined by NeutronPluginBaseV2.create_port"},{"line_number":222,"context_line":"        and all extensions in the ml2 plugin."},{"line_number":223,"context_line":"        \"\"\""},{"line_number":224,"context_line":"        pass"},{"line_number":225,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_ce5ff573","line":222,"in_reply_to":"baada198_60f8b8c4","updated":"2014-07-24 22:31:01.000000000","message":"I hadn\u0027t initially done it because I figured it was beyond this patch, but I can take care of them accordingly.","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"fc71cc6bece386e90f66d36a62359cbee985a27a","unresolved":false,"context_lines":[{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    @abc.abstractproperty"},{"line_number":237,"context_line":"    def status(self):"},{"line_number":238,"context_line":"        \"\"\"Return the status of the current port.\"\"\""},{"line_number":239,"context_line":"        pass"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    @abc.abstractproperty"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_20532017","line":238,"updated":"2014-07-24 21:17:01.000000000","message":"Nit: \"Return the current status of the port.\"","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"459d66e6169cc49ac18474d70d5c73aa0de8f7bf","unresolved":false,"context_lines":[{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    @abc.abstractproperty"},{"line_number":237,"context_line":"    def status(self):"},{"line_number":238,"context_line":"        \"\"\"Return the status of the current port.\"\"\""},{"line_number":239,"context_line":"        pass"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    @abc.abstractproperty"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_ee1679a6","line":238,"in_reply_to":"baada198_20532017","updated":"2014-07-24 22:31:01.000000000","message":"Done","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"fc71cc6bece386e90f66d36a62359cbee985a27a","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    @abc.abstractproperty"},{"line_number":242,"context_line":"    def original_status(self):"},{"line_number":243,"context_line":"        \"\"\"Return the status of the original port."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"        The method is only valid within calls to update_port_precommit and"},{"line_number":246,"context_line":"        update_port_postcommit."}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_803dccbd","line":243,"updated":"2014-07-24 21:17:01.000000000","message":"Nit: \"Return the original status of the port.\"","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"459d66e6169cc49ac18474d70d5c73aa0de8f7bf","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    @abc.abstractproperty"},{"line_number":242,"context_line":"    def original_status(self):"},{"line_number":243,"context_line":"        \"\"\"Return the status of the original port."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"        The method is only valid within calls to update_port_precommit and"},{"line_number":246,"context_line":"        update_port_postcommit."}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_0e080d7f","line":243,"in_reply_to":"baada198_803dccbd","updated":"2014-07-24 22:31:01.000000000","message":"Done","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"fc71cc6bece386e90f66d36a62359cbee985a27a","unresolved":false,"context_lines":[{"line_number":268,"context_line":"        pass"},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"    @abc.abstractproperty"},{"line_number":271,"context_line":"    def bound_host(self):"},{"line_number":272,"context_line":"        \"\"\"Return the currently bound host with this port.\"\"\""},{"line_number":273,"context_line":"        pass"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_20c6c09c","line":271,"updated":"2014-07-24 21:17:01.000000000","message":"The \"bound_\" name implies this is an output from the binding process, only valid after binding has occurred, like bound_segment and bound_driver. But my understanding is that this is the host we want to use to bind. How about \"host_to_bind\", similar to the \"segments_to_bind\" proposed in the hierarchical port binding BP (https://review.openstack.org/#/c/106185/)?","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"459d66e6169cc49ac18474d70d5c73aa0de8f7bf","unresolved":false,"context_lines":[{"line_number":268,"context_line":"        pass"},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"    @abc.abstractproperty"},{"line_number":271,"context_line":"    def bound_host(self):"},{"line_number":272,"context_line":"        \"\"\"Return the currently bound host with this port.\"\"\""},{"line_number":273,"context_line":"        pass"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_0ee48da6","line":271,"in_reply_to":"baada198_20c6c09c","updated":"2014-07-24 22:31:01.000000000","message":"But then wouldn\u0027t that be misleading for when/if the binding occur? I\u0027ll revise the docstring to be more explicit that this is host associated to the port in its current configuration. Would that be better?","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"fc71cc6bece386e90f66d36a62359cbee985a27a","unresolved":false,"context_lines":[{"line_number":273,"context_line":"        pass"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"    @abc.abstractproperty"},{"line_number":276,"context_line":"    def original_bound_host(self):"},{"line_number":277,"context_line":"        \"\"\"Return the original bound host with this port."},{"line_number":278,"context_line":""},{"line_number":279,"context_line":"        Method is only valid within calls to update_port_precommit"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_c0fb44bc","line":276,"updated":"2014-07-24 21:17:01.000000000","message":"Use original_host_to_bind?","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"459d66e6169cc49ac18474d70d5c73aa0de8f7bf","unresolved":false,"context_lines":[{"line_number":273,"context_line":"        pass"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"    @abc.abstractproperty"},{"line_number":276,"context_line":"    def original_bound_host(self):"},{"line_number":277,"context_line":"        \"\"\"Return the original bound host with this port."},{"line_number":278,"context_line":""},{"line_number":279,"context_line":"        Method is only valid within calls to update_port_precommit"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_6e8509ac","line":276,"in_reply_to":"baada198_c0fb44bc","updated":"2014-07-24 22:31:01.000000000","message":"same as above","commit_id":"d41ee8f0657a58a2005f27a3cafc2f1fb91a02d7"}],"neutron/plugins/ml2/drivers/l2pop/mech_driver.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"d85527589cc54b627349be58f390660c16dd3b86","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"        return agent, agent_ip, segment, fdb_entries"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    def _update_port_up(self, context):"},{"line_number":158,"context_line":"        port \u003d context.current"},{"line_number":159,"context_line":"        agent_host \u003d context.bound_host"},{"line_number":160,"context_line":"        port_infos \u003d self._get_port_infos(context, port, agent_host)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_b8d035f8","line":157,"updated":"2014-07-19 05:10:05.000000000","message":"Previously _update_port_up and _update_port_down have the same arguments and both use agent_host internally. Is there any reason not to add \"agent_host\" argument to _update_port_up()? Just a question for symmetry.","commit_id":"8dabc9de181d28f5f4cfd1c2d8f2002511183416"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"897d0df51e5e0df0bc9a018898528171d8fa1610","unresolved":false,"context_lines":[{"line_number":118,"context_line":"                if orig:"},{"line_number":119,"context_line":"                    # this port has been migrated: remove its entries from fdb"},{"line_number":120,"context_line":"                    # FIXME(armando-migliaccio): use context property to access"},{"line_number":121,"context_line":"                    # the bound host id"},{"line_number":122,"context_line":"                    fdb_entries \u003d self._update_port_down("},{"line_number":123,"context_line":"                        context, orig, orig[\u0027binding:host_id\u0027])"},{"line_number":124,"context_line":"                    self.L2populationAgentNotify.remove_fdb_entries("}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_4fc8a3a8","line":121,"updated":"2014-07-23 00:43:21.000000000","message":"why to leave this as FIXME?\nstoring a tuple (orig, orig_host) in migrated_ports is not enough?","commit_id":"93fdd3787bda131fe2fd8d27bed7d19c719cca6e"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"e01ef7140c0bf9f5ca4615b03ac5078a92431577","unresolved":false,"context_lines":[{"line_number":118,"context_line":"                if orig:"},{"line_number":119,"context_line":"                    # this port has been migrated: remove its entries from fdb"},{"line_number":120,"context_line":"                    # FIXME(armando-migliaccio): use context property to access"},{"line_number":121,"context_line":"                    # the bound host id"},{"line_number":122,"context_line":"                    fdb_entries \u003d self._update_port_down("},{"line_number":123,"context_line":"                        context, orig, orig[\u0027binding:host_id\u0027])"},{"line_number":124,"context_line":"                    self.L2populationAgentNotify.remove_fdb_entries("}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_afcbff48","line":121,"in_reply_to":"baada198_4fc8a3a8","updated":"2014-07-23 00:56:53.000000000","message":"good point","commit_id":"93fdd3787bda131fe2fd8d27bed7d19c719cca6e"}]}
