)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"82f481eee441d07454f07d7703ccabb7fe612cd9","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Also, the accept_ra procfs entry was enabled under certain"},{"line_number":25,"context_line":"circumstances but it wasn\u0027t disabled otherwise. This patch, will"},{"line_number":26,"context_line":"disable RA on the gateway interface for non master instances."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Closes-Bug: #1667756"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"3a1ff146_70e40e0d","line":26,"updated":"2017-03-14 23:44:55.000000000","message":"Does this mean that ipv6 traffic cannot failover without the agent (and server) being active?","commit_id":"37cec1e29cab467ae0df3fcd19b5f925f7bc97b6"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"eaa9d16054637c03e14887b5e9ac62e8a0586796","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Also, the accept_ra procfs entry was enabled under certain"},{"line_number":25,"context_line":"circumstances but it wasn\u0027t disabled otherwise. This patch, will"},{"line_number":26,"context_line":"disable RA on the gateway interface for non master instances."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Closes-Bug: #1667756"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"3a1ff146_d7c76a43","line":26,"in_reply_to":"3a1ff146_70e40e0d","updated":"2017-03-15 09:01:10.000000000","message":"Hmmm yes, if agent is not active, then forwarding won\u0027t be re-enabled. It shouldn\u0027t depend on the server status though","commit_id":"37cec1e29cab467ae0df3fcd19b5f925f7bc97b6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"43029e71f4f39bf343132d7f412d9864eeb9de06","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Also, the accept_ra procfs entry was enabled under certain"},{"line_number":25,"context_line":"circumstances but it wasn\u0027t disabled otherwise. This patch, will"},{"line_number":26,"context_line":"disable RA on the gateway interface for non master instances."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Closes-Bug: #1667756"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"ffe62b97_365efe43","line":26,"in_reply_to":"3a1ff146_d7c76a43","updated":"2017-03-28 19:40:41.000000000","message":"Indeed, my understanding is that the patch triggers enable/disable events based on what keepalived-state-change scripts report to the agent; there should be no dependency on the server being up here.","commit_id":"37cec1e29cab467ae0df3fcd19b5f925f7bc97b6"}],"neutron/agent/l3/ha.py":[{"author":{"_account_id":8726,"name":"Victor Morales","email":"chipahuac@hotmail.com","username":"electrocucaracha"},"change_message_id":"c6b1c9c770013ba3c51dd0672563a82c3f27aba8","unresolved":false,"context_lines":[{"line_number":138,"context_line":"            return"},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"        interface_name \u003d ri.get_external_device_name(ex_gw_port_id)"},{"line_number":141,"context_line":"        if ri.router.get(\u0027distributed\u0027, False):"},{"line_number":142,"context_line":"            namespace \u003d ri.ha_namespace"},{"line_number":143,"context_line":"        else:"},{"line_number":144,"context_line":"            namespace \u003d ri.ns_name"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"        enable \u003d state \u003d\u003d \u0027master\u0027"},{"line_number":147,"context_line":"        ri._configure_ipv6_params_on_gw(ri.ex_gw_port, namespace,"}],"source_content_type":"text/x-python","patch_set":9,"id":"9a30ddce_79852f58","line":144,"range":{"start_line":141,"start_character":8,"end_line":144,"end_character":34},"updated":"2017-03-10 17:49:55.000000000","message":"nit: this also can be done with a conditional operator\n\n    namespace \u003d ri.ha_namespace if \u0027distributed\u0027 in ri.router else ri.ns_name","commit_id":"37cec1e29cab467ae0df3fcd19b5f925f7bc97b6"}],"neutron/agent/l3/router_info.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"fcc2172a02fb5720ec11d1c88f54bb1766a614f6","unresolved":false,"context_lines":[{"line_number":702,"context_line":"            device.route.add_gateway(ip)"},{"line_number":703,"context_line":""},{"line_number":704,"context_line":"        self._configure_ra_on_gw(ex_gw_port, ns_name, interface_name, True)"},{"line_number":705,"context_line":"        self._configure_ipv6_forwarding_on_gw(ns_name, interface_name, True)"},{"line_number":706,"context_line":""},{"line_number":707,"context_line":"        for fixed_ip in ex_gw_port[\u0027fixed_ips\u0027]:"},{"line_number":708,"context_line":"            ip_lib.send_ip_addr_adv_notif(ns_name,"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a30ddce_a59fdeb2","line":705,"updated":"2017-03-08 19:29:42.000000000","message":"You probably don\u0027t need to enable forwarding here, since when the namespace is created the \"all\" sysctl will be enabled, which is inherited.  But it doesn\u0027t hurt anything so I\u0027d just leave it.\n\nThis did make me notice that we\u0027re always calling these two together, is it worth it to have a single _configure_ipv6_on_gw() that does both ?","commit_id":"cef711400a022052ce9935de9d52e5481854f541"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"1db0a9771a59aa2e69ea0f8b36fd790e235cc9f2","unresolved":false,"context_lines":[{"line_number":702,"context_line":"            device.route.add_gateway(ip)"},{"line_number":703,"context_line":""},{"line_number":704,"context_line":"        self._configure_ra_on_gw(ex_gw_port, ns_name, interface_name, True)"},{"line_number":705,"context_line":"        self._configure_ipv6_forwarding_on_gw(ns_name, interface_name, True)"},{"line_number":706,"context_line":""},{"line_number":707,"context_line":"        for fixed_ip in ex_gw_port[\u0027fixed_ips\u0027]:"},{"line_number":708,"context_line":"            ip_lib.send_ip_addr_adv_notif(ns_name,"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a30ddce_2f9ba473","line":705,"in_reply_to":"9a30ddce_a59fdeb2","updated":"2017-03-09 17:21:10.000000000","message":"Done","commit_id":"cef711400a022052ce9935de9d52e5481854f541"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"7a0d3db3e13d1d7a22c78050a96caf1b9b1f6142","unresolved":false,"context_lines":[{"line_number":702,"context_line":"            device.route.add_gateway(ip)"},{"line_number":703,"context_line":""},{"line_number":704,"context_line":"        self._configure_ra_on_gw(ex_gw_port, ns_name, interface_name, True)"},{"line_number":705,"context_line":"        self._configure_ipv6_forwarding_on_gw(ns_name, interface_name, True)"},{"line_number":706,"context_line":""},{"line_number":707,"context_line":"        for fixed_ip in ex_gw_port[\u0027fixed_ips\u0027]:"},{"line_number":708,"context_line":"            ip_lib.send_ip_addr_adv_notif(ns_name,"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a30ddce_7a13aa0d","line":705,"in_reply_to":"9a30ddce_a59fdeb2","updated":"2017-03-09 10:07:21.000000000","message":"Yes, in my first PS i didn\u0027t include it. However, i think there could be a situation where the agent crashes or it\u0027s restarted while forwarding is disabled and then, on startup, it might have to be enabled explicitely since the namespace is already created.\nAbout the second comment, yes I think they both can be put together.","commit_id":"cef711400a022052ce9935de9d52e5481854f541"}],"neutron/tests/unit/agent/l3/test_agent.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"255e01e389d105d410aa7c22ee3156b311dff399","unresolved":false,"context_lines":[{"line_number":215,"context_line":"        agent \u003d l3_agent.L3NATAgent(HOSTNAME, self.conf)"},{"line_number":216,"context_line":"        router_info \u003d l3router.RouterInfo(agent, _uuid(), {}, **self.ri_kwargs)"},{"line_number":217,"context_line":"        router_info.ex_gw_port \u003d {\u0027id\u0027: _uuid()}"},{"line_number":218,"context_line":"        with mock.patch.object(router_info, \u0027get_external_device_name\u0027,"},{"line_number":219,"context_line":"                               return_value\u003d\u0027qg-abc\u0027),\\"},{"line_number":220,"context_line":"                mock.patch.object(router_info, \u0027_configure_ra_on_gw\u0027)\\"},{"line_number":221,"context_line":"                as mock_configure_ra,\\"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a30ddce_a4829650","line":218,"updated":"2017-03-08 12:30:07.000000000","message":"you don\u0027t really need to mock that function as long as you provide a good port_id on call.\n\n  0     def get_external_device_name(self, port_id):\n  1         return (EXTERNAL_DEV_PREFIX + port_id)[:self.driver.DEV_NAME_LEN]\n\nMay be you can just call it here from test too so you know which port name will it give you?","commit_id":"cef711400a022052ce9935de9d52e5481854f541"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"1db0a9771a59aa2e69ea0f8b36fd790e235cc9f2","unresolved":false,"context_lines":[{"line_number":215,"context_line":"        agent \u003d l3_agent.L3NATAgent(HOSTNAME, self.conf)"},{"line_number":216,"context_line":"        router_info \u003d l3router.RouterInfo(agent, _uuid(), {}, **self.ri_kwargs)"},{"line_number":217,"context_line":"        router_info.ex_gw_port \u003d {\u0027id\u0027: _uuid()}"},{"line_number":218,"context_line":"        with mock.patch.object(router_info, \u0027get_external_device_name\u0027,"},{"line_number":219,"context_line":"                               return_value\u003d\u0027qg-abc\u0027),\\"},{"line_number":220,"context_line":"                mock.patch.object(router_info, \u0027_configure_ra_on_gw\u0027)\\"},{"line_number":221,"context_line":"                as mock_configure_ra,\\"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a30ddce_6f9cbc0f","line":218,"in_reply_to":"9a30ddce_a4829650","updated":"2017-03-09 17:21:10.000000000","message":"Done","commit_id":"cef711400a022052ce9935de9d52e5481854f541"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"c2a8b46c4b83ca8c19a7e1c9dfd0276a9169dff0","unresolved":false,"context_lines":[{"line_number":215,"context_line":"        agent \u003d l3_agent.L3NATAgent(HOSTNAME, self.conf)"},{"line_number":216,"context_line":"        router_info \u003d l3router.RouterInfo(agent, _uuid(), {}, **self.ri_kwargs)"},{"line_number":217,"context_line":"        router_info.ex_gw_port \u003d {\u0027id\u0027: _uuid()}"},{"line_number":218,"context_line":"        with mock.patch.object(router_info, \u0027_configure_ipv6_params_on_gw\u0027)\\"},{"line_number":219,"context_line":"                as mock_configure_ipv6:"},{"line_number":220,"context_line":"            agent._configure_ipv6_params_on_ext_gw_port_if_necessary("},{"line_number":221,"context_line":"                router_info, state)"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a30ddce_c810345c","line":218,"updated":"2017-03-09 21:31:22.000000000","message":"super-nit: you could move the ) to the next line to avoid the backslash, like L1098.","commit_id":"276c3a4d3701d8b6267049ce505928301bd7e039"}]}
