)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"291131d09f2a3ac14529aca991626722e09b0fe8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Robert Li \u003cbaoli@cisco.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-12-24 21:34:07 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"DVR"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is an experimental code that supports ipv4/ipv6 DVR. In this"},{"line_number":10,"context_line":"experimental code, the goal is not to change the database model, but"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a961159_122feca8","line":7,"updated":"2014-12-25 02:45:08.000000000","message":"Needs a better description than just \"DVR\" for the first line","commit_id":"7a77e8482ee8c449f909c167c97e5a7297072934"}],"neutron/agent/l3/agent.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":203,"context_line":"                   help\u003d_(\u0027Location of Metadata Proxy UNIX domain \u0027"},{"line_number":204,"context_line":"                          \u0027socket\u0027)),"},{"line_number":205,"context_line":"        cfg.StrOpt(\u0027external_gateway_ip6\u0027,"},{"line_number":206,"context_line":"                   help\u003d_(\u0027external gateway ipv6 LLA\u0027)),"},{"line_number":207,"context_line":"    ]"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"    def __init__(self, host, conf\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_98950fe6","line":206,"updated":"2015-01-07 02:56:29.000000000","message":"This help string needs to be more verbose, perhaps \"Link-local address of the IPv6 external gateway\", although I can\u0027t say I\u0027m a fan of specifying this here as any change will require a restart of the l3-agent.","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":6685,"name":"Baodong (Robert) Li","email":"baoli@cisco.com","username":"baoli"},"change_message_id":"d6e6d8ce31786733a4892fb47f1f6f8939015e92","unresolved":false,"context_lines":[{"line_number":203,"context_line":"                   help\u003d_(\u0027Location of Metadata Proxy UNIX domain \u0027"},{"line_number":204,"context_line":"                          \u0027socket\u0027)),"},{"line_number":205,"context_line":"        cfg.StrOpt(\u0027external_gateway_ip6\u0027,"},{"line_number":206,"context_line":"                   help\u003d_(\u0027external gateway ipv6 LLA\u0027)),"},{"line_number":207,"context_line":"    ]"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"    def __init__(self, host, conf\u003dNone):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_bea0e842","line":206,"in_reply_to":"3a961159_98950fe6","updated":"2015-01-07 15:23:32.000000000","message":"will change the help str.\nthis is specified in https://review.openstack.org/#/c/142224/","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":1116,"context_line":"                ipd.route.add_ipv6_gateway(external_gateway_ip6)"},{"line_number":1117,"context_line":"                ip_wrapr \u003d ip_lib.IPWrapper(self.root_helper, namespace\u003dns_name)"},{"line_number":1118,"context_line":"                ip_wrapr.netns.execute([\u0027sysctl\u0027, \u0027-w\u0027,"},{"line_number":1119,"context_line":"                                        \u0027net.ipv6.conf.%s.proxy_ndp\u003d1\u0027 % interface_name])"},{"line_number":1120,"context_line":"            ip_address \u003d ex_gw_port[\u0027ip_cidr\u0027].split(\u0027/\u0027)[0]"},{"line_number":1121,"context_line":"            self._send_gratuitous_arp_packet(ns_name,"},{"line_number":1122,"context_line":"                                             interface_name, ip_address)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_b89acb11","line":1119,"updated":"2015-01-07 02:56:29.000000000","message":"Why are you turning-on proxy NDP?  Shouldn\u0027t the router be routing?","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":6685,"name":"Baodong (Robert) Li","email":"baoli@cisco.com","username":"baoli"},"change_message_id":"d6e6d8ce31786733a4892fb47f1f6f8939015e92","unresolved":false,"context_lines":[{"line_number":1116,"context_line":"                ipd.route.add_ipv6_gateway(external_gateway_ip6)"},{"line_number":1117,"context_line":"                ip_wrapr \u003d ip_lib.IPWrapper(self.root_helper, namespace\u003dns_name)"},{"line_number":1118,"context_line":"                ip_wrapr.netns.execute([\u0027sysctl\u0027, \u0027-w\u0027,"},{"line_number":1119,"context_line":"                                        \u0027net.ipv6.conf.%s.proxy_ndp\u003d1\u0027 % interface_name])"},{"line_number":1120,"context_line":"            ip_address \u003d ex_gw_port[\u0027ip_cidr\u0027].split(\u0027/\u0027)[0]"},{"line_number":1121,"context_line":"            self._send_gratuitous_arp_packet(ns_name,"},{"line_number":1122,"context_line":"                                             interface_name, ip_address)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_1e549c20","line":1119,"in_reply_to":"3a961159_b89acb11","updated":"2015-01-07 15:23:32.000000000","message":"this is specified in https://review.openstack.org/#/c/136878/\nBasically, the GW port acts as a proxy for tenant GUA interface addresses.","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"}],"neutron/agent/linux/dhcp.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":588,"context_line":"            dvr_gw_ip \u003d self._get_dvr_gw_ip(fixed_ip[\u0027subnet_id\u0027], port)"},{"line_number":589,"context_line":"            if dvr_gw_ip:"},{"line_number":590,"context_line":"                return True"},{"line_number":591,"context_line":"        return False"},{"line_number":592,"context_line":""},{"line_number":593,"context_line":"    def _output_opts_file(self):"},{"line_number":594,"context_line":"        \"\"\"Write a dnsmasq compatible options file.\"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_78a30343","line":591,"updated":"2015-01-07 02:56:29.000000000","message":"These should probably live in a dvr-specific file, maybe over in the l3-agent space?","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":680,"context_line":"                                                opt.opt_name, opt.opt_value)"},{"line_number":681,"context_line":"                            for opt in port.extra_dhcp_opts)"},{"line_number":682,"context_line":""},{"line_number":683,"context_line":"            if port.device_owner \u003d\u003d \"compute:None\":"},{"line_number":684,"context_line":"                for fixed_ip in port[\u0027fixed_ips\u0027]:"},{"line_number":685,"context_line":"                    if netaddr.IPAddress(fixed_ip[\u0027ip_address\u0027]).version \u003d\u003d 4:"},{"line_number":686,"context_line":"                        dvr_gw_ip \u003d self._get_dvr_gw_ip("}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_d8407761","line":683,"updated":"2015-01-07 02:56:29.000000000","message":"Not sure about this, don\u0027t see any other non-test code checking \"compute:None\".","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"}],"neutron/agent/linux/ip_lib.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":403,"context_line":"        args \u003d [\u0027replace\u0027, \u0027default\u0027, \u0027via\u0027, gateway]"},{"line_number":404,"context_line":"        args +\u003d [\u0027dev\u0027, self.name]"},{"line_number":405,"context_line":"        self._as_root(\u0027replace\u0027, \u0027default\u0027, \u0027via\u0027,"},{"line_number":406,"context_line":"                      gateway, \u0027dev\u0027, self.name, options\u003d[6])"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"    def delete_gateway(self, gateway\u003dNone, table\u003dNone):"},{"line_number":409,"context_line":"        args \u003d [\u0027del\u0027, \u0027default\u0027]"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_58548721","line":406,"updated":"2015-01-07 02:56:29.000000000","message":"This should all be movable into add_gateway() above, just specify options\u003d[4/6] accordingly.","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"}],"neutron/db/l3_db.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":290,"context_line":"                     \u0027device_owner\u0027: DEVICE_OWNER_ROUTER_GW,"},{"line_number":291,"context_line":"                     \u0027admin_state_up\u0027: True,"},{"line_number":292,"context_line":"                     \u0027name\u0027: \u0027\u0027}})"},{"line_number":293,"context_line":"        "},{"line_number":294,"context_line":"        if not gw_port[\u0027fixed_ips\u0027]:"},{"line_number":295,"context_line":"            self._core_plugin.delete_port(context.elevated(), gw_port[\u0027id\u0027],"},{"line_number":296,"context_line":"                                          l3_port_check\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_18259fc1","line":293,"updated":"2015-01-07 02:56:29.000000000","message":"whitespace","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":492,"context_line":"        else:"},{"line_number":493,"context_line":"            return router_id"},{"line_number":494,"context_line":""},{"line_number":495,"context_line":"    def _is_existing_ldr(self, context, agent_id, router_id):"},{"line_number":496,"context_line":"        device_id \u003d self._get_device_id(agent_id, router_id)"},{"line_number":497,"context_line":"        rport_qry \u003d context.session.query(models_v2.Port).join(RouterPort)"},{"line_number":498,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_db531114","line":495,"updated":"2015-01-07 02:56:29.000000000","message":"Is this ever called?  I see nothing in this file.","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":506,"context_line":"            return True"},{"line_number":507,"context_line":"        return False"},{"line_number":508,"context_line":""},{"line_number":509,"context_line":"    def _get_ldr_ports(self, context, router):"},{"line_number":510,"context_line":"\t# First of all, let\u0027s find all the ports with the same device_id"},{"line_number":511,"context_line":"        first \u003d True"},{"line_number":512,"context_line":"        ports \u003d []"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_bb52c510","line":509,"updated":"2015-01-07 02:56:29.000000000","message":"Is this ever called?","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":513,"context_line":"        for p in (rp.port for rp in router.attached_ports):"},{"line_number":514,"context_line":"            if (first and "},{"line_number":515,"context_line":"                (p[\u0027device_owner\u0027] \u003d\u003d DEVICE_OWNER_DVR_INTERFACE or"},{"line_number":516,"context_line":"                 p[\u0027device_owner\u0027] \u003d\u003d DEVICE_OWNER_ROUTER_GW)):"},{"line_number":517,"context_line":"                device_id \u003d p[\u0027device_id\u0027]"},{"line_number":518,"context_line":"                ports \u003d [p]"},{"line_number":519,"context_line":"                first \u003d False"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_db05d110","line":516,"updated":"2015-01-07 02:56:29.000000000","message":"Should put a constant over in neutron/common/constants.py for this since I think it\u0027s used in more than one place.","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":523,"context_line":"        port_ids \u003d [port[\u0027id\u0027] for port in ports]"},{"line_number":524,"context_line":"        interfaces \u003d self._core_plugin.get_ports(context, {\u0027id\u0027: port_ids})"},{"line_number":525,"context_line":"        return interfaces"},{"line_number":526,"context_line":"    "},{"line_number":527,"context_line":"    def _add_interface_by_subnet(self, context, agent_id,"},{"line_number":528,"context_line":"                                 router, subnet_id, owner):"},{"line_number":529,"context_line":"        subnet \u003d self._core_plugin._get_subnet(context, subnet_id)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_3b10954d","line":526,"updated":"2015-01-07 02:56:29.000000000","message":"whitespace","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":1040,"context_line":"            device_ids.append(device_id)"},{"line_number":1041,"context_line":""},{"line_number":1042,"context_line":"        gw_ports \u003d self.get_sync_gw_ports(context, device_ids)"},{"line_number":1043,"context_line":"        "},{"line_number":1044,"context_line":"        # NOTE(armando-migliaccio): between get_routers and get_sync_gw_ports"},{"line_number":1045,"context_line":"        # gw ports may get deleted, which means that router_dicts may contain"},{"line_number":1046,"context_line":"        # ports that gw_ports does not; we should rebuild router_dicts, but"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_1b3af9cc","line":1043,"updated":"2015-01-07 02:56:29.000000000","message":"whitespace","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":1095,"context_line":"                models_v2.Port.device_owner.in_(device_owners),"},{"line_number":1096,"context_line":"                models_v2.Port.device_id \u003d\u003d device_id)"},{"line_number":1097,"context_line":"            port_ids.extend([rp.id for rp in rports])"},{"line_number":1098,"context_line":"            "},{"line_number":1099,"context_line":"        # TODO(markmcclain): This is suboptimal but was left to reduce"},{"line_number":1100,"context_line":"        # changeset size since it is late in cycle"},{"line_number":1101,"context_line":"        interfaces \u003d self._core_plugin.get_ports(context, {\u0027id\u0027: port_ids})"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_3b37b5e4","line":1098,"updated":"2015-01-07 02:56:29.000000000","message":"whitespace","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"}],"neutron/db/l3_dvr_db.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":226,"context_line":"            l3_agents \u003d self.get_agents_db("},{"line_number":227,"context_line":"                            context,"},{"line_number":228,"context_line":"                            filters\u003d{\u0027agent_type\u0027: [l3_const.AGENT_TYPE_L3]})"},{"line_number":229,"context_line":"            "},{"line_number":230,"context_line":"            # assume it\u0027s add by subnet for now"},{"line_number":231,"context_line":"            for agent in l3_agents:"},{"line_number":232,"context_line":"                router_interface_info \u003d self.add_router_interface_for_agent("}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_1b411939","line":229,"updated":"2015-01-07 02:56:29.000000000","message":"whitespace here and below","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"cdc71abf679366bbf230db9ae5db194d48efd164","unresolved":false,"context_lines":[{"line_number":302,"context_line":"                        port_type\u003dport[\u0027device_owner\u0027]"},{"line_number":303,"context_line":"                    )"},{"line_number":304,"context_line":"                    context.session.add(router_port)"},{"line_number":305,"context_line":"            "},{"line_number":306,"context_line":"            elif p[\u0027device_owner\u0027] \u003d\u003d DEVICE_OWNER_ROUTER_GW:"},{"line_number":307,"context_line":"                self._create_gw_port("},{"line_number":308,"context_line":"                    context, agent_id, router_id,"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_5b47214c","line":305,"updated":"2015-01-07 02:56:29.000000000","message":"whitespace","commit_id":"168cce272a73e43936c7200cf44c896c46860d3a"}]}
