)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"87ec91418907abc4549adf282589b2a83f836241","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"related commit: b6133c35dd587f6b01e8ec12757347b2767713a6"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Partially implements: blueprint ofagent-l2pop"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I99a2adfd380a9fefe34c53e0dabc21d8cf5936cc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"AAAAXH%2F%2FaWU%3D","line":18,"updated":"2014-04-22 00:55:18.000000000","message":"This needs to be submitted to neutron-specs\n\nhttps://wiki.openstack.org/wiki/Blueprints#Neutron\n\nhttp://eavesdrop.openstack.org/meetings/networking/2014/networking.2014-04-21-21.02.log.html\n\n21:03:06 \u003cmestery\u003e I wanted to reiterate the new neutron-specs repository for Juno BPs.\n21:03:24 \u003cmestery\u003e If you have a feature which missed Icehouse, you need to file a BP in neutron-specs and get it approved berfore your code will be allowed to merge.","commit_id":"ff0f16832909f15bd27e0239cfc3edc9c98c9a33"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"00ea45d51ef13b17fbbe81f952d35cac48e954cb","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"related commit: b6133c35dd587f6b01e8ec12757347b2767713a6"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Partially implements: blueprint ofagent-l2pop"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I99a2adfd380a9fefe34c53e0dabc21d8cf5936cc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"AAAAXH%2F%2FE%2Bw%3D","line":18,"in_reply_to":"AAAAXH%2F%2FaWU%3D","updated":"2014-04-24 07:34:21.000000000","message":"Now specs for this is submitted.","commit_id":"ff0f16832909f15bd27e0239cfc3edc9c98c9a33"}],"neutron/agent/l2population_rpc.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"977b39f19ca4a355a6c8c427246223a70f6f67ac","unresolved":false,"context_lines":[{"line_number":62,"context_line":"class L2populationRpcCallBackOvsMixin(L2populationRpcCallBackMixin):"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    @abc.abstractmethod"},{"line_number":65,"context_line":"    def _add_fdb_flow(self, context, fdb_entries):"},{"line_number":66,"context_line":"        pass"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_1a811ac4","line":65,"range":{"start_line":65,"start_character":8,"end_line":65,"end_character":21},"updated":"2014-06-04 04:02:26.000000000","message":"better to remove the leading underscore as this is now a kind of api.","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"94a2962c0c4742396d896639e890d4d20900ee03","unresolved":false,"context_lines":[{"line_number":62,"context_line":"class L2populationRpcCallBackOvsMixin(L2populationRpcCallBackMixin):"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    @abc.abstractmethod"},{"line_number":65,"context_line":"    def _add_fdb_flow(self, context, fdb_entries):"},{"line_number":66,"context_line":"        pass"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_a4c1da55","line":65,"in_reply_to":"1ae5cdf2_1a811ac4","updated":"2014-06-04 14:43:06.000000000","message":"Done","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"977b39f19ca4a355a6c8c427246223a70f6f67ac","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        pass"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    @abc.abstractmethod"},{"line_number":69,"context_line":"    def _del_fdb_flow(self, context, fdb_entries):"},{"line_number":70,"context_line":"        pass"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_3a8256c8","line":69,"range":{"start_line":69,"start_character":8,"end_line":69,"end_character":21},"updated":"2014-06-04 04:02:26.000000000","message":"ditto","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"94a2962c0c4742396d896639e890d4d20900ee03","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        pass"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    @abc.abstractmethod"},{"line_number":69,"context_line":"    def _del_fdb_flow(self, context, fdb_entries):"},{"line_number":70,"context_line":"        pass"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_e4b762f3","line":69,"in_reply_to":"1ae5cdf2_3a8256c8","updated":"2014-06-04 14:43:06.000000000","message":"Done","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"977b39f19ca4a355a6c8c427246223a70f6f67ac","unresolved":false,"context_lines":[{"line_number":97,"context_line":"                if not remote_ip_hex:"},{"line_number":98,"context_line":"                    continue"},{"line_number":99,"context_line":"                port_name \u003d \u0027%s-%s\u0027 % (lvm.network_type, remote_ip_hex)"},{"line_number":100,"context_line":"                ofport \u003d self.setup_tunnel_port(port_name, agent_ip,"},{"line_number":101,"context_line":"                                                lvm.network_type)"},{"line_number":102,"context_line":"                if ofport \u003d\u003d 0:"},{"line_number":103,"context_line":"                    continue"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_1a52fa3a","line":100,"range":{"start_line":100,"start_character":30,"end_line":100,"end_character":47},"updated":"2014-06-04 04:02:26.000000000","message":"it seems inconsistent to do setup_tunnel_port here\nand leave cleanup_tunnel_port calls in the main module.\n\nbesides that, port_name generation logic should not be\nduplicated over multiple modules.","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"94a2962c0c4742396d896639e890d4d20900ee03","unresolved":false,"context_lines":[{"line_number":97,"context_line":"                if not remote_ip_hex:"},{"line_number":98,"context_line":"                    continue"},{"line_number":99,"context_line":"                port_name \u003d \u0027%s-%s\u0027 % (lvm.network_type, remote_ip_hex)"},{"line_number":100,"context_line":"                ofport \u003d self.setup_tunnel_port(port_name, agent_ip,"},{"line_number":101,"context_line":"                                                lvm.network_type)"},{"line_number":102,"context_line":"                if ofport \u003d\u003d 0:"},{"line_number":103,"context_line":"                    continue"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_84bcdedd","line":100,"in_reply_to":"1ae5cdf2_1a52fa3a","updated":"2014-06-04 14:43:06.000000000","message":"Done","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"332db05a2fea31c64b8aa03c51d2b5fc875b1ed0","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            yield (lvm, agent_ports)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def fdb_add_ovs(self, context, lvm, agent_ports, ofports):"},{"line_number":92,"context_line":"        LOG.debug(_(\"fdb_add_ovs received\"))"},{"line_number":93,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":94,"context_line":"            # Ensure we have a tunnel port with this remote agent"},{"line_number":95,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_03ab7275","line":92,"range":{"start_line":92,"start_character":33,"end_line":92,"end_character":41},"updated":"2014-06-04 08:48:24.000000000","message":"\"received\" here sounds weird as \"fdb_add_ovs\" is not a message.","commit_id":"83b0a49938af06706de64f8f1e37eefe099ce1c1"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"b7656013149a97294d897dbb9e8fadac67114422","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            yield (lvm, agent_ports)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def fdb_add_ovs(self, context, lvm, agent_ports, ofports):"},{"line_number":92,"context_line":"        LOG.debug(_(\"fdb_add_ovs received\"))"},{"line_number":93,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":94,"context_line":"            # Ensure we have a tunnel port with this remote agent"},{"line_number":95,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_412d68a7","line":92,"in_reply_to":"1ae5cdf2_03ab7275","updated":"2014-06-04 14:43:52.000000000","message":"Done","commit_id":"83b0a49938af06706de64f8f1e37eefe099ce1c1"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"332db05a2fea31c64b8aa03c51d2b5fc875b1ed0","unresolved":false,"context_lines":[{"line_number":101,"context_line":"                self.add_fdb_flow(port, lvm, ofport)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def fdb_remove_ovs(self, context, lvm, agent_ports, ofports):"},{"line_number":104,"context_line":"        LOG.debug(_(\"fdb_remove_ovs received\"))"},{"line_number":105,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":106,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"},{"line_number":107,"context_line":"            if not ofport:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_43b81ac8","line":104,"range":{"start_line":104,"start_character":36,"end_line":104,"end_character":44},"updated":"2014-06-04 08:48:24.000000000","message":"ditto","commit_id":"83b0a49938af06706de64f8f1e37eefe099ce1c1"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"b7656013149a97294d897dbb9e8fadac67114422","unresolved":false,"context_lines":[{"line_number":101,"context_line":"                self.add_fdb_flow(port, lvm, ofport)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def fdb_remove_ovs(self, context, lvm, agent_ports, ofports):"},{"line_number":104,"context_line":"        LOG.debug(_(\"fdb_remove_ovs received\"))"},{"line_number":105,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":106,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"},{"line_number":107,"context_line":"            if not ofport:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_811a107b","line":104,"in_reply_to":"1ae5cdf2_43b81ac8","updated":"2014-06-04 14:43:52.000000000","message":"Done","commit_id":"83b0a49938af06706de64f8f1e37eefe099ce1c1"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c53f8c39d99dbddc42c1d544d47f7e9b7ad09482","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        pass"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class L2populationRpcCallBackOvsMixin(L2populationRpcCallBackMixin):"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    @abc.abstractmethod"},{"line_number":66,"context_line":"    def add_fdb_flow(self, context, fdb_entries):"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_82570026","line":63,"updated":"2014-06-09 01:42:04.000000000","message":"this is now looking more tunnel-specific than OVS-specific. (except the use of \"lvm\")\nhow about renaming?","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"10503ce3962a43786b149f0a196b08d5b8cd0282","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        pass"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class L2populationRpcCallBackOvsMixin(L2populationRpcCallBackMixin):"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    @abc.abstractmethod"},{"line_number":66,"context_line":"    def add_fdb_flow(self, context, fdb_entries):"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_a5e32632","line":63,"in_reply_to":"1ae5cdf2_82570026","updated":"2014-06-09 02:11:42.000000000","message":"Yes, it may be L2populationRpcCallBackTunnelMixin. It\u0027s a long name class.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7dc63d665e2ea289d9eb77131980d94b63e3fe58","unresolved":false,"context_lines":[{"line_number":84,"context_line":"            lvm \u003d local_vlan_map.get(network_id)"},{"line_number":85,"context_line":"            if lvm:"},{"line_number":86,"context_line":"                ports \u003d values.get(\u0027ports\u0027)"},{"line_number":87,"context_line":"                ports.pop(local_ip, None)"},{"line_number":88,"context_line":"                agent_ports \u003d ports if len(ports) else None"},{"line_number":89,"context_line":"            yield (lvm, agent_ports)"},{"line_number":90,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_8dd720bf","line":87,"updated":"2014-07-09 17:06:36.000000000","message":"probably it\u0027s cleaner not to modify fdb_entries?","commit_id":"cee12ab198ad13917358d7958801c3587a6d7134"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"e19bb852a698bd79bd6b251ee02456f68faa0b9f","unresolved":false,"context_lines":[{"line_number":84,"context_line":"            lvm \u003d local_vlan_map.get(network_id)"},{"line_number":85,"context_line":"            if lvm:"},{"line_number":86,"context_line":"                ports \u003d values.get(\u0027ports\u0027)"},{"line_number":87,"context_line":"                ports.pop(local_ip, None)"},{"line_number":88,"context_line":"                agent_ports \u003d ports if len(ports) else None"},{"line_number":89,"context_line":"            yield (lvm, agent_ports)"},{"line_number":90,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_53f78c59","line":87,"in_reply_to":"baada198_8dd720bf","updated":"2014-07-16 02:10:27.000000000","message":"Done","commit_id":"cee12ab198ad13917358d7958801c3587a6d7134"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7dc63d665e2ea289d9eb77131980d94b63e3fe58","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            yield (lvm, agent_ports)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def fdb_add_tun(self, context, lvm, agent_ports, ofports):"},{"line_number":92,"context_line":"        LOG.debug(_(\"fdb_add_tun called\"))"},{"line_number":93,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":94,"context_line":"            # Ensure we have a tunnel port with this remote agent"},{"line_number":95,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_adda2415","line":92,"updated":"2014-07-09 17:06:36.000000000","message":"do not localize debug logs.","commit_id":"cee12ab198ad13917358d7958801c3587a6d7134"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"e19bb852a698bd79bd6b251ee02456f68faa0b9f","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            yield (lvm, agent_ports)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def fdb_add_tun(self, context, lvm, agent_ports, ofports):"},{"line_number":92,"context_line":"        LOG.debug(_(\"fdb_add_tun called\"))"},{"line_number":93,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":94,"context_line":"            # Ensure we have a tunnel port with this remote agent"},{"line_number":95,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_7393b000","line":92,"in_reply_to":"baada198_adda2415","updated":"2014-07-16 02:10:27.000000000","message":"Done","commit_id":"cee12ab198ad13917358d7958801c3587a6d7134"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7dc63d665e2ea289d9eb77131980d94b63e3fe58","unresolved":false,"context_lines":[{"line_number":101,"context_line":"                self.add_fdb_flow(port, lvm, ofport)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def fdb_remove_tun(self, context, lvm, agent_ports, ofports):"},{"line_number":104,"context_line":"        LOG.debug(_(\"fdb_remove_tun called\"))"},{"line_number":105,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":106,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"},{"line_number":107,"context_line":"            if not ofport:"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_4d034873","line":104,"updated":"2014-07-09 17:06:36.000000000","message":"ditto","commit_id":"cee12ab198ad13917358d7958801c3587a6d7134"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"e19bb852a698bd79bd6b251ee02456f68faa0b9f","unresolved":false,"context_lines":[{"line_number":101,"context_line":"                self.add_fdb_flow(port, lvm, ofport)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def fdb_remove_tun(self, context, lvm, agent_ports, ofports):"},{"line_number":104,"context_line":"        LOG.debug(_(\"fdb_remove_tun called\"))"},{"line_number":105,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":106,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"},{"line_number":107,"context_line":"            if not ofport:"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_9398441d","line":104,"in_reply_to":"baada198_4d034873","updated":"2014-07-16 02:10:27.000000000","message":"Done","commit_id":"cee12ab198ad13917358d7958801c3587a6d7134"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7dc63d665e2ea289d9eb77131980d94b63e3fe58","unresolved":false,"context_lines":[{"line_number":113,"context_line":"                    self.cleanup_tunnel_port(ofport, lvm.network_type)"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    def fdb_update(self, context, fdb_entries):"},{"line_number":116,"context_line":"        LOG.debug(_(\"fdb_update received\"))"},{"line_number":117,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":118,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"},{"line_number":119,"context_line":"            if not hasattr(self, method):"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_8df48088","line":116,"updated":"2014-07-09 17:06:36.000000000","message":"ditto","commit_id":"cee12ab198ad13917358d7958801c3587a6d7134"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"e19bb852a698bd79bd6b251ee02456f68faa0b9f","unresolved":false,"context_lines":[{"line_number":113,"context_line":"                    self.cleanup_tunnel_port(ofport, lvm.network_type)"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    def fdb_update(self, context, fdb_entries):"},{"line_number":116,"context_line":"        LOG.debug(_(\"fdb_update received\"))"},{"line_number":117,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":118,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"},{"line_number":119,"context_line":"            if not hasattr(self, method):"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_b39d480d","line":116,"in_reply_to":"baada198_8df48088","updated":"2014-07-16 02:10:27.000000000","message":"Done","commit_id":"cee12ab198ad13917358d7958801c3587a6d7134"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2828733375c721b6408dc2e6a9a8b09d28c79019","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":33,"context_line":"class L2populationRpcCallBackMixin(object):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    @log.log"},{"line_number":36,"context_line":"    def add_fdb_entries(self, context, fdb_entries, host\u003dNone):"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_aa7ce6ec","line":33,"updated":"2014-07-16 08:26:00.000000000","message":"Same as comments for TunnelMixin below.","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"be202845ec6ec75d2608c8cac1e8c1ae3f805a2f","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"@six.add_metaclass(abc.ABCMeta)"},{"line_number":33,"context_line":"class L2populationRpcCallBackMixin(object):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    @log.log"},{"line_number":36,"context_line":"    def add_fdb_entries(self, context, fdb_entries, host\u003dNone):"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_3492d0f6","line":33,"in_reply_to":"baada198_aa7ce6ec","updated":"2014-07-17 01:31:42.000000000","message":"Done","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2828733375c721b6408dc2e6a9a8b09d28c79019","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        pass"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin):"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    @abc.abstractmethod"},{"line_number":66,"context_line":"    def add_fdb_flow(self, context, fdb_entries):"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_4a60aacf","line":63,"updated":"2014-07-16 08:26:00.000000000","message":"Could you clarify which methods are exposed through RPC and which methods are internal methods?\nItis important to clarify RPC API. AFAIK, all methods are used in the agent side.","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"be202845ec6ec75d2608c8cac1e8c1ae3f805a2f","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        pass"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin):"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    @abc.abstractmethod"},{"line_number":66,"context_line":"    def add_fdb_flow(self, context, fdb_entries):"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_14830caa","line":63,"in_reply_to":"baada198_4a60aacf","updated":"2014-07-17 01:31:42.000000000","message":"Done","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2828733375c721b6408dc2e6a9a8b09d28c79019","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            yield (lvm, agent_ports)"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def fdb_add_tun(self, context, lvm, agent_ports, ofports):"},{"line_number":88,"context_line":"        LOG.debug(\"fdb_add_tun called\")"},{"line_number":89,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":90,"context_line":"            # Ensure we have a tunnel port with this remote agent"},{"line_number":91,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_c7e593dd","line":88,"updated":"2014-07-16 08:26:00.000000000","message":"Why don\u0027t you use @log.log?","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"be202845ec6ec75d2608c8cac1e8c1ae3f805a2f","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            yield (lvm, agent_ports)"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def fdb_add_tun(self, context, lvm, agent_ports, ofports):"},{"line_number":88,"context_line":"        LOG.debug(\"fdb_add_tun called\")"},{"line_number":89,"context_line":"        for agent_ip, ports in agent_ports.items():"},{"line_number":90,"context_line":"            # Ensure we have a tunnel port with this remote agent"},{"line_number":91,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_548d84d2","line":88,"in_reply_to":"baada198_c7e593dd","updated":"2014-07-17 01:31:42.000000000","message":"Done. Thak you. I was not aware of it.","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2828733375c721b6408dc2e6a9a8b09d28c79019","unresolved":false,"context_lines":[{"line_number":111,"context_line":"    def fdb_update(self, context, fdb_entries):"},{"line_number":112,"context_line":"        LOG.debug(\"fdb_update received\")"},{"line_number":113,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":114,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"},{"line_number":115,"context_line":"            if not hasattr(self, method):"},{"line_number":116,"context_line":"                raise NotImplementedError()"},{"line_number":117,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_0724eb0c","line":114,"updated":"2014-07-16 08:26:00.000000000","message":"It assumes _fdb_\u003caction\u003e methods are defined in subclasses. it is better to be documented.","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"be202845ec6ec75d2608c8cac1e8c1ae3f805a2f","unresolved":false,"context_lines":[{"line_number":111,"context_line":"    def fdb_update(self, context, fdb_entries):"},{"line_number":112,"context_line":"        LOG.debug(\"fdb_update received\")"},{"line_number":113,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":114,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"},{"line_number":115,"context_line":"            if not hasattr(self, method):"},{"line_number":116,"context_line":"                raise NotImplementedError()"},{"line_number":117,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_f48778b4","line":114,"in_reply_to":"baada198_0724eb0c","updated":"2014-07-17 01:31:42.000000000","message":"Done","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"e071a406c138e03b39cf484fe7b008c882734362","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    The following methods are called through RPC."},{"line_number":37,"context_line":"        add_fdb_entries(), remove_fdb_entries(), update_fdb_entries()"},{"line_number":38,"context_line":"    The following methods are used in a agent as an internal method."},{"line_number":39,"context_line":"        fdb_add(), fdb_remove(), fdb_update()"},{"line_number":40,"context_line":"    \u0027\u0027\u0027"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    @log.log"}],"source_content_type":"text/x-python","patch_set":14,"id":"baada198_cfad819d","line":39,"updated":"2014-07-17 01:55:48.000000000","message":"probably it\u0027s better to itemize\n\nfoobar:\n\n* hoge\n* fuga","commit_id":"7ee6d41e1c3600d57cec7ae19bba92904a4ae7b8"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"ed4e4debe3b59f91c01bfc7ee24f0a69fed39ad4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    The following methods are called through RPC."},{"line_number":37,"context_line":"        add_fdb_entries(), remove_fdb_entries(), update_fdb_entries()"},{"line_number":38,"context_line":"    The following methods are used in a agent as an internal method."},{"line_number":39,"context_line":"        fdb_add(), fdb_remove(), fdb_update()"},{"line_number":40,"context_line":"    \u0027\u0027\u0027"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    @log.log"}],"source_content_type":"text/x-python","patch_set":14,"id":"baada198_88560a05","line":39,"in_reply_to":"baada198_cfad819d","updated":"2014-07-17 13:48:47.000000000","message":"hmm, I\u0027m not sure if it is right.","commit_id":"7ee6d41e1c3600d57cec7ae19bba92904a4ae7b8"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"e071a406c138e03b39cf484fe7b008c882734362","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"        This method assumes that methods \u0027_fdb_\u003caction\u003e\u0027 are defined in class."},{"line_number":127,"context_line":"        Currently the following actions are available."},{"line_number":128,"context_line":"            chg_ip"},{"line_number":129,"context_line":"        \u0027\u0027\u0027"},{"line_number":130,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":131,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"}],"source_content_type":"text/x-python","patch_set":14,"id":"baada198_0f8f792f","line":128,"updated":"2014-07-17 01:55:48.000000000","message":"ditto","commit_id":"7ee6d41e1c3600d57cec7ae19bba92904a4ae7b8"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"596d22b9aa05b61e6c899390eb4e3f67789c867a","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    The following all methods are used in a agent as an internal method."},{"line_number":74,"context_line":"    \u0027\u0027\u0027"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    @abc.abstractmethod"},{"line_number":77,"context_line":"    def add_fdb_flow(self, context, fdb_entries):"},{"line_number":78,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_afcef12a","line":75,"updated":"2014-07-21 22:45:31.000000000","message":"Could you add docstring for abstract methods? For abstract methods subclasses need to implement them, so it is important to explain what are expected to implement and their arguments.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    The following all methods are used in a agent as an internal method."},{"line_number":74,"context_line":"    \u0027\u0027\u0027"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    @abc.abstractmethod"},{"line_number":77,"context_line":"    def add_fdb_flow(self, context, fdb_entries):"},{"line_number":78,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_a741ad64","line":75,"in_reply_to":"baada198_afcef12a","updated":"2014-07-22 15:50:28.000000000","message":"Done","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"596d22b9aa05b61e6c899390eb4e3f67789c867a","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        pass"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @abc.abstractmethod"},{"line_number":85,"context_line":"    def setup_tunnel_port(self, agent_ip, network_type):"},{"line_number":86,"context_line":"        pass"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_72275cb6","line":85,"updated":"2014-07-21 22:45:31.000000000","message":"Variable name \"agent_ip\" looks ambiguous. In the actual class of ovs-agent, remote_ip is passed to this variable. It seems better to distinguish local_ip and remote_ip if there is no special reason.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        pass"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    @abc.abstractmethod"},{"line_number":85,"context_line":"    def setup_tunnel_port(self, agent_ip, network_type):"},{"line_number":86,"context_line":"        pass"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_1591aa51","line":85,"in_reply_to":"baada198_72275cb6","updated":"2014-07-22 15:50:28.000000000","message":"Done","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"97aaea745ac4bdd42c04cc79983c4b26f087a900","unresolved":false,"context_lines":[{"line_number":102,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"},{"line_number":103,"context_line":"            if not ofport:"},{"line_number":104,"context_line":"                ofport \u003d self.setup_tunnel_port(agent_ip, lvm.network_type)"},{"line_number":105,"context_line":"                if ofport \u003d\u003d 0:"},{"line_number":106,"context_line":"                    continue"},{"line_number":107,"context_line":"            for port in ports:"},{"line_number":108,"context_line":"                self.add_fdb_flow(port, lvm, ofport)"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_dd03e20a","line":105,"updated":"2014-07-21 20:20:23.000000000","message":"Given that this is calling an abstract method.  How is one to know that 0 is valid return value?  Seems like there should be a bit more documentation to explain the abstract functions.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":102,"context_line":"            ofport \u003d ofports[lvm.network_type].get(agent_ip)"},{"line_number":103,"context_line":"            if not ofport:"},{"line_number":104,"context_line":"                ofport \u003d self.setup_tunnel_port(agent_ip, lvm.network_type)"},{"line_number":105,"context_line":"                if ofport \u003d\u003d 0:"},{"line_number":106,"context_line":"                    continue"},{"line_number":107,"context_line":"            for port in ports:"},{"line_number":108,"context_line":"                self.add_fdb_flow(port, lvm, ofport)"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_874e6994","line":105,"in_reply_to":"baada198_dd03e20a","updated":"2014-07-22 15:50:28.000000000","message":"Done","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b570aa42b80cb4b6374e729da28329b8b9a20834","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    def add_fdb_flow(self, port_info, remote_ip, lvm, ofport):"},{"line_number":78,"context_line":"        \u0027\u0027\u0027Add flow for fdb"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        This method assumes to be used by method fdb_add_tun."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        :param port_info: list to include mac and ip."},{"line_number":83,"context_line":"            [mac, ip]"}],"source_content_type":"text/x-python","patch_set":16,"id":"baada198_fdce9f2c","line":80,"updated":"2014-07-22 17:24:54.000000000","message":"What is the role of this method and what is expected to be done? It needs to be documented.","commit_id":"c8e0a95978e5a06a1cbfbb5c8470f605cf25ca30"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"b946c20e99e5b3aee786f357d473d5dd7228005d","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    def add_fdb_flow(self, port_info, remote_ip, lvm, ofport):"},{"line_number":78,"context_line":"        \u0027\u0027\u0027Add flow for fdb"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        This method assumes to be used by method fdb_add_tun."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        :param port_info: list to include mac and ip."},{"line_number":83,"context_line":"            [mac, ip]"}],"source_content_type":"text/x-python","patch_set":16,"id":"baada198_af45bf16","line":80,"in_reply_to":"baada198_fdce9f2c","updated":"2014-07-23 00:39:39.000000000","message":"Done","commit_id":"c8e0a95978e5a06a1cbfbb5c8470f605cf25ca30"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"ea4460ed8c9cfa353bb8049b6beba8228fa090f9","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            if not ofport:"},{"line_number":151,"context_line":"                ofport \u003d self.setup_tunnel_port(remote_ip, lvm.network_type)"},{"line_number":152,"context_line":"                if ofport \u003d\u003d 0:"},{"line_number":153,"context_line":"                    continue"},{"line_number":154,"context_line":"            for port in ports:"},{"line_number":155,"context_line":"                self.add_fdb_flow(port, remote_ip, lvm, ofport)"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-python","patch_set":17,"id":"baada198_9ca3b0ff","line":153,"updated":"2014-07-23 16:03:19.000000000","message":"is this hiding a potential error condition?","commit_id":"322fa884eae50893aaa6ac2c4c8c862879d2a0db"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"f27189a377914562007c6428a896c55c60b32f8d","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            if not ofport:"},{"line_number":151,"context_line":"                ofport \u003d self.setup_tunnel_port(remote_ip, lvm.network_type)"},{"line_number":152,"context_line":"                if ofport \u003d\u003d 0:"},{"line_number":153,"context_line":"                    continue"},{"line_number":154,"context_line":"            for port in ports:"},{"line_number":155,"context_line":"                self.add_fdb_flow(port, remote_ip, lvm, ofport)"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-python","patch_set":17,"id":"baada198_d1e342a2","line":153,"in_reply_to":"baada198_9ca3b0ff","updated":"2014-07-23 23:54:28.000000000","message":"Checking of an error condition will be did in setup_tunnel_port.","commit_id":"322fa884eae50893aaa6ac2c4c8c862879d2a0db"}],"neutron/plugins/ofagent/agent/ofa_neutron_agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"71878c0f5423025c29da8ec7e8531d85e619937e","unresolved":false,"context_lines":[{"line_number":547,"context_line":"            br.datapath,"},{"line_number":548,"context_line":"            table_id\u003dconstants.FLOOD_TO_TUN,"},{"line_number":549,"context_line":"            priority\u003d1,"},{"line_number":550,"context_line":"            match\u003dmatch, instructions\u003dinstructions)"},{"line_number":551,"context_line":"        self.ryu_send_msg(msg)"},{"line_number":552,"context_line":""},{"line_number":553,"context_line":"    def _provision_local_vlan_inbound_for_tunnel(self, lvid, network_type,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAXH%2F%2FYus%3D","line":550,"updated":"2014-04-22 06:40:55.000000000","message":"is this flow still necessary?","commit_id":"ff0f16832909f15bd27e0239cfc3edc9c98c9a33"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"00ea45d51ef13b17fbbe81f952d35cac48e954cb","unresolved":false,"context_lines":[{"line_number":547,"context_line":"            br.datapath,"},{"line_number":548,"context_line":"            table_id\u003dconstants.FLOOD_TO_TUN,"},{"line_number":549,"context_line":"            priority\u003d1,"},{"line_number":550,"context_line":"            match\u003dmatch, instructions\u003dinstructions)"},{"line_number":551,"context_line":"        self.ryu_send_msg(msg)"},{"line_number":552,"context_line":""},{"line_number":553,"context_line":"    def _provision_local_vlan_inbound_for_tunnel(self, lvid, network_type,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAXH%2F%2FE%2F0%3D","line":550,"in_reply_to":"AAAAXH%2F%2FS2c%3D","updated":"2014-04-24 07:34:21.000000000","message":"Done. Thanks Yamamoto, Francois.","commit_id":"ff0f16832909f15bd27e0239cfc3edc9c98c9a33"},{"author":{"_account_id":6820,"name":"Francois Eleouet","email":"f.eleouet@gmail.com","username":"fanchon"},"change_message_id":"fe29169c669ae64ab799af1248b52198349f6c84","unresolved":false,"context_lines":[{"line_number":547,"context_line":"            br.datapath,"},{"line_number":548,"context_line":"            table_id\u003dconstants.FLOOD_TO_TUN,"},{"line_number":549,"context_line":"            priority\u003d1,"},{"line_number":550,"context_line":"            match\u003dmatch, instructions\u003dinstructions)"},{"line_number":551,"context_line":"        self.ryu_send_msg(msg)"},{"line_number":552,"context_line":""},{"line_number":553,"context_line":"    def _provision_local_vlan_inbound_for_tunnel(self, lvid, network_type,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAXH%2F%2FS2c%3D","line":550,"in_reply_to":"AAAAXH%2F%2FYus%3D","updated":"2014-04-22 17:30:38.000000000","message":"No, it isn\u0027t. Good catch. It\u0027s actually a small bug in ovs agent we used to identify but didn\u0027t took time to fix (I\u0027ll try to fill a bug tomorrow). Flooding flows are overwritten as soon as first fdb_add callback is recieved.","commit_id":"ff0f16832909f15bd27e0239cfc3edc9c98c9a33"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"977b39f19ca4a355a6c8c427246223a70f6f67ac","unresolved":false,"context_lines":[{"line_number":198,"context_line":"    This has the following features."},{"line_number":199,"context_line":"    - An agent acts as an OpenFlow controller on each compute nodes."},{"line_number":200,"context_line":"    - OpenFlow 1.3 (vendor agnostic unlike OVS extensions)."},{"line_number":201,"context_line":"    - l2-popilation is non-optional."},{"line_number":202,"context_line":"    \"\"\""},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"    # history"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_df67a4b5","line":201,"range":{"start_line":201,"start_character":9,"end_line":201,"end_character":19},"updated":"2014-06-04 04:02:26.000000000","message":"population","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"94a2962c0c4742396d896639e890d4d20900ee03","unresolved":false,"context_lines":[{"line_number":198,"context_line":"    This has the following features."},{"line_number":199,"context_line":"    - An agent acts as an OpenFlow controller on each compute nodes."},{"line_number":200,"context_line":"    - OpenFlow 1.3 (vendor agnostic unlike OVS extensions)."},{"line_number":201,"context_line":"    - l2-popilation is non-optional."},{"line_number":202,"context_line":"    \"\"\""},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"    # history"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_4401f6ad","line":201,"in_reply_to":"1ae5cdf2_df67a4b5","updated":"2014-06-04 14:43:06.000000000","message":"Done","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"d0ef7ae1b4a55ee37122a5a90721ebbc6303cecf","unresolved":false,"context_lines":[{"line_number":327,"context_line":"        # Define the listening consumers for the agent"},{"line_number":328,"context_line":"        consumers \u003d [[topics.PORT, topics.UPDATE],"},{"line_number":329,"context_line":"                     [topics.NETWORK, topics.DELETE],"},{"line_number":330,"context_line":"                     [constants.TUNNEL, topics.UPDATE],"},{"line_number":331,"context_line":"                     [topics.SECURITY_GROUP, topics.UPDATE]]"},{"line_number":332,"context_line":"        consumers.append([topics.L2POPULATION,"},{"line_number":333,"context_line":"                          topics.UPDATE, cfg.CONF.host])"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ae5cdf2_958fa629","line":330,"updated":"2014-06-04 15:46:08.000000000","message":"do we still need to listen tunnel updates?","commit_id":"f3859e87c8348cf78af51a1b30a23bd00b7ced1e"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"f6deb8294ba986e304de6d8dd87843dce548c80a","unresolved":false,"context_lines":[{"line_number":327,"context_line":"        # Define the listening consumers for the agent"},{"line_number":328,"context_line":"        consumers \u003d [[topics.PORT, topics.UPDATE],"},{"line_number":329,"context_line":"                     [topics.NETWORK, topics.DELETE],"},{"line_number":330,"context_line":"                     [constants.TUNNEL, topics.UPDATE],"},{"line_number":331,"context_line":"                     [topics.SECURITY_GROUP, topics.UPDATE]]"},{"line_number":332,"context_line":"        consumers.append([topics.L2POPULATION,"},{"line_number":333,"context_line":"                          topics.UPDATE, cfg.CONF.host])"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ae5cdf2_441a9bc6","line":330,"in_reply_to":"1ae5cdf2_958fa629","updated":"2014-06-06 00:58:02.000000000","message":"Done","commit_id":"f3859e87c8348cf78af51a1b30a23bd00b7ced1e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"d0ef7ae1b4a55ee37122a5a90721ebbc6303cecf","unresolved":false,"context_lines":[{"line_number":329,"context_line":"                     [topics.NETWORK, topics.DELETE],"},{"line_number":330,"context_line":"                     [constants.TUNNEL, topics.UPDATE],"},{"line_number":331,"context_line":"                     [topics.SECURITY_GROUP, topics.UPDATE]]"},{"line_number":332,"context_line":"        consumers.append([topics.L2POPULATION,"},{"line_number":333,"context_line":"                          topics.UPDATE, cfg.CONF.host])"},{"line_number":334,"context_line":"        self.connection \u003d agent_rpc.create_consumers(self.dispatcher,"},{"line_number":335,"context_line":"                                                     self.topic,"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ae5cdf2_b58022f8","line":332,"range":{"start_line":332,"start_character":18,"end_line":332,"end_character":24},"updated":"2014-06-04 15:46:08.000000000","message":"no reason to use append() as it\u0027s now unconditional.","commit_id":"f3859e87c8348cf78af51a1b30a23bd00b7ced1e"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"f6deb8294ba986e304de6d8dd87843dce548c80a","unresolved":false,"context_lines":[{"line_number":329,"context_line":"                     [topics.NETWORK, topics.DELETE],"},{"line_number":330,"context_line":"                     [constants.TUNNEL, topics.UPDATE],"},{"line_number":331,"context_line":"                     [topics.SECURITY_GROUP, topics.UPDATE]]"},{"line_number":332,"context_line":"        consumers.append([topics.L2POPULATION,"},{"line_number":333,"context_line":"                          topics.UPDATE, cfg.CONF.host])"},{"line_number":334,"context_line":"        self.connection \u003d agent_rpc.create_consumers(self.dispatcher,"},{"line_number":335,"context_line":"                                                     self.topic,"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ae5cdf2_647cf7ec","line":332,"in_reply_to":"1ae5cdf2_b58022f8","updated":"2014-06-06 00:58:02.000000000","message":"Done","commit_id":"f3859e87c8348cf78af51a1b30a23bd00b7ced1e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"d0ef7ae1b4a55ee37122a5a90721ebbc6303cecf","unresolved":false,"context_lines":[{"line_number":366,"context_line":""},{"line_number":367,"context_line":"    def tunnel_update(self, context, **kwargs):"},{"line_number":368,"context_line":"        LOG.debug(_(\"tunnel_update received\"))"},{"line_number":369,"context_line":"        # There is nothing to do here since l2-population becomes non-optional."},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"    def setup_tunnel_port(self, agent_ip, network_type):"},{"line_number":372,"context_line":"        port_name \u003d self._create_tunnel_port_name(network_type, agent_ip)"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ae5cdf2_d5b3eee6","line":369,"updated":"2014-06-04 15:46:08.000000000","message":"how about g/c this?","commit_id":"f3859e87c8348cf78af51a1b30a23bd00b7ced1e"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"f6deb8294ba986e304de6d8dd87843dce548c80a","unresolved":false,"context_lines":[{"line_number":366,"context_line":""},{"line_number":367,"context_line":"    def tunnel_update(self, context, **kwargs):"},{"line_number":368,"context_line":"        LOG.debug(_(\"tunnel_update received\"))"},{"line_number":369,"context_line":"        # There is nothing to do here since l2-population becomes non-optional."},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"    def setup_tunnel_port(self, agent_ip, network_type):"},{"line_number":372,"context_line":"        port_name \u003d self._create_tunnel_port_name(network_type, agent_ip)"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ae5cdf2_847f43df","line":369,"in_reply_to":"1ae5cdf2_d5b3eee6","updated":"2014-06-06 00:58:02.000000000","message":"Done","commit_id":"f3859e87c8348cf78af51a1b30a23bd00b7ced1e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c53f8c39d99dbddc42c1d544d47f7e9b7ad09482","unresolved":false,"context_lines":[{"line_number":369,"context_line":"        ofport \u003d self.setup_tunnel_port_internal(port_name,"},{"line_number":370,"context_line":"                                                 agent_ip,"},{"line_number":371,"context_line":"                                                 network_type)"},{"line_number":372,"context_line":"        return ofport"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"    def fdb_add(self, context, fdb_entries):"},{"line_number":375,"context_line":"        LOG.debug(_(\"fdb_add received\"))"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_2240ec55","line":372,"updated":"2014-06-09 01:42:04.000000000","message":"please move this method near setup_tunnel_port_internal and cleanup_tunnel_port.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"10503ce3962a43786b149f0a196b08d5b8cd0282","unresolved":false,"context_lines":[{"line_number":369,"context_line":"        ofport \u003d self.setup_tunnel_port_internal(port_name,"},{"line_number":370,"context_line":"                                                 agent_ip,"},{"line_number":371,"context_line":"                                                 network_type)"},{"line_number":372,"context_line":"        return ofport"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"    def fdb_add(self, context, fdb_entries):"},{"line_number":375,"context_line":"        LOG.debug(_(\"fdb_add received\"))"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_252556ab","line":372,"in_reply_to":"1ae5cdf2_2240ec55","updated":"2014-06-09 02:11:42.000000000","message":"Yes, I was going to do it too.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"321536bfd8740c2c1135a587e992f7b0c09b32f2","unresolved":false,"context_lines":[{"line_number":387,"context_line":"                self.fdb_remove_ovs(context, lvm, agent_ports,"},{"line_number":388,"context_line":"                                    self.tun_br_ofports)"},{"line_number":389,"context_line":""},{"line_number":390,"context_line":"    def _fdb_add_flooding_flow(self, lvm):"},{"line_number":391,"context_line":"        datapath \u003d self.tun_br.datapath"},{"line_number":392,"context_line":"        ofp \u003d datapath.ofproto"},{"line_number":393,"context_line":"        ofpp \u003d datapath.ofproto_parser"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_96a5a7a3","line":390,"updated":"2014-06-06 12:07:25.000000000","message":"Is this called by L2populationRpcCallBackOvsMixin.fdb_update?\nIf no, _fdb_ prefix should be changed to something else.\n\nAnd this class doesn\u0027t seem to have _fdb_chg_ip.\nIsn\u0027t it necessary?","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"19af5cac63291ae7dc8aa33fa56014dfbec4f1f1","unresolved":false,"context_lines":[{"line_number":387,"context_line":"                self.fdb_remove_ovs(context, lvm, agent_ports,"},{"line_number":388,"context_line":"                                    self.tun_br_ofports)"},{"line_number":389,"context_line":""},{"line_number":390,"context_line":"    def _fdb_add_flooding_flow(self, lvm):"},{"line_number":391,"context_line":"        datapath \u003d self.tun_br.datapath"},{"line_number":392,"context_line":"        ofp \u003d datapath.ofproto"},{"line_number":393,"context_line":"        ofpp \u003d datapath.ofproto_parser"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_e700e037","line":390,"in_reply_to":"1ae5cdf2_96a5a7a3","updated":"2014-06-07 14:46:20.000000000","message":"Thank you for your point.\nIt is only used by add_fdb_flow and del_fdb_flow. I was forgetting that _fdb_ prefix is used by fdb_update.\nI will rename it.\n\n_fdb_chg_ip is implemented on step2 implementation.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"321536bfd8740c2c1135a587e992f7b0c09b32f2","unresolved":false,"context_lines":[{"line_number":1096,"context_line":"        else:"},{"line_number":1097,"context_line":"            LOG.debug(_(\"No VIF port for port %s defined on agent.\"), port_id)"},{"line_number":1098,"context_line":""},{"line_number":1099,"context_line":"    def setup_tunnel_port_internal(self, port_name, remote_ip, tunnel_type):"},{"line_number":1100,"context_line":"        ofport \u003d self.tun_br.add_tunnel_port(port_name,"},{"line_number":1101,"context_line":"                                             remote_ip,"},{"line_number":1102,"context_line":"                                             self.local_ip,"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_361853d2","line":1099,"updated":"2014-06-06 12:07:25.000000000","message":"Name inconsistency with cleanup_tunnel_port()","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"19af5cac63291ae7dc8aa33fa56014dfbec4f1f1","unresolved":false,"context_lines":[{"line_number":1096,"context_line":"        else:"},{"line_number":1097,"context_line":"            LOG.debug(_(\"No VIF port for port %s defined on agent.\"), port_id)"},{"line_number":1098,"context_line":""},{"line_number":1099,"context_line":"    def setup_tunnel_port_internal(self, port_name, remote_ip, tunnel_type):"},{"line_number":1100,"context_line":"        ofport \u003d self.tun_br.add_tunnel_port(port_name,"},{"line_number":1101,"context_line":"                                             remote_ip,"},{"line_number":1102,"context_line":"                                             self.local_ip,"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_c7ba046e","line":1099,"in_reply_to":"1ae5cdf2_361853d2","updated":"2014-06-07 14:46:20.000000000","message":"There is still setup_tunnel_port method.\nWe can use setup_tunnel_port for ML2 plugin and OVS plugin will be able to be deprecated in the future.\nSo setup_tunnel_port_internal will be unnecessary in the future.\nAnyway, If you don\u0027t like this naming, how about something like _setup_tunnel_port or setup_tunnel_port_info?","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"10503ce3962a43786b149f0a196b08d5b8cd0282","unresolved":false,"context_lines":[{"line_number":1096,"context_line":"        else:"},{"line_number":1097,"context_line":"            LOG.debug(_(\"No VIF port for port %s defined on agent.\"), port_id)"},{"line_number":1098,"context_line":""},{"line_number":1099,"context_line":"    def setup_tunnel_port_internal(self, port_name, remote_ip, tunnel_type):"},{"line_number":1100,"context_line":"        ofport \u003d self.tun_br.add_tunnel_port(port_name,"},{"line_number":1101,"context_line":"                                             remote_ip,"},{"line_number":1102,"context_line":"                                             self.local_ip,"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_45aee2e8","line":1099,"in_reply_to":"1ae5cdf2_c7ba046e","updated":"2014-06-09 02:11:42.000000000","message":"I will rename it in _setup_tunnel_port.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2828733375c721b6408dc2e6a9a8b09d28c79019","unresolved":false,"context_lines":[{"line_number":356,"context_line":"        # they are not used since there is no guarantee the notifications"},{"line_number":357,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":358,"context_line":"        self.updated_ports.add(self._get_ofport_name(port[\u0027id\u0027]))"},{"line_number":359,"context_line":"        LOG.debug(\"port_update received port %s\" % port[\u0027id\u0027])"},{"line_number":360,"context_line":""},{"line_number":361,"context_line":"    def fdb_add(self, context, fdb_entries):"},{"line_number":362,"context_line":"        LOG.debug(\"fdb_add received\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_0acf9258","line":359,"updated":"2014-07-16 08:26:00.000000000","message":"% -\u003e ,","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"be202845ec6ec75d2608c8cac1e8c1ae3f805a2f","unresolved":false,"context_lines":[{"line_number":356,"context_line":"        # they are not used since there is no guarantee the notifications"},{"line_number":357,"context_line":"        # are processed in the same order as the relevant API requests"},{"line_number":358,"context_line":"        self.updated_ports.add(self._get_ofport_name(port[\u0027id\u0027]))"},{"line_number":359,"context_line":"        LOG.debug(\"port_update received port %s\" % port[\u0027id\u0027])"},{"line_number":360,"context_line":""},{"line_number":361,"context_line":"    def fdb_add(self, context, fdb_entries):"},{"line_number":362,"context_line":"        LOG.debug(\"fdb_add received\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_94971ceb","line":359,"in_reply_to":"baada198_0acf9258","updated":"2014-07-17 01:31:42.000000000","message":"Done","commit_id":"ad61037ecba2bf7c35c057b2e7e8aff34ecced81"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"e6ac0e7652e2f01207beccdd3f5d981328a0ceaf","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"class OFANeutronAgent(n_rpc.RpcCallback,"},{"line_number":165,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":166,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":167,"context_line":"    \"\"\"A agent for OpenFlow Agent ML2 mechanism driver."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    OFANeutronAgent is a OpenFlow Agent agent for a ML2 plugin."}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_c2092f2c","line":166,"updated":"2014-07-22 02:11:41.000000000","message":"If I understand this correctly, wouldn\u0027t this change require a bump in the RPC API?","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"32058168f20af6c527eafbfde8667d87b8b6e7ea","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"class OFANeutronAgent(n_rpc.RpcCallback,"},{"line_number":165,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":166,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":167,"context_line":"    \"\"\"A agent for OpenFlow Agent ML2 mechanism driver."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    OFANeutronAgent is a OpenFlow Agent agent for a ML2 plugin."}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_d0f4e756","line":166,"in_reply_to":"baada198_4576c940","updated":"2014-07-25 06:51:38.000000000","message":"In this case I think what gets confusing here is that there seems to be a mix of what are supposed to be RPC methods and what are internal methods; on closer inspection this is actually fine, but I would agree with Akihiro (if I understand his intentions correctly) that a split between the two would clear the confusion once and for all.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"675631f4a280fb234e69d6ecaac7754f8dc5b01a","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"class OFANeutronAgent(n_rpc.RpcCallback,"},{"line_number":165,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":166,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":167,"context_line":"    \"\"\"A agent for OpenFlow Agent ML2 mechanism driver."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    OFANeutronAgent is a OpenFlow Agent agent for a ML2 plugin."}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_4576c940","line":166,"in_reply_to":"baada198_9d520334","updated":"2014-07-22 21:31:03.000000000","message":"probably.  the current versioning method is somewhat awkward.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ccc4cb4db9e41a17930acb35d3c19b3c6a78c759","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"class OFANeutronAgent(n_rpc.RpcCallback,"},{"line_number":165,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":166,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":167,"context_line":"    \"\"\"A agent for OpenFlow Agent ML2 mechanism driver."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    OFANeutronAgent is a OpenFlow Agent agent for a ML2 plugin."}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_fa578558","line":166,"in_reply_to":"baada198_c2092f2c","updated":"2014-07-22 17:00:01.000000000","message":"Armando,\nare you talking about bumping RPC_API_VERSION?  how?  l2pop uses 1.0.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"class OFANeutronAgent(n_rpc.RpcCallback,"},{"line_number":165,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":166,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":167,"context_line":"    \"\"\"A agent for OpenFlow Agent ML2 mechanism driver."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    OFANeutronAgent is a OpenFlow Agent agent for a ML2 plugin."}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_5b523a36","line":166,"in_reply_to":"baada198_c2092f2c","updated":"2014-07-22 15:50:28.000000000","message":"If it is necessary, we may extend and rename L2populationRpcCallBackTunnelMixin.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"4738f38843168046ff986b7d0a222d85a20c7389","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"class OFANeutronAgent(n_rpc.RpcCallback,"},{"line_number":165,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":166,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":167,"context_line":"    \"\"\"A agent for OpenFlow Agent ML2 mechanism driver."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    OFANeutronAgent is a OpenFlow Agent agent for a ML2 plugin."}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_9d520334","line":166,"in_reply_to":"baada198_fa578558","updated":"2014-07-22 17:22:19.000000000","message":"I think it is time to split RPC callbacks/APIs per features. I can\u0027t have enough time to work on it in Juno cycle, but during reviews it seems necessary. I will try to write down what in my mind this weekend.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"e6ac0e7652e2f01207beccdd3f5d981328a0ceaf","unresolved":false,"context_lines":[{"line_number":171,"context_line":"    This has the following features."},{"line_number":172,"context_line":"    - An agent acts as an OpenFlow controller on each compute nodes."},{"line_number":173,"context_line":"    - OpenFlow 1.3 (vendor agnostic unlike OVS extensions)."},{"line_number":174,"context_line":"    - l2-population is non-optional."},{"line_number":175,"context_line":"    \"\"\""},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"    # history"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_221aeb6e","line":174,"updated":"2014-07-22 02:11:41.000000000","message":"please choose mandatory vs non-optional","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":171,"context_line":"    This has the following features."},{"line_number":172,"context_line":"    - An agent acts as an OpenFlow controller on each compute nodes."},{"line_number":173,"context_line":"    - OpenFlow 1.3 (vendor agnostic unlike OVS extensions)."},{"line_number":174,"context_line":"    - l2-population is non-optional."},{"line_number":175,"context_line":"    \"\"\""},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"    # history"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_a2cefb2a","line":174,"in_reply_to":"baada198_221aeb6e","updated":"2014-07-22 15:50:28.000000000","message":"Done","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"97aaea745ac4bdd42c04cc79983c4b26f087a900","unresolved":false,"context_lines":[{"line_number":1106,"context_line":"        if not port_name:"},{"line_number":1107,"context_line":"            return 0"},{"line_number":1108,"context_line":"        ofport \u003d self._setup_tunnel_port(port_name,"},{"line_number":1109,"context_line":"                                         agent_ip,"},{"line_number":1110,"context_line":"                                         network_type)"},{"line_number":1111,"context_line":"        return ofport"},{"line_number":1112,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_fd0c26ee","line":1109,"updated":"2014-07-21 20:20:23.000000000","message":"This is called remote_ip in method we\u0027re calling, yet it is agent_ip here.  Why the name differences?","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":1106,"context_line":"        if not port_name:"},{"line_number":1107,"context_line":"            return 0"},{"line_number":1108,"context_line":"        ofport \u003d self._setup_tunnel_port(port_name,"},{"line_number":1109,"context_line":"                                         agent_ip,"},{"line_number":1110,"context_line":"                                         network_type)"},{"line_number":1111,"context_line":"        return ofport"},{"line_number":1112,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_f596f692","line":1109,"in_reply_to":"baada198_fd0c26ee","updated":"2014-07-22 15:50:28.000000000","message":"Done","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"97aaea745ac4bdd42c04cc79983c4b26f087a900","unresolved":false,"context_lines":[{"line_number":1117,"context_line":"                break"},{"line_number":1118,"context_line":"        # If not, remove it"},{"line_number":1119,"context_line":"        else:"},{"line_number":1120,"context_line":"            datapath \u003d self.tun_br.datapath"},{"line_number":1121,"context_line":"            ofp \u003d datapath.ofproto"},{"line_number":1122,"context_line":"            ofpp \u003d datapath.ofproto_parser"},{"line_number":1123,"context_line":"            for remote_ip, ofport in self.tun_br_ofports[tunnel_type].items():"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_22d2fdd0","line":1120,"updated":"2014-07-21 20:20:23.000000000","message":"the code in the else clause should be abstracted out into a method","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":1117,"context_line":"                break"},{"line_number":1118,"context_line":"        # If not, remove it"},{"line_number":1119,"context_line":"        else:"},{"line_number":1120,"context_line":"            datapath \u003d self.tun_br.datapath"},{"line_number":1121,"context_line":"            ofp \u003d datapath.ofproto"},{"line_number":1122,"context_line":"            ofpp \u003d datapath.ofproto_parser"},{"line_number":1123,"context_line":"            for remote_ip, ofport in self.tun_br_ofports[tunnel_type].items():"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_35eeaeed","line":1120,"in_reply_to":"baada198_22d2fdd0","updated":"2014-07-22 15:50:28.000000000","message":"Yes, and so cleanup_tunnel_port method itself is abstract method.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ccc4cb4db9e41a17930acb35d3c19b3c6a78c759","unresolved":false,"context_lines":[{"line_number":1117,"context_line":"                break"},{"line_number":1118,"context_line":"        # If not, remove it"},{"line_number":1119,"context_line":"        else:"},{"line_number":1120,"context_line":"            datapath \u003d self.tun_br.datapath"},{"line_number":1121,"context_line":"            ofp \u003d datapath.ofproto"},{"line_number":1122,"context_line":"            ofpp \u003d datapath.ofproto_parser"},{"line_number":1123,"context_line":"            for remote_ip, ofport in self.tun_br_ofports[tunnel_type].items():"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_37ce765c","line":1120,"in_reply_to":"baada198_35eeaeed","updated":"2014-07-22 17:00:01.000000000","message":"i think mark is saying to make it a separate method, eg. remove_tunnel_port.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"4738f38843168046ff986b7d0a222d85a20c7389","unresolved":false,"context_lines":[{"line_number":1117,"context_line":"                break"},{"line_number":1118,"context_line":"        # If not, remove it"},{"line_number":1119,"context_line":"        else:"},{"line_number":1120,"context_line":"            datapath \u003d self.tun_br.datapath"},{"line_number":1121,"context_line":"            ofp \u003d datapath.ofproto"},{"line_number":1122,"context_line":"            ofpp \u003d datapath.ofproto_parser"},{"line_number":1123,"context_line":"            for remote_ip, ofport in self.tun_br_ofports[tunnel_type].items():"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_a845c744","line":1120,"in_reply_to":"baada198_37ce765c","updated":"2014-07-22 17:22:19.000000000","message":"Yeah, that is what Mark suggested. Please make the logic in \"else\" clause  a separate method. It sounds reasonable to me too.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"4f8c9a9bcce6cdf5a29b8e6aa0440660a8989975","unresolved":false,"context_lines":[{"line_number":1117,"context_line":"                break"},{"line_number":1118,"context_line":"        # If not, remove it"},{"line_number":1119,"context_line":"        else:"},{"line_number":1120,"context_line":"            datapath \u003d self.tun_br.datapath"},{"line_number":1121,"context_line":"            ofp \u003d datapath.ofproto"},{"line_number":1122,"context_line":"            ofpp \u003d datapath.ofproto_parser"},{"line_number":1123,"context_line":"            for remote_ip, ofport in self.tun_br_ofports[tunnel_type].items():"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_6f29e736","line":1120,"in_reply_to":"baada198_a845c744","updated":"2014-07-23 00:43:33.000000000","message":"Done","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"f9a1b080e4fb1b38b7d1e852f4b46ae90b2bd166","unresolved":false,"context_lines":[{"line_number":1136,"context_line":"                break"},{"line_number":1137,"context_line":"        # If not, remove it"},{"line_number":1138,"context_line":"        else:"},{"line_number":1139,"context_line":"            self._remove_tunnel_port(tun_ofport, tunnel_type)"},{"line_number":1140,"context_line":""},{"line_number":1141,"context_line":"    def treat_devices_added_or_updated(self, devices):"},{"line_number":1142,"context_line":"        resync \u003d False"}],"source_content_type":"text/x-python","patch_set":17,"id":"baada198_fb9215fb","line":1139,"updated":"2014-07-23 04:20:31.000000000","message":"(suggestion only) The logic is correct, but I think the following is easier to understand.\n\n  # Check if this tunnel port is still used\n  for lvm in self.local_vlan_map.values():\n      if tun_ofport in lvm.tun_ofports:\n          return\n  # If it is not used, remove it\n  self._remove_tunnel_port(tun_ofport, tunnel_type)","commit_id":"322fa884eae50893aaa6ac2c4c8c862879d2a0db"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"9977a3f34e22dd33909ab234f703816cbf64d7da","unresolved":false,"context_lines":[{"line_number":1136,"context_line":"                break"},{"line_number":1137,"context_line":"        # If not, remove it"},{"line_number":1138,"context_line":"        else:"},{"line_number":1139,"context_line":"            self._remove_tunnel_port(tun_ofport, tunnel_type)"},{"line_number":1140,"context_line":""},{"line_number":1141,"context_line":"    def treat_devices_added_or_updated(self, devices):"},{"line_number":1142,"context_line":"        resync \u003d False"}],"source_content_type":"text/x-python","patch_set":17,"id":"baada198_27bd4104","line":1139,"in_reply_to":"baada198_fb9215fb","updated":"2014-07-23 08:43:56.000000000","message":"Yes, if I push next patchset, I am going to fix that.","commit_id":"322fa884eae50893aaa6ac2c4c8c862879d2a0db"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"977b39f19ca4a355a6c8c427246223a70f6f67ac","unresolved":false,"context_lines":[{"line_number":446,"context_line":"                for mac, ip in before:"},{"line_number":447,"context_line":"                    self._set_arp_responder(\u0027remove\u0027, lvm.vlan, mac, ip)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"    def fdb_update(self, context, fdb_entries):"},{"line_number":450,"context_line":"        LOG.debug(_(\"fdb_update received\"))"},{"line_number":451,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":452,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_5faf1494","line":449,"range":{"start_line":449,"start_character":8,"end_line":449,"end_character":18},"updated":"2014-06-04 04:02:26.000000000","message":"this is now provided by mixin and unnecessary here, right?","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"94a2962c0c4742396d896639e890d4d20900ee03","unresolved":false,"context_lines":[{"line_number":446,"context_line":"                for mac, ip in before:"},{"line_number":447,"context_line":"                    self._set_arp_responder(\u0027remove\u0027, lvm.vlan, mac, ip)"},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"    def fdb_update(self, context, fdb_entries):"},{"line_number":450,"context_line":"        LOG.debug(_(\"fdb_update received\"))"},{"line_number":451,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":452,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_244a2a26","line":449,"in_reply_to":"1ae5cdf2_5faf1494","updated":"2014-06-04 14:43:06.000000000","message":"Done. I was missing this. fixed on patchset 8.","commit_id":"40a041b81617c1f0c03ff78bcbdcde98a96d1103"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"332db05a2fea31c64b8aa03c51d2b5fc875b1ed0","unresolved":false,"context_lines":[{"line_number":344,"context_line":"        if not self.l2_pop:"},{"line_number":345,"context_line":"            self.setup_tunnel_port(tun_name, tunnel_ip, tunnel_type)"},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"    def setup_tunnel_port_ovs(self, agent_ip, network_type):"},{"line_number":348,"context_line":"        agent_ip_hex \u003d self.get_ip_in_hex(agent_ip)"},{"line_number":349,"context_line":"        if not agent_ip_hex:"},{"line_number":350,"context_line":"            return 0"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_23eceef2","line":347,"range":{"start_line":347,"start_character":8,"end_line":347,"end_character":29},"updated":"2014-06-04 08:48:24.000000000","message":"as non-ml2 OVS plugin is being deprecated, how about naming this setup_tunnel_port?  (and rename the old one)","commit_id":"83b0a49938af06706de64f8f1e37eefe099ce1c1"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"b7656013149a97294d897dbb9e8fadac67114422","unresolved":false,"context_lines":[{"line_number":344,"context_line":"        if not self.l2_pop:"},{"line_number":345,"context_line":"            self.setup_tunnel_port(tun_name, tunnel_ip, tunnel_type)"},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"    def setup_tunnel_port_ovs(self, agent_ip, network_type):"},{"line_number":348,"context_line":"        agent_ip_hex \u003d self.get_ip_in_hex(agent_ip)"},{"line_number":349,"context_line":"        if not agent_ip_hex:"},{"line_number":350,"context_line":"            return 0"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_04b1ae46","line":347,"in_reply_to":"1ae5cdf2_23eceef2","updated":"2014-06-04 14:43:52.000000000","message":"Done.\nI named setup_tunnel_port_internal it in a main module. This may not be good name.","commit_id":"83b0a49938af06706de64f8f1e37eefe099ce1c1"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"332db05a2fea31c64b8aa03c51d2b5fc875b1ed0","unresolved":false,"context_lines":[{"line_number":452,"context_line":"                for mac, ip in before:"},{"line_number":453,"context_line":"                    self._set_arp_responder(\u0027remove\u0027, lvm.vlan, mac, ip)"},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"    def fdb_update(self, context, fdb_entries):"},{"line_number":456,"context_line":"        LOG.debug(_(\"fdb_update received\"))"},{"line_number":457,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":458,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_638fd62a","line":455,"range":{"start_line":455,"start_character":8,"end_line":455,"end_character":18},"updated":"2014-06-04 08:48:24.000000000","message":"i still think this is no longer necessary.","commit_id":"83b0a49938af06706de64f8f1e37eefe099ce1c1"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"b7656013149a97294d897dbb9e8fadac67114422","unresolved":false,"context_lines":[{"line_number":452,"context_line":"                for mac, ip in before:"},{"line_number":453,"context_line":"                    self._set_arp_responder(\u0027remove\u0027, lvm.vlan, mac, ip)"},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"    def fdb_update(self, context, fdb_entries):"},{"line_number":456,"context_line":"        LOG.debug(_(\"fdb_update received\"))"},{"line_number":457,"context_line":"        for action, values in fdb_entries.items():"},{"line_number":458,"context_line":"            method \u003d \u0027_fdb_\u0027 + action"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_61018405","line":455,"in_reply_to":"1ae5cdf2_638fd62a","updated":"2014-06-04 14:43:52.000000000","message":"Done. I was missing this.","commit_id":"83b0a49938af06706de64f8f1e37eefe099ce1c1"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c53f8c39d99dbddc42c1d544d47f7e9b7ad09482","unresolved":false,"context_lines":[{"line_number":352,"context_line":"        ofport \u003d self.setup_tunnel_port_internal(port_name,"},{"line_number":353,"context_line":"                                                 agent_ip,"},{"line_number":354,"context_line":"                                                 network_type)"},{"line_number":355,"context_line":"        return ofport"},{"line_number":356,"context_line":""},{"line_number":357,"context_line":"    def fdb_add(self, context, fdb_entries):"},{"line_number":358,"context_line":"        LOG.debug(_(\"fdb_add received\"))"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_e21c447a","line":355,"updated":"2014-06-09 01:42:04.000000000","message":"please move this method near setup_tunnel_port_internal and cleanup_tunnel_port.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"10503ce3962a43786b149f0a196b08d5b8cd0282","unresolved":false,"context_lines":[{"line_number":352,"context_line":"        ofport \u003d self.setup_tunnel_port_internal(port_name,"},{"line_number":353,"context_line":"                                                 agent_ip,"},{"line_number":354,"context_line":"                                                 network_type)"},{"line_number":355,"context_line":"        return ofport"},{"line_number":356,"context_line":""},{"line_number":357,"context_line":"    def fdb_add(self, context, fdb_entries):"},{"line_number":358,"context_line":"        LOG.debug(_(\"fdb_add received\"))"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_45950287","line":355,"in_reply_to":"1ae5cdf2_e21c447a","updated":"2014-06-09 02:11:42.000000000","message":"Yes, I was going to do it too.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"321536bfd8740c2c1135a587e992f7b0c09b32f2","unresolved":false,"context_lines":[{"line_number":1010,"context_line":"        else:"},{"line_number":1011,"context_line":"            LOG.debug(_(\"No VIF port for port %s defined on agent.\"), port_id)"},{"line_number":1012,"context_line":""},{"line_number":1013,"context_line":"    def setup_tunnel_port_internal(self, port_name, remote_ip, tunnel_type):"},{"line_number":1014,"context_line":"        ofport \u003d self.tun_br.add_tunnel_port(port_name,"},{"line_number":1015,"context_line":"                                             remote_ip,"},{"line_number":1016,"context_line":"                                             self.local_ip,"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_167c37eb","line":1013,"updated":"2014-06-06 12:07:25.000000000","message":"naming inconsistency with cleanup method.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"10503ce3962a43786b149f0a196b08d5b8cd0282","unresolved":false,"context_lines":[{"line_number":1010,"context_line":"        else:"},{"line_number":1011,"context_line":"            LOG.debug(_(\"No VIF port for port %s defined on agent.\"), port_id)"},{"line_number":1012,"context_line":""},{"line_number":1013,"context_line":"    def setup_tunnel_port_internal(self, port_name, remote_ip, tunnel_type):"},{"line_number":1014,"context_line":"        ofport \u003d self.tun_br.add_tunnel_port(port_name,"},{"line_number":1015,"context_line":"                                             remote_ip,"},{"line_number":1016,"context_line":"                                             self.local_ip,"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_c5e83219","line":1013,"in_reply_to":"1ae5cdf2_167c37eb","updated":"2014-06-09 02:11:42.000000000","message":"same as ofagent\u0027s comments.","commit_id":"53c64c2018eefa7d6a8940408d337add9462c4ff"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2828733375c721b6408dc2e6a9a8b09d28c79019","unresolved":false,"context_lines":[{"line_number":403,"context_line":"                self.tun_br.delete_flows(table\u003dconstants.FLOOD_TO_TUN,"},{"line_number":404,"context_line":"                                         dl_vlan\u003dlvm.vlan)"},{"line_number":405,"context_line":"            # Check if this tunnel port is still used"},{"line_number":406,"context_line":"            self.cleanup_tunnel_port(ofport, lvm.network_type)"},{"line_number":407,"context_line":"        else:"},{"line_number":408,"context_line":"            self._set_arp_responder(\u0027remove\u0027, lvm.vlan, port_info[0],"},{"line_number":409,"context_line":"                                    port_info[1])"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_2a9e1655","side":"PARENT","line":406,"updated":"2014-07-16 08:26:00.000000000","message":"Why can we delete these lines?","commit_id":"895cf8ee86c4de8668f4f7a343435abe2a3fea4c"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"1fe10ff3120a2642fc89757a15be5203b2b8c30b","unresolved":false,"context_lines":[{"line_number":403,"context_line":"                self.tun_br.delete_flows(table\u003dconstants.FLOOD_TO_TUN,"},{"line_number":404,"context_line":"                                         dl_vlan\u003dlvm.vlan)"},{"line_number":405,"context_line":"            # Check if this tunnel port is still used"},{"line_number":406,"context_line":"            self.cleanup_tunnel_port(ofport, lvm.network_type)"},{"line_number":407,"context_line":"        else:"},{"line_number":408,"context_line":"            self._set_arp_responder(\u0027remove\u0027, lvm.vlan, port_info[0],"},{"line_number":409,"context_line":"                                    port_info[1])"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_4a2d0aa8","side":"PARENT","line":406,"in_reply_to":"baada198_2a9e1655","updated":"2014-07-16 08:34:03.000000000","message":"because it\u0027s done in fdb_remove_tun().","commit_id":"895cf8ee86c4de8668f4f7a343435abe2a3fea4c"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"e6ac0e7652e2f01207beccdd3f5d981328a0ceaf","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"class OVSNeutronAgent(n_rpc.RpcCallback,"},{"line_number":96,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":97,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":98,"context_line":"    \u0027\u0027\u0027Implements OVS-based tunneling, VLANs and flat networks."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    Two local bridges are created: an integration bridge (defaults to"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_e23ab3cb","line":97,"updated":"2014-07-22 02:11:41.000000000","message":"this is going to require a bump in the API","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"32058168f20af6c527eafbfde8667d87b8b6e7ea","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"class OVSNeutronAgent(n_rpc.RpcCallback,"},{"line_number":96,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":97,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":98,"context_line":"    \u0027\u0027\u0027Implements OVS-based tunneling, VLANs and flat networks."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    Two local bridges are created: an integration bridge (defaults to"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_30ac4388","line":97,"in_reply_to":"baada198_287ff767","updated":"2014-07-25 06:51:38.000000000","message":"Hi Yamamoto, yes you\u0027re right, on closer inspections those method additions don\u0027t look to be RPC calls. I got confused for a sec.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"4738f38843168046ff986b7d0a222d85a20c7389","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"class OVSNeutronAgent(n_rpc.RpcCallback,"},{"line_number":96,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":97,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":98,"context_line":"    \u0027\u0027\u0027Implements OVS-based tunneling, VLANs and flat networks."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    Two local bridges are created: an integration bridge (defaults to"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_287ff767","line":97,"in_reply_to":"baada198_57aa0a1b","updated":"2014-07-22 17:22:19.000000000","message":"I have the same opinion as what Takashi says. There is  no changes in OVS agent RPC API. For OFAgent there are changes but it is another topic.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"ccc4cb4db9e41a17930acb35d3c19b3c6a78c759","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"class OVSNeutronAgent(n_rpc.RpcCallback,"},{"line_number":96,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":97,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":98,"context_line":"    \u0027\u0027\u0027Implements OVS-based tunneling, VLANs and flat networks."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    Two local bridges are created: an integration bridge (defaults to"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_57aa0a1b","line":97,"in_reply_to":"baada198_e23ab3cb","updated":"2014-07-22 17:00:01.000000000","message":"Armando,\nbump shouldn\u0027t be necessary here as this is merely refactoring and no functional changes in OVS agent.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"class OVSNeutronAgent(n_rpc.RpcCallback,"},{"line_number":96,"context_line":"                      sg_rpc.SecurityGroupAgentRpcCallbackMixin,"},{"line_number":97,"context_line":"                      l2population_rpc.L2populationRpcCallBackTunnelMixin):"},{"line_number":98,"context_line":"    \u0027\u0027\u0027Implements OVS-based tunneling, VLANs and flat networks."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    Two local bridges are created: an integration bridge (defaults to"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_76e6334c","line":97,"in_reply_to":"baada198_e23ab3cb","updated":"2014-07-22 15:50:28.000000000","message":"If it is necessary, we may extend and rename L2populationRpcCallBackTunnelMixin.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"97aaea745ac4bdd42c04cc79983c4b26f087a900","unresolved":false,"context_lines":[{"line_number":1065,"context_line":"            return 0"},{"line_number":1066,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (network_type, agent_ip_hex)"},{"line_number":1067,"context_line":"        ofport \u003d self._setup_tunnel_port(port_name,"},{"line_number":1068,"context_line":"                                         agent_ip,"},{"line_number":1069,"context_line":"                                         network_type)"},{"line_number":1070,"context_line":"        return ofport"},{"line_number":1071,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_bd38eea0","line":1068,"updated":"2014-07-21 20:20:23.000000000","message":"This is called remote_ip in the private method.  Why the name differences?","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":1065,"context_line":"            return 0"},{"line_number":1066,"context_line":"        port_name \u003d \u0027%s-%s\u0027 % (network_type, agent_ip_hex)"},{"line_number":1067,"context_line":"        ofport \u003d self._setup_tunnel_port(port_name,"},{"line_number":1068,"context_line":"                                         agent_ip,"},{"line_number":1069,"context_line":"                                         network_type)"},{"line_number":1070,"context_line":"        return ofport"},{"line_number":1071,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_55b16242","line":1068,"in_reply_to":"baada198_bd38eea0","updated":"2014-07-22 15:50:28.000000000","message":"Done","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"}],"neutron/tests/unit/agent/test_l2population_rpc.py":[{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"97aaea745ac4bdd42c04cc79983c4b26f087a900","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        self.fakeagent \u003d FakeNeutronAgent()"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        self.local_ip \u003d \u0027127.0.0.1\u0027"},{"line_number":57,"context_line":"        self.agent_ip1 \u003d \u002710.1.0.1\u0027"},{"line_number":58,"context_line":"        self.agent_ip2 \u003d \u002710.2.0.1\u0027"},{"line_number":59,"context_line":"        self.agent_ip3 \u003d \u002710.3.0.1\u0027"},{"line_number":60,"context_line":"        self.ofport1 \u003d \u0027ofport1\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_428a91bf","line":57,"updated":"2014-07-21 20:20:23.000000000","message":"Why so many variables in the self namespace?  Seem like these should be contained in a data structure of some type vs adding a numeric suffix.  name tuple should provide light weight structure to these values for 1, 2 and 3.\n\nAdditionally the data here seems like it would be a natural fit for definition outside of the module.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        self.fakeagent \u003d FakeNeutronAgent()"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        self.local_ip \u003d \u0027127.0.0.1\u0027"},{"line_number":57,"context_line":"        self.agent_ip1 \u003d \u002710.1.0.1\u0027"},{"line_number":58,"context_line":"        self.agent_ip2 \u003d \u002710.2.0.1\u0027"},{"line_number":59,"context_line":"        self.agent_ip3 \u003d \u002710.3.0.1\u0027"},{"line_number":60,"context_line":"        self.ofport1 \u003d \u0027ofport1\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_131d1bbf","line":57,"in_reply_to":"baada198_428a91bf","updated":"2014-07-22 15:50:28.000000000","message":"Done. Thank you for telling me namedtuple.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"}],"neutron/tests/unit/ofagent/test_ofa_neutron_agent.py":[{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"97aaea745ac4bdd42c04cc79983c4b26f087a900","unresolved":false,"context_lines":[{"line_number":672,"context_line":"            self.agent.port_unbound(\"vif3\", \"netuid12345\")"},{"line_number":673,"context_line":"            self.assertEqual(reclvl_fn.call_count, 2)"},{"line_number":674,"context_line":""},{"line_number":675,"context_line":"    def _prepare_l2_pop_ofports(self):"},{"line_number":676,"context_line":"        self.net1 \u003d \u0027net1\u0027"},{"line_number":677,"context_line":"        self.net2 \u003d \u0027net2\u0027"},{"line_number":678,"context_line":"        self.VLAN1 \u003d \u002711\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_c24b0185","line":675,"updated":"2014-07-21 20:20:23.000000000","message":"Same comment before on large number of instance variables.","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"},{"author":{"_account_id":8344,"name":"fumihiko kakuma","email":"kakuma@valinux.co.jp","username":"kakuma"},"change_message_id":"23542b404215db5078896b98c3ae0a821bde4a01","unresolved":false,"context_lines":[{"line_number":672,"context_line":"            self.agent.port_unbound(\"vif3\", \"netuid12345\")"},{"line_number":673,"context_line":"            self.assertEqual(reclvl_fn.call_count, 2)"},{"line_number":674,"context_line":""},{"line_number":675,"context_line":"    def _prepare_l2_pop_ofports(self):"},{"line_number":676,"context_line":"        self.net1 \u003d \u0027net1\u0027"},{"line_number":677,"context_line":"        self.net2 \u003d \u0027net2\u0027"},{"line_number":678,"context_line":"        self.VLAN1 \u003d \u002711\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"baada198_ae5a48f0","line":675,"in_reply_to":"baada198_c24b0185","updated":"2014-07-22 15:50:28.000000000","message":"Done","commit_id":"96edb99911c96971acc1676ebcb91b66535a946f"}]}
