)]}'
{"neutron/agent/linux/dhcp.py":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"98ffe81446eba3ed635432de74393503907a8510","unresolved":false,"context_lines":[{"line_number":501,"context_line":"        buf \u003d six.StringIO()"},{"line_number":502,"context_line":"        filename \u003d self.get_conf_file_name(\u0027host\u0027)"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"        LOG.debug(\u0027Building host file: %s\u0027, filename)"},{"line_number":505,"context_line":"        dhcp_enabled_subnet_ids \u003d [s.id for s in self.network.subnets"},{"line_number":506,"context_line":"                                   if s.enable_dhcp]"},{"line_number":507,"context_line":"        for (port, alloc, hostname, name) in self._iter_hosts():"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_061ef95e","line":504,"updated":"2015-01-08 08:26:25.000000000","message":"This should be a set so that the check in line 509 is much more efficient. Since the \u0027in\u0027 check is done per address, and this is code that the DHCP agent performs on every allocation on every network, this might actually have an impact.","commit_id":"dc3ab47b21d444774bcc70fde6f6763c22dc8ae1"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"54b8fd487258b3b1d63122434aa1498eef231efc","unresolved":false,"context_lines":[{"line_number":501,"context_line":"        buf \u003d six.StringIO()"},{"line_number":502,"context_line":"        filename \u003d self.get_conf_file_name(\u0027host\u0027)"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"        LOG.debug(\u0027Building host file: %s\u0027, filename)"},{"line_number":505,"context_line":"        dhcp_enabled_subnet_ids \u003d [s.id for s in self.network.subnets"},{"line_number":506,"context_line":"                                   if s.enable_dhcp]"},{"line_number":507,"context_line":"        for (port, alloc, hostname, name) in self._iter_hosts():"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_3846adc0","line":504,"in_reply_to":"3a961159_061ef95e","updated":"2015-01-08 12:39:00.000000000","message":"+1","commit_id":"dc3ab47b21d444774bcc70fde6f6763c22dc8ae1"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"0a867f26e90cb217551c22f37f0c4d7f4a90bec1","unresolved":false,"context_lines":[{"line_number":501,"context_line":"        buf \u003d six.StringIO()"},{"line_number":502,"context_line":"        filename \u003d self.get_conf_file_name(\u0027host\u0027)"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"        LOG.debug(\u0027Building host file: %s\u0027, filename)"},{"line_number":505,"context_line":"        dhcp_enabled_subnet_ids \u003d [s.id for s in self.network.subnets"},{"line_number":506,"context_line":"                                   if s.enable_dhcp]"},{"line_number":507,"context_line":"        for (port, alloc, hostname, name) in self._iter_hosts():"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_62b79bd8","line":504,"in_reply_to":"3a961159_3846adc0","updated":"2015-01-08 18:35:23.000000000","message":"I had considered that, but I figured this would be particularly bad in a corner case where you have a gazillion subnets per network. That said, as Assaf suggested, it sounds like a fairly trivial marginal improvement, and if another respin is required, I think it\u0027s worth doing.","commit_id":"dc3ab47b21d444774bcc70fde6f6763c22dc8ae1"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"da53d33924363ba7640f909f0d8d40e5004b8bb5","unresolved":false,"context_lines":[{"line_number":501,"context_line":"        buf \u003d six.StringIO()"},{"line_number":502,"context_line":"        filename \u003d self.get_conf_file_name(\u0027host\u0027)"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"        LOG.debug(\u0027Building host file: %s\u0027, filename)"},{"line_number":505,"context_line":"        dhcp_enabled_subnet_ids \u003d [s.id for s in self.network.subnets"},{"line_number":506,"context_line":"                                   if s.enable_dhcp]"},{"line_number":507,"context_line":"        for (port, alloc, hostname, name) in self._iter_hosts():"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_2d8bbfc0","line":504,"in_reply_to":"3a961159_62b79bd8","updated":"2015-01-08 22:22:45.000000000","message":"Thanks for good suggestion Assaf. Fortunately multiple subnets on a network is not major case. number of subnet is one mainly.","commit_id":"dc3ab47b21d444774bcc70fde6f6763c22dc8ae1"}],"neutron/tests/unit/test_linux_dhcp.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"a9883e8ed9689be2fb801ba3d8645287050e2b79","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    fixed_ips \u003d [FakeIPAllocation(\u0027192.168.0.4\u0027,"},{"line_number":92,"context_line":"                                  \u0027dddddddd-dddd-dddd-dddd-dddddddddddd\u0027),"},{"line_number":93,"context_line":"                 FakeIPAllocation(\u0027ffda:3ba5:a17a:4ba3:0216:3eff:fec2:771d\u0027,"},{"line_number":94,"context_line":"                                  \u0027eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee\u0027)]"},{"line_number":95,"context_line":"    mac_address \u003d \u002700:16:3E:C2:77:1D\u0027"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    def __init__(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_48a7750b","line":94,"updated":"2015-01-06 07:48:11.000000000","message":"Does this code have anything to do with the bug test?","commit_id":"dc3ab47b21d444774bcc70fde6f6763c22dc8ae1"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"144829bb4e1c585ad0f770d62a971fbd8d4c2fef","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    fixed_ips \u003d [FakeIPAllocation(\u0027192.168.0.4\u0027,"},{"line_number":92,"context_line":"                                  \u0027dddddddd-dddd-dddd-dddd-dddddddddddd\u0027),"},{"line_number":93,"context_line":"                 FakeIPAllocation(\u0027ffda:3ba5:a17a:4ba3:0216:3eff:fec2:771d\u0027,"},{"line_number":94,"context_line":"                                  \u0027eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee\u0027)]"},{"line_number":95,"context_line":"    mac_address \u003d \u002700:16:3E:C2:77:1D\u0027"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    def __init__(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_5b0ac8d2","line":94,"in_reply_to":"3a961159_48a7750b","updated":"2015-01-06 21:58:58.000000000","message":"This bug was hidden and it appears on the face by the change of this patch. So it need to fix.","commit_id":"dc3ab47b21d444774bcc70fde6f6763c22dc8ae1"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"fd3ade3234e07f3237f106b4f902ded7691dfda3","unresolved":false,"context_lines":[{"line_number":1349,"context_line":"                         \u002700:00:0f:aa:bb:cc,host-192-168-0-4.openstacklocal,\u0027"},{"line_number":1350,"context_line":"                         \u0027192.168.0.4\\n\u0027"},{"line_number":1351,"context_line":"                         \u002700:00:0f:rr:rr:rr,host-192-168-0-1.openstacklocal,\u0027"},{"line_number":1352,"context_line":"                         \u0027192.168.0.1\\n\u0027).lstrip()"},{"line_number":1353,"context_line":"        dm \u003d dhcp.Dnsmasq(self.conf, FakeDualNetworkSingleDHCP(),"},{"line_number":1354,"context_line":"                          version\u003ddhcp.Dnsmasq.MINIMUM_VERSION)"},{"line_number":1355,"context_line":"        dm._output_hosts_file()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_06262016","line":1352,"updated":"2015-01-07 05:05:40.000000000","message":"what is the lstrip here for?","commit_id":"dc3ab47b21d444774bcc70fde6f6763c22dc8ae1"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"7e5a538d6783aadbe874e137a6a5ea1f4a6f651c","unresolved":false,"context_lines":[{"line_number":1349,"context_line":"                         \u002700:00:0f:aa:bb:cc,host-192-168-0-4.openstacklocal,\u0027"},{"line_number":1350,"context_line":"                         \u0027192.168.0.4\\n\u0027"},{"line_number":1351,"context_line":"                         \u002700:00:0f:rr:rr:rr,host-192-168-0-1.openstacklocal,\u0027"},{"line_number":1352,"context_line":"                         \u0027192.168.0.1\\n\u0027).lstrip()"},{"line_number":1353,"context_line":"        dm \u003d dhcp.Dnsmasq(self.conf, FakeDualNetworkSingleDHCP(),"},{"line_number":1354,"context_line":"                          version\u003ddhcp.Dnsmasq.MINIMUM_VERSION)"},{"line_number":1355,"context_line":"        dm._output_hosts_file()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_c11c0269","line":1352,"in_reply_to":"3a961159_06262016","updated":"2015-01-07 05:41:45.000000000","message":"I copied test_only_populates_dhcp_enabled_subnets (1329-1341). see 1336.","commit_id":"dc3ab47b21d444774bcc70fde6f6763c22dc8ae1"}]}
