)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9970,"name":"John Kasperski","email":"jckasper@linux.vnet.ibm.com","username":"jckasper"},"change_message_id":"24914df372c741c58601bff300e60734aedcf2e1","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    @property"},{"line_number":28,"context_line":"    def subnet_ip_usage(self):"},{"line_number":29,"context_line":"        return n_const.USE_GATEWAY_IPS"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Change-Id: I17e1dc9231a5ec35bd6f84c4c7aca6350d76e8ec"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3a50d1a3_5ec7e397","line":30,"updated":"2015-07-28 04:36:51.000000000","message":"Bug # or blueprint # ?","commit_id":"852b6fa18205e5192b640461e037097143d3d2f7"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"49e7dc0824c2cbd9d4fdeef6e9c44e902174aac3","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    @property"},{"line_number":28,"context_line":"    def subnet_ip_usage(self):"},{"line_number":29,"context_line":"        return n_const.USE_GATEWAY_IPS"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Partial-Bug: #1472704"},{"line_number":32,"context_line":"Change-Id: I17e1dc9231a5ec35bd6f84c4c7aca6350d76e8ec"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"3a50d1a3_704f2692","line":29,"updated":"2015-07-29 09:08:05.000000000","message":"There is only 2 possible cases (USE_GATEWAY/UNIQUE_IPS)? If yes, i would prefer you use a boolean:\n\n  @property:\n  def use_gateway_ip(self):\n    # return True or False","commit_id":"fa9028564ebc95083c13d8010ba3b07ccd516c5a"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"aeaba64b1cecd507da40bd81dcb0be30cfd485e8","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    @property"},{"line_number":28,"context_line":"    def subnet_ip_usage(self):"},{"line_number":29,"context_line":"        return n_const.USE_GATEWAY_IPS"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Partial-Bug: #1472704"},{"line_number":32,"context_line":"Change-Id: I17e1dc9231a5ec35bd6f84c4c7aca6350d76e8ec"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"3a50d1a3_31c8bda7","line":29,"in_reply_to":"3a50d1a3_704f2692","updated":"2015-07-29 11:05:09.000000000","message":"Yes, I was wondering too whether that would be better.  I\u0027ll do that in my next upload.  (It might take a little time, though, because I\u0027m also working on adding tests for this change.)","commit_id":"fa9028564ebc95083c13d8010ba3b07ccd516c5a"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"d18799cb4978fe3a6cc9c9a80c99406ac69cdcd2","unresolved":false,"context_lines":[{"line_number":25,"context_line":"achieve that by overriding as follows:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    @property"},{"line_number":28,"context_line":"    def subnet_ip_usage(self):"},{"line_number":29,"context_line":"        return n_const.USE_GATEWAY_IPS"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Partial-Bug: #1472704"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"1a4dcd0f_6b3904a3","line":28,"updated":"2015-08-15 02:15:09.000000000","message":"Commit message must be updated","commit_id":"aefaef1147e4e853e13c2981cb3e17c89f3dacda"},{"author":{"_account_id":17711,"name":"Margaret Frances","email":"margaret_frances@cable.comcast.com","username":"margaret-frances"},"change_message_id":"f383808294fddccbfa89a37a2b3da44f3b131c63","unresolved":false,"context_lines":[{"line_number":7,"context_line":"DHCP agent: allow using gateway IPs instead of uniquely allocated"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In each place where the DHCP agent runs, and for each subnet for which"},{"line_number":10,"context_line":"DHCP is handling out IP addresses, the DHCP port needs - at the Linux"},{"line_number":11,"context_line":"level - to have an IP address within that subnet.  Generally this"},{"line_number":12,"context_line":"needs to be a unique Neutron-allocated IP address, because the"},{"line_number":13,"context_line":"subnet\u0027s underlying L2 domain is bridged across multiple compute hosts"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"da20952f_37a43d06","line":10,"updated":"2015-08-31 22:44:10.000000000","message":"s/handling/handing","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"911065caf516d296702d79415e52463e4291472a","unresolved":false,"context_lines":[{"line_number":7,"context_line":"DHCP agent: allow using gateway IPs instead of uniquely allocated"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In each place where the DHCP agent runs, and for each subnet for which"},{"line_number":10,"context_line":"DHCP is handling out IP addresses, the DHCP port needs - at the Linux"},{"line_number":11,"context_line":"level - to have an IP address within that subnet.  Generally this"},{"line_number":12,"context_line":"needs to be a unique Neutron-allocated IP address, because the"},{"line_number":13,"context_line":"subnet\u0027s underlying L2 domain is bridged across multiple compute hosts"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"da20952f_33175146","line":10,"in_reply_to":"da20952f_37a43d06","updated":"2015-09-01 13:02:39.000000000","message":"Done","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":17711,"name":"Margaret Frances","email":"margaret_frances@cable.comcast.com","username":"margaret-frances"},"change_message_id":"f383808294fddccbfa89a37a2b3da44f3b131c63","unresolved":false,"context_lines":[{"line_number":14,"context_line":"and network nodes, and for HA there may be multiple DHCP agents"},{"line_number":15,"context_line":"running on that same bridged L2 domain."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"In some scenarios, though, it\u0027s possible instead to use each subnet\u0027s"},{"line_number":18,"context_line":"gateway IP address, and thereby to save a unique IP allocation."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"This change enhances the DHCP agent code to be able to use gateway IPs"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"da20952f_37f2fd06","line":17,"updated":"2015-08-31 22:44:10.000000000","message":"Suggest describing the scenarios (scenario?) under which it\u0027s possible to use the gateway IP for the DHCP port.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"911065caf516d296702d79415e52463e4291472a","unresolved":false,"context_lines":[{"line_number":14,"context_line":"and network nodes, and for HA there may be multiple DHCP agents"},{"line_number":15,"context_line":"running on that same bridged L2 domain."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"In some scenarios, though, it\u0027s possible instead to use each subnet\u0027s"},{"line_number":18,"context_line":"gateway IP address, and thereby to save a unique IP allocation."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"This change enhances the DHCP agent code to be able to use gateway IPs"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"da20952f_b32121a0","line":17,"in_reply_to":"da20952f_37f2fd06","updated":"2015-09-01 13:02:39.000000000","message":"Done","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":17711,"name":"Margaret Frances","email":"margaret_frances@cable.comcast.com","username":"margaret-frances"},"change_message_id":"f383808294fddccbfa89a37a2b3da44f3b131c63","unresolved":false,"context_lines":[{"line_number":15,"context_line":"running on that same bridged L2 domain."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"In some scenarios, though, it\u0027s possible instead to use each subnet\u0027s"},{"line_number":18,"context_line":"gateway IP address, and thereby to save a unique IP allocation."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"This change enhances the DHCP agent code to be able to use gateway IPs"},{"line_number":21,"context_line":"as an alternative to uniquely allocated ones, with the choice between"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"da20952f_97c0a951","line":18,"updated":"2015-08-31 22:44:10.000000000","message":"Suggest including here, as per your earlier comment today, the benefits of saving an IP allocation and the circumstances under which doing that is important.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"911065caf516d296702d79415e52463e4291472a","unresolved":false,"context_lines":[{"line_number":15,"context_line":"running on that same bridged L2 domain."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"In some scenarios, though, it\u0027s possible instead to use each subnet\u0027s"},{"line_number":18,"context_line":"gateway IP address, and thereby to save a unique IP allocation."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"This change enhances the DHCP agent code to be able to use gateway IPs"},{"line_number":21,"context_line":"as an alternative to uniquely allocated ones, with the choice between"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"da20952f_13332df7","line":18,"in_reply_to":"da20952f_97c0a951","updated":"2015-09-01 13:02:39.000000000","message":"Done","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"}],"neutron/agent/linux/dhcp.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"04093e3ff6a02c6a97623f7eb24723fa2b7833e4","unresolved":false,"context_lines":[{"line_number":1110,"context_line":"                net \u003d netaddr.IPNetwork(subnet.cidr)"},{"line_number":1111,"context_line":"                ip_cidr \u003d \u0027%s/%s\u0027 % (fixed_ip.ip_address, net.prefixlen)"},{"line_number":1112,"context_line":"                ip_cidrs.append(ip_cidr)"},{"line_number":1113,"context_line":"        LOG.debug(\"ip_cidrs \u003d %s\" % ip_cidrs)"},{"line_number":1114,"context_line":""},{"line_number":1115,"context_line":"        if self.driver.subnet_ip_usage is constants.USE_GATEWAY_IPS:"},{"line_number":1116,"context_line":"            # For each DHCP-enabled subnet, add that subnet\u0027s gateway"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_fb0bd07b","line":1113,"updated":"2015-08-04 02:41:39.000000000","message":"Seems this and L1125 should be removed in a final version ?","commit_id":"fa9028564ebc95083c13d8010ba3b07ccd516c5a"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"ddc61ce0d4f5e40e11ec9d1e6d9ddb5f77659e1a","unresolved":false,"context_lines":[{"line_number":1110,"context_line":"                net \u003d netaddr.IPNetwork(subnet.cidr)"},{"line_number":1111,"context_line":"                ip_cidr \u003d \u0027%s/%s\u0027 % (fixed_ip.ip_address, net.prefixlen)"},{"line_number":1112,"context_line":"                ip_cidrs.append(ip_cidr)"},{"line_number":1113,"context_line":"        LOG.debug(\"ip_cidrs \u003d %s\" % ip_cidrs)"},{"line_number":1114,"context_line":""},{"line_number":1115,"context_line":"        if self.driver.subnet_ip_usage is constants.USE_GATEWAY_IPS:"},{"line_number":1116,"context_line":"            # For each DHCP-enabled subnet, add that subnet\u0027s gateway"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a4dcd0f_f944171c","line":1113,"in_reply_to":"1a4dcd0f_fb0bd07b","updated":"2015-08-04 14:09:24.000000000","message":"OK, I\u0027ll do that.","commit_id":"fa9028564ebc95083c13d8010ba3b07ccd516c5a"},{"author":{"_account_id":14615,"name":"Sergey Belous","email":"belous.py@gmail.com","username":"sbelous"},"change_message_id":"7b2d974d6b80e6d87c9aef9698f82eb49154da10","unresolved":false,"context_lines":[{"line_number":1154,"context_line":""},{"line_number":1155,"context_line":"        if self.driver.use_gateway_ips:"},{"line_number":1156,"context_line":"            # For each DHCP-enabled subnet, add that subnet\u0027s gateway"},{"line_number":1157,"context_line":"            # IP address to the Linux device for the DHCP port.."},{"line_number":1158,"context_line":"            for subnet in network.subnets:"},{"line_number":1159,"context_line":"                if not subnet.enable_dhcp:"},{"line_number":1160,"context_line":"                    continue"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa1b9901_4fe4260c","line":1157,"updated":"2015-08-19 09:30:06.000000000","message":"Small typo: one or three dots after \"port\"? :)","commit_id":"a99db92d792ac3d7157689b58cc47807804ac0f5"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"0295d8077e869b287fe2e263d06b895b92c32ebd","unresolved":false,"context_lines":[{"line_number":1154,"context_line":""},{"line_number":1155,"context_line":"        if self.driver.use_gateway_ips:"},{"line_number":1156,"context_line":"            # For each DHCP-enabled subnet, add that subnet\u0027s gateway"},{"line_number":1157,"context_line":"            # IP address to the Linux device for the DHCP port.."},{"line_number":1158,"context_line":"            for subnet in network.subnets:"},{"line_number":1159,"context_line":"                if not subnet.enable_dhcp:"},{"line_number":1160,"context_line":"                    continue"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa1b9901_b64af3c3","line":1157,"in_reply_to":"fa1b9901_4fe4260c","updated":"2015-08-19 13:14:11.000000000","message":"Done","commit_id":"a99db92d792ac3d7157689b58cc47807804ac0f5"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"667fc36c4300b0016001092e4b36ea29bccee00f","unresolved":false,"context_lines":[{"line_number":1007,"context_line":"        for port in network.ports:"},{"line_number":1008,"context_line":"            port_device_id \u003d getattr(port, \u0027device_id\u0027, None)"},{"line_number":1009,"context_line":"            if port_device_id \u003d\u003d device_id:"},{"line_number":1010,"context_line":"                break"},{"line_number":1011,"context_line":"        else:"},{"line_number":1012,"context_line":"            return None"},{"line_number":1013,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_9c3a8c33","line":1010,"updated":"2015-08-24 23:23:27.000000000","message":"the logic would gain something in readability imho if you return port here when self.driver_use_gateway_ips","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"95d9e974f9c40b258d9ef84d874f3e3bd8c33728","unresolved":false,"context_lines":[{"line_number":1007,"context_line":"        for port in network.ports:"},{"line_number":1008,"context_line":"            port_device_id \u003d getattr(port, \u0027device_id\u0027, None)"},{"line_number":1009,"context_line":"            if port_device_id \u003d\u003d device_id:"},{"line_number":1010,"context_line":"                break"},{"line_number":1011,"context_line":"        else:"},{"line_number":1012,"context_line":"            return None"},{"line_number":1013,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_657ecd6b","line":1010,"in_reply_to":"fa1b9901_9c3a8c33","updated":"2015-08-25 17:19:15.000000000","message":"Yes, I agree; I will do that.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"f5ce29589a2161328920a84f0ec367c1f1364176","unresolved":false,"context_lines":[{"line_number":1075,"context_line":"            device_id\u003ddevice_id,"},{"line_number":1076,"context_line":"            network_id\u003dnetwork.id,"},{"line_number":1077,"context_line":"            tenant_id\u003dnetwork.tenant_id,"},{"line_number":1078,"context_line":"            fixed_ips\u003d([]"},{"line_number":1079,"context_line":"                       if self.driver.use_gateway_ips"},{"line_number":1080,"context_line":"                       else [dict(subnet_id\u003ds) for s in dhcp_subnets]))"},{"line_number":1081,"context_line":"        return self.plugin.create_dhcp_port({\u0027port\u0027: port_dict})"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_cbd03ccc","line":1078,"updated":"2015-08-24 22:35:00.000000000","message":"nit:  This looks like a bit too much logic for an argument assignment in a method call.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"667fc36c4300b0016001092e4b36ea29bccee00f","unresolved":false,"context_lines":[{"line_number":1075,"context_line":"            device_id\u003ddevice_id,"},{"line_number":1076,"context_line":"            network_id\u003dnetwork.id,"},{"line_number":1077,"context_line":"            tenant_id\u003dnetwork.tenant_id,"},{"line_number":1078,"context_line":"            fixed_ips\u003d([]"},{"line_number":1079,"context_line":"                       if self.driver.use_gateway_ips"},{"line_number":1080,"context_line":"                       else [dict(subnet_id\u003ds) for s in dhcp_subnets]))"},{"line_number":1081,"context_line":"        return self.plugin.create_dhcp_port({\u0027port\u0027: port_dict})"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_dc000469","line":1078,"in_reply_to":"fa1b9901_cbd03ccc","updated":"2015-08-24 23:23:27.000000000","message":"well, it\u0027s actually changing the logic just a little bit...","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"95d9e974f9c40b258d9ef84d874f3e3bd8c33728","unresolved":false,"context_lines":[{"line_number":1075,"context_line":"            device_id\u003ddevice_id,"},{"line_number":1076,"context_line":"            network_id\u003dnetwork.id,"},{"line_number":1077,"context_line":"            tenant_id\u003dnetwork.tenant_id,"},{"line_number":1078,"context_line":"            fixed_ips\u003d([]"},{"line_number":1079,"context_line":"                       if self.driver.use_gateway_ips"},{"line_number":1080,"context_line":"                       else [dict(subnet_id\u003ds) for s in dhcp_subnets]))"},{"line_number":1081,"context_line":"        return self.plugin.create_dhcp_port({\u0027port\u0027: port_dict})"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_65cc8dbb","line":1078,"in_reply_to":"fa1b9901_dc000469","updated":"2015-08-25 17:19:15.000000000","message":"Well, I\u0027m happy to create and use a local variable instead, so I\u0027ll do that in the next revision.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"667fc36c4300b0016001092e4b36ea29bccee00f","unresolved":false,"context_lines":[{"line_number":1158,"context_line":"                gateway \u003d subnet.gateway_ip"},{"line_number":1159,"context_line":"                if gateway:"},{"line_number":1160,"context_line":"                    net \u003d netaddr.IPNetwork(subnet.cidr)"},{"line_number":1161,"context_line":"                    ip_cidrs.append(\u0027%s/%s\u0027 % (gateway, net.prefixlen))"},{"line_number":1162,"context_line":""},{"line_number":1163,"context_line":"        if (self.conf.enable_isolated_metadata and"},{"line_number":1164,"context_line":"            self.conf.use_namespaces):"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_7c545853","line":1161,"updated":"2015-08-24 23:23:27.000000000","message":"I am not entirely sure that the logic here is correct.\neven if use_gateway_ips\u003dTrue you seem to be still interacting with the plugin as usual for creating the DHCP port. This will still allocated addresses for this port that cannot be reused.\n\nThen you add those addresses to ip_cidrs, and if use_gateway_ips is True you also add the gateway ips to ip_cidrs, whereas I would have expected you\u0027d first clear ip_cidrs.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"95d9e974f9c40b258d9ef84d874f3e3bd8c33728","unresolved":false,"context_lines":[{"line_number":1158,"context_line":"                gateway \u003d subnet.gateway_ip"},{"line_number":1159,"context_line":"                if gateway:"},{"line_number":1160,"context_line":"                    net \u003d netaddr.IPNetwork(subnet.cidr)"},{"line_number":1161,"context_line":"                    ip_cidrs.append(\u0027%s/%s\u0027 % (gateway, net.prefixlen))"},{"line_number":1162,"context_line":""},{"line_number":1163,"context_line":"        if (self.conf.enable_isolated_metadata and"},{"line_number":1164,"context_line":"            self.conf.use_namespaces):"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_a5a145fa","line":1161,"in_reply_to":"fa1b9901_7c545853","updated":"2015-08-25 17:19:15.000000000","message":"I\u0027m pretty sure that\u0027s not what actually happens, because when I run tests with this code I can see that there are no skipped values in the sequence of IP addresses that Neutron allocates for VM ports.  For example, if the subnet is 10.65.0.0/24, and the gateway IP is 10.65.0.1, and I repeatedly create and terminate a set of 3 VMs, I see:\n\n- 10.65.0.2, 10.65.0.3, 10.65.0.4\n- 10.65.0.5, 10.65.0.6, 10.65.0.7\n- and so on.\n\nIn terms of the code, I believe the details that prevent Neutron from allocating IP addresses are\n\n- passing an empty array for fixed_ips in _setup_new_dhcp_port\n\n- the early exit from _setup_existing_dhcp_port, which means that the fixed_ips array doesn\u0027t get extended subsequently.\n\nWhat do you think?","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"911065caf516d296702d79415e52463e4291472a","unresolved":false,"context_lines":[{"line_number":1158,"context_line":"                gateway \u003d subnet.gateway_ip"},{"line_number":1159,"context_line":"                if gateway:"},{"line_number":1160,"context_line":"                    net \u003d netaddr.IPNetwork(subnet.cidr)"},{"line_number":1161,"context_line":"                    ip_cidrs.append(\u0027%s/%s\u0027 % (gateway, net.prefixlen))"},{"line_number":1162,"context_line":""},{"line_number":1163,"context_line":"        if (self.conf.enable_isolated_metadata and"},{"line_number":1164,"context_line":"            self.conf.use_namespaces):"}],"source_content_type":"text/x-python","patch_set":12,"id":"da20952f_7394e989","line":1161,"in_reply_to":"fa1b9901_9fad669d","updated":"2015-09-01 13:02:39.000000000","message":"Not sure if I\u0027ve previously answered your question \"do you end up getting a DHCP port with no IP address?\"...\n\nThe answer is that:\n\n- yes, the DHCP port has no IP address, as far as Neutron is aware\n\n- but on the underlying Linux interface, there is an IP address, namely the subnet\u0027s gateway IP address.\n\nHope that makes sense!","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"b1c367567926ecceecb18f5e54ce0f4449491da2","unresolved":false,"context_lines":[{"line_number":1158,"context_line":"                gateway \u003d subnet.gateway_ip"},{"line_number":1159,"context_line":"                if gateway:"},{"line_number":1160,"context_line":"                    net \u003d netaddr.IPNetwork(subnet.cidr)"},{"line_number":1161,"context_line":"                    ip_cidrs.append(\u0027%s/%s\u0027 % (gateway, net.prefixlen))"},{"line_number":1162,"context_line":""},{"line_number":1163,"context_line":"        if (self.conf.enable_isolated_metadata and"},{"line_number":1164,"context_line":"            self.conf.use_namespaces):"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_9fad669d","line":1161,"in_reply_to":"fa1b9901_a5a145fa","updated":"2015-08-25 21:29:23.000000000","message":"You\u0027re right - in this way you\u0027re not using any additional IP address. I have not tested this myself, and I apologise for this, but in your tests do you end up getting a DHCP port with no IP address?\n\nI think for the calico integration it would not matter at all anyway","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"}],"neutron/agent/linux/interface.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"b756a6e965bb0b0c456608f67e7e826dbe06f3ea","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        # In each place where the DHCP agent runs, and for each subnet"},{"line_number":58,"context_line":"        # for which DHCP is handling out IP addresses, the DHCP port"},{"line_number":59,"context_line":"        # needs - at the Linux level - to have an IP address within"},{"line_number":60,"context_line":"        # that subnet.  Generally this needs to be a unique"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_19148ef3","line":57,"updated":"2015-08-17 21:41:43.000000000","message":"It looks like a docstring more than a comment.\n\niiuc, you need to clarify somewhere that use_gateway_ips \u003d\u003d True requires:\n\n* subnets with a gateway ip\n* no gateway ip update\n\n(both can be enforced using policy.json?)","commit_id":"bf20d392350fdd53dc6a613d8ff6c4daa0fcb970"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"1a04ea6a0a59bbf9934e9831fc62f5886a12c389","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        \"\"\"In each place where the DHCP agent runs, and for each subnet for"},{"line_number":58,"context_line":"        which DHCP is handling out IP addresses, the DHCP port needs -"},{"line_number":59,"context_line":"        at the Linux level - to have an IP address within that subnet."},{"line_number":60,"context_line":"        Generally this needs to be a unique Neutron-allocated IP"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_6dc12f80","line":57,"updated":"2015-08-24 06:19:29.000000000","message":"nitpickness: The doc string should start with a short phrase ended by a dot.\n\nThen the long description.","commit_id":"d425ea1838ad718147092a2b13086ec59a27c79b"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"6700d48a30a9142b1bfa41daad02ef67e0348341","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        \"\"\"In each place where the DHCP agent runs, and for each subnet for"},{"line_number":58,"context_line":"        which DHCP is handling out IP addresses, the DHCP port needs -"},{"line_number":59,"context_line":"        at the Linux level - to have an IP address within that subnet."},{"line_number":60,"context_line":"        Generally this needs to be a unique Neutron-allocated IP"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa1b9901_5fc96aab","line":57,"in_reply_to":"fa1b9901_6dc12f80","updated":"2015-08-24 10:27:55.000000000","message":"Thanks for your reviews, Miguel.  I think it\u0027s worth getting this right, so I\u0027ll shortly upload a new PS to improve this.","commit_id":"d425ea1838ad718147092a2b13086ec59a27c79b"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"f5ce29589a2161328920a84f0ec367c1f1364176","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        self.conf \u003d conf"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        \"\"\"Whether to use gateway IPs instead of unique IP allocations."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        In each place where the DHCP agent runs, and for each subnet for"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_e6df7538","line":56,"updated":"2015-08-24 22:35:00.000000000","message":"In order to turn this on, an interface driver must inherit from this class and override this but all of the implementation is mingled in with the base class.\n\nI think I\u0027d be more comfortable refactoring the base class in a way that allows a sub-class to add a new class that directly and clearly overrides the behavior instead of embedding both behaviors in the base class.  Does that make sense?","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"2a130acda3bc3338b016d85924a0b8f06a5aeb97","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        self.conf \u003d conf"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        \"\"\"Whether to use gateway IPs instead of unique IP allocations."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        In each place where the DHCP agent runs, and for each subnet for"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_bbbba80e","line":56,"in_reply_to":"fa1b9901_00fb3fc2","updated":"2015-08-25 17:39:17.000000000","message":"Looking at it again, I\u0027m not really clear on what I want.  The current abstraction feels a bit funny but I can\u0027t put my finger on it.  Let me think on it a little more.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"667fc36c4300b0016001092e4b36ea29bccee00f","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        self.conf \u003d conf"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        \"\"\"Whether to use gateway IPs instead of unique IP allocations."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        In each place where the DHCP agent runs, and for each subnet for"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_3c9340fc","line":56,"in_reply_to":"fa1b9901_3c6260d9","updated":"2015-08-24 23:23:27.000000000","message":"I think Carl means refactor this class so that you can apply polymorphism - a base abstract Generic Class, then a class for interfaces that use gateway IPs, and a class for \u0027regular\u0027 interfaces.\n\nThis will avoid you the hassle of having to do an \u0027if\u0027 check - all your behaviour would be perfectly encpasulated in your class. Whether this is a good thing or not, I don\u0027t know. On the one hand I see the point on data vs behaviour, on the other hand I also see an increase in boilerplate code.\n\nAnyway, that was just an attempt to clarify...","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"95d9e974f9c40b258d9ef84d874f3e3bd8c33728","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        self.conf \u003d conf"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        \"\"\"Whether to use gateway IPs instead of unique IP allocations."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        In each place where the DHCP agent runs, and for each subnet for"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_00fb3fc2","line":56,"in_reply_to":"fa1b9901_3c9340fc","updated":"2015-08-25 17:19:15.000000000","message":"I\u0027m afraid I\u0027m not sure if I see the idea here.  But I have a guess based on your reference to \u0027if\u0027 checks.  Note that these are actually in the DeviceManager class in dhcp.py, which is outside of the inheritance tree based at LinuxInterfaceDriver.  (Does that make any difference to what you had in mind?)\n\nSo, what we could do instead is add a LinuxInterfaceDriver method like this:\n\n    def gateway_ip_subnets(self, subnets):\n        \"\"\"Given a set of subnets, return the subset of those for which the\n           DHCP agent should use the gateway IP instead of a freshly\n           allocated IP address.\"\"\"\n           return []\n\nThen:\n\n- _setup_new_dhcp_port could construct the fixed_ips array that it passes to the plugin, based on (dhcp_subnets - self.driver.gateway_ip_subnets(dhcp_subnets))\n\n- _setup_existing_dhcp_port would lose its early exit for the use_gateway_ips case, and instead set dhcp_enabled_subnet_ids based on (dhcp_subnets - self.driver.gateway_ip_subnets(dhcp_subnets))\n\n- setup would add a gateway IP to ip_cidrs for each subnet in self.driver.gateway_ip_subnets(dhcp_subnets).\n\nIs that what you had in mind?  It would eliminate the \u0027if\u0027s, but it seems to me to be giving an unjustified amount of control to the interface driver - i.e. letting it choose an arbitrary subset of the subnets - when in reality the two actual cases are just all or none of them.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"995724227ee1124e0192454677b542c8f16d333b","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        self.conf \u003d conf"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        \"\"\"Whether to use gateway IPs instead of unique IP allocations."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        In each place where the DHCP agent runs, and for each subnet for"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_dbec5cbd","line":56,"in_reply_to":"fa1b9901_bbbba80e","updated":"2015-08-25 17:48:14.000000000","message":"Thanks, I appreciate it, and I know you\u0027re pressed for time!  Could I help with the reviews and/or UT work for address scopes that you mentioned in today\u0027s meetings?  I have time available this week, that I could spend on that.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"48616cb59d8990f31e9706df47b17978e1f30845","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        self.conf \u003d conf"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    @property"},{"line_number":56,"context_line":"    def use_gateway_ips(self):"},{"line_number":57,"context_line":"        \"\"\"Whether to use gateway IPs instead of unique IP allocations."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        In each place where the DHCP agent runs, and for each subnet for"}],"source_content_type":"text/x-python","patch_set":12,"id":"fa1b9901_3c6260d9","line":56,"in_reply_to":"fa1b9901_e6df7538","updated":"2015-08-24 22:52:48.000000000","message":"I\u0027m not sure which classes you mean.  For \u0027the base class\u0027 do you mean LinuxInterfaceDriver?","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":17711,"name":"Margaret Frances","email":"margaret_frances@cable.comcast.com","username":"margaret-frances"},"change_message_id":"f383808294fddccbfa89a37a2b3da44f3b131c63","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        In some scenarios, though, it\u0027s possible instead to use the"},{"line_number":69,"context_line":"        subnet\u0027s gateway IP address, so this property exists to allow"},{"line_number":70,"context_line":"        interface drivers to override the default behaviour."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        When an operator deploys Neutron with an interface driver that"},{"line_number":73,"context_line":"        makes use_gateway_ips True, they should also ensure that a"}],"source_content_type":"text/x-python","patch_set":12,"id":"da20952f_d77b81bc","line":70,"updated":"2015-08-31 22:44:10.000000000","message":"I suppose the suggestions I made for the commit message would, if you agree with them, apply more importantly here.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"911065caf516d296702d79415e52463e4291472a","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        In some scenarios, though, it\u0027s possible instead to use the"},{"line_number":69,"context_line":"        subnet\u0027s gateway IP address, so this property exists to allow"},{"line_number":70,"context_line":"        interface drivers to override the default behaviour."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        When an operator deploys Neutron with an interface driver that"},{"line_number":73,"context_line":"        makes use_gateway_ips True, they should also ensure that a"}],"source_content_type":"text/x-python","patch_set":12,"id":"da20952f_58dea2dd","line":70,"in_reply_to":"da20952f_d77b81bc","updated":"2015-09-01 13:02:39.000000000","message":"Agreed.","commit_id":"8704b0ae6abafa2e250008ae7b459aca40de1551"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"55b23df1482906cdf3b796a6f423198bef08d3f6","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        available DHCP servers.  DHCP responses will be sent _from_"},{"line_number":78,"context_line":"        the DHCP port address.)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        In particular, in the networking-calico case, all DHCP ports"},{"line_number":81,"context_line":"        can use the subnet\u0027s gateway IP address, and thereby"},{"line_number":82,"context_line":"        completely avoid any unique IP address allocation."},{"line_number":83,"context_line":"        networking-calico uses BGP to populate a detailed routing"}],"source_content_type":"text/x-python","patch_set":13,"id":"da20952f_361c1177","line":80,"updated":"2015-09-01 17:27:51.000000000","message":"I don\u0027t think that this part of the docstring belongs here, please remove any reference to calico, they don\u0027t belong here.","commit_id":"97e3946fdf4e1406e1aad78ad0269267b8ad335b"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"545f81878fc43cdb2040849202b515f93c0ec6e9","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        available DHCP servers.  DHCP responses will be sent _from_"},{"line_number":78,"context_line":"        the DHCP port address.)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        In particular, in the networking-calico case, all DHCP ports"},{"line_number":81,"context_line":"        can use the subnet\u0027s gateway IP address, and thereby"},{"line_number":82,"context_line":"        completely avoid any unique IP address allocation."},{"line_number":83,"context_line":"        networking-calico uses BGP to populate a detailed routing"}],"source_content_type":"text/x-python","patch_set":13,"id":"da20952f_c925e60a","line":80,"in_reply_to":"da20952f_26485187","updated":"2015-09-01 22:54:48.000000000","message":"The content could move to the where this is being used in the networking-calico project, it shouldn\u0027t be lost.","commit_id":"97e3946fdf4e1406e1aad78ad0269267b8ad335b"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"f0dfa228a650e21727ba6ffac67f1b9abd290123","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        available DHCP servers.  DHCP responses will be sent _from_"},{"line_number":78,"context_line":"        the DHCP port address.)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        In particular, in the networking-calico case, all DHCP ports"},{"line_number":81,"context_line":"        can use the subnet\u0027s gateway IP address, and thereby"},{"line_number":82,"context_line":"        completely avoid any unique IP address allocation."},{"line_number":83,"context_line":"        networking-calico uses BGP to populate a detailed routing"}],"source_content_type":"text/x-python","patch_set":13,"id":"da20952f_26485187","line":80,"in_reply_to":"da20952f_361c1177","updated":"2015-09-01 22:33:50.000000000","message":"OK, will do.  I was trying to be as precise and explicit as possible in response to Margaret Frances\u0027s comment on the previous patch set - but I can agree that it\u0027s not correct to mention calico specifically.","commit_id":"97e3946fdf4e1406e1aad78ad0269267b8ad335b"},{"author":{"_account_id":7244,"name":"Victor Howard","email":"victor.r.howard@gmail.com","username":"vichoward"},"change_message_id":"2704a2acce45e6c86048290afac0c2588b52cae7","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        Specifically, for networking backends where it makes sense,"},{"line_number":81,"context_line":"        the DHCP agent allows all DHCP ports to use the subnet\u0027s"},{"line_number":82,"context_line":"        gateway IP address, and thereby to completely avoid any unique"},{"line_number":83,"context_line":"        IP address allocation.  This behaviour is selected by running"},{"line_number":84,"context_line":"        the DHCP agent with a configured interface driver whose"},{"line_number":85,"context_line":"        \u0027use_gateway_ips\u0027 property is True."},{"line_number":86,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_a081854f","line":83,"updated":"2015-09-02 13:50:47.000000000","message":"behavior","commit_id":"f3f5940201a9e010c188f83aead7d93e7e8c9b6d"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"ecc9f65c21a7d8e72562fc088d80d80993718ab0","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        Specifically, for networking backends where it makes sense,"},{"line_number":81,"context_line":"        the DHCP agent allows all DHCP ports to use the subnet\u0027s"},{"line_number":82,"context_line":"        gateway IP address, and thereby to completely avoid any unique"},{"line_number":83,"context_line":"        IP address allocation.  This behaviour is selected by running"},{"line_number":84,"context_line":"        the DHCP agent with a configured interface driver whose"},{"line_number":85,"context_line":"        \u0027use_gateway_ips\u0027 property is True."},{"line_number":86,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_87b9f217","line":83,"in_reply_to":"da20952f_4163ca41","updated":"2015-09-02 15:50:39.000000000","message":"+1  They are the same word and both are correct spellings!","commit_id":"f3f5940201a9e010c188f83aead7d93e7e8c9b6d"},{"author":{"_account_id":13734,"name":"Nell Jerram","email":"nell@tigera.io","username":"neiljerram"},"change_message_id":"955d26b7722276fcb6665170567a726f865e1caf","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        Specifically, for networking backends where it makes sense,"},{"line_number":81,"context_line":"        the DHCP agent allows all DHCP ports to use the subnet\u0027s"},{"line_number":82,"context_line":"        gateway IP address, and thereby to completely avoid any unique"},{"line_number":83,"context_line":"        IP address allocation.  This behaviour is selected by running"},{"line_number":84,"context_line":"        the DHCP agent with a configured interface driver whose"},{"line_number":85,"context_line":"        \u0027use_gateway_ips\u0027 property is True."},{"line_number":86,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_c1e27a01","line":83,"in_reply_to":"da20952f_a081854f","updated":"2015-09-02 15:11:25.000000000","message":"Thanks, Victor.  There are 11 other occurrences of \u0027behaviour\u0027 in the Neutron codebase, and around 50 of \u0027behavior\u0027, so I agree that \u0027behavior\u0027 is preferred.  Also - although I haven\u0027t been able quickly to find it - I guess it\u0027s stated somewhere that the convention is for OpenStack docstrings to use US spelling.\n\nSo, I agree in principle, but really would prefer not to rev this change, given that it\u0027s on the verge of being approved.  How about if I instead propose a followup change that corrects this and all the other occurrences of \u0027behaviour\u0027?","commit_id":"f3f5940201a9e010c188f83aead7d93e7e8c9b6d"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"0ea3085afe4016c6fee9ad310840f47ec657e5b7","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        Specifically, for networking backends where it makes sense,"},{"line_number":81,"context_line":"        the DHCP agent allows all DHCP ports to use the subnet\u0027s"},{"line_number":82,"context_line":"        gateway IP address, and thereby to completely avoid any unique"},{"line_number":83,"context_line":"        IP address allocation.  This behaviour is selected by running"},{"line_number":84,"context_line":"        the DHCP agent with a configured interface driver whose"},{"line_number":85,"context_line":"        \u0027use_gateway_ips\u0027 property is True."},{"line_number":86,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_4163ca41","line":83,"in_reply_to":"da20952f_c1e27a01","updated":"2015-09-02 15:19:22.000000000","message":"I would not worry about such things in comment strings, I\u0027d rather have another bug get fixed than that :)","commit_id":"f3f5940201a9e010c188f83aead7d93e7e8c9b6d"}]}
