)]}'
{"etc/services.conf":[{"author":{"_account_id":11255,"name":"Dustin Lundquist","username":"dustin.lundquist","inactive":true},"change_message_id":"af7d2db0224b99619d636739b99d23b94937604a","unresolved":false,"context_lines":[{"line_number":40,"context_line":"#sync_interval \u003d 60"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"[haproxy]"},{"line_number":43,"context_line":"#jinja_config_template \u003d /opt/stack/neutron/neutron/services/drivers/haproxy/templates/haproxy_v1.4.template"},{"line_number":44,"context_line":"#periodic_interval \u003d 10"},{"line_number":45,"context_line":"#interface_driver \u003d neutron.agent.linux.interface.OVSInterfaceDriver"},{"line_number":46,"context_line":"#send_gratuitous_arp \u003d 3"}],"source_content_type":"text/plain","patch_set":12,"id":"baada198_9e814fc4","line":43,"updated":"2014-08-04 22:38:47.000000000","message":"Is there a precedent for this? I don\u0027t think we should have a configuration value which points into the Neutron source directory. If we do, we should have a mechanism to specify a relative path to the top of the source directory, otherwise you can\u0027t take a working configuration from one installation and move it to another.","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"55a7cb014d060d16c583ab71c3c48e711566e4a5","unresolved":false,"context_lines":[{"line_number":40,"context_line":"#sync_interval \u003d 60"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"[haproxy]"},{"line_number":43,"context_line":"#jinja_config_template \u003d /opt/stack/neutron/neutron/services/drivers/haproxy/templates/haproxy_v1.4.template"},{"line_number":44,"context_line":"#periodic_interval \u003d 10"},{"line_number":45,"context_line":"#interface_driver \u003d neutron.agent.linux.interface.OVSInterfaceDriver"},{"line_number":46,"context_line":"#send_gratuitous_arp \u003d 3"}],"source_content_type":"text/plain","patch_set":12,"id":"baada198_fbaed2e2","line":43,"in_reply_to":"baada198_2d5f3776","updated":"2014-08-05 05:41:28.000000000","message":"Shouldn\u0027t this be commented in this review: https://review.openstack.org/#/c/106867/31\n\nSince this review didn\u0027t add it in.","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":11302,"name":"Phillip Toohill","email":"phillip.toohill@rackspace.com","username":"ptoohill1"},"change_message_id":"72bc26e9d07ccb64278cecd40f0e5ae9555c321a","unresolved":false,"context_lines":[{"line_number":40,"context_line":"#sync_interval \u003d 60"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"[haproxy]"},{"line_number":43,"context_line":"#jinja_config_template \u003d /opt/stack/neutron/neutron/services/drivers/haproxy/templates/haproxy_v1.4.template"},{"line_number":44,"context_line":"#periodic_interval \u003d 10"},{"line_number":45,"context_line":"#interface_driver \u003d neutron.agent.linux.interface.OVSInterfaceDriver"},{"line_number":46,"context_line":"#send_gratuitous_arp \u003d 3"}],"source_content_type":"text/plain","patch_set":12,"id":"baada198_2d5f3776","line":43,"in_reply_to":"baada198_9e814fc4","updated":"2014-08-05 01:44:58.000000000","message":"I agree with you, I put this in as an example to show where those configs live within the code. Its commented out and I was assuming the users can place them where ever they need. Do you have a better idea for this sample value?  Should i do something like the state path? I.e. \u0027$jinja_template_path/haproxy_v1.4.template\u0027","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"}],"neutron/services/loadbalancer/drivers/haproxy/nonagent_namespace_driver.py":[{"author":{"_account_id":11255,"name":"Dustin Lundquist","username":"dustin.lundquist","inactive":true},"change_message_id":"a60b9c6c2ce74b3119ded172023ae9a3b8c21204","unresolved":false,"context_lines":[{"line_number":233,"context_line":"    def _spawn(self, loadbalancer, extra_cmd_args\u003d()):"},{"line_number":234,"context_line":"        namespace \u003d get_ns_name(loadbalancer.id)"},{"line_number":235,"context_line":"        conf_path \u003d self._get_state_file_path(loadbalancer.id, \u0027haproxy.conf\u0027)"},{"line_number":236,"context_line":"        pid_path \u003d self._get_state_file_path(loadbalancer.id,"},{"line_number":237,"context_line":"                                             \u0027haproxy.pid\u0027)"},{"line_number":238,"context_line":"        sock_path \u003d self._get_state_file_path(loadbalancer.id,"},{"line_number":239,"context_line":"                                              \u0027haproxy_stats.sock\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_f8f0b4fe","line":236,"updated":"2014-07-21 20:44:54.000000000","message":"Blueprint included a run/ directory for pid file and stats sock.","commit_id":"bd3c73192f214acc03546f70ccff5f98e1cd986b"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"4bdd13b85f7918e176f45135a529b11fb451adac","unresolved":false,"context_lines":[{"line_number":233,"context_line":"    def _spawn(self, loadbalancer, extra_cmd_args\u003d()):"},{"line_number":234,"context_line":"        namespace \u003d get_ns_name(loadbalancer.id)"},{"line_number":235,"context_line":"        conf_path \u003d self._get_state_file_path(loadbalancer.id, \u0027haproxy.conf\u0027)"},{"line_number":236,"context_line":"        pid_path \u003d self._get_state_file_path(loadbalancer.id,"},{"line_number":237,"context_line":"                                             \u0027haproxy.pid\u0027)"},{"line_number":238,"context_line":"        sock_path \u003d self._get_state_file_path(loadbalancer.id,"},{"line_number":239,"context_line":"                                              \u0027haproxy_stats.sock\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_33e88de1","line":236,"in_reply_to":"baada198_f8f0b4fe","updated":"2014-07-21 21:09:20.000000000","message":"that became a bit of an issue, i can\u0027t remember why, but we can add it back in.  i\u0027m sure it was a minor issue","commit_id":"bd3c73192f214acc03546f70ccff5f98e1cd986b"},{"author":{"_account_id":11255,"name":"Dustin Lundquist","username":"dustin.lundquist","inactive":true},"change_message_id":"a60b9c6c2ce74b3119ded172023ae9a3b8c21204","unresolved":false,"context_lines":[{"line_number":313,"context_line":"            if \u0027members\u0027 in stats:"},{"line_number":314,"context_line":"                self._set_member_status(ctx, loadbalancer, stats[\u0027members\u0027])"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"    def _set_member_status(self, context, loadbalancer, members_stats):"},{"line_number":317,"context_line":"        for listener in loadbalancer.listeners:"},{"line_number":318,"context_line":"            if listener.default_pool:"},{"line_number":319,"context_line":"                for member in listener.default_pool.members:"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_181008ff","line":316,"updated":"2014-07-21 20:44:54.000000000","message":"This seems like pretty deep nesting, alternatively we could lookup members by id, but then we are trusting the HAProxy stats output for which load balancer\u0027s member to update.","commit_id":"bd3c73192f214acc03546f70ccff5f98e1cd986b"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"4bdd13b85f7918e176f45135a529b11fb451adac","unresolved":false,"context_lines":[{"line_number":313,"context_line":"            if \u0027members\u0027 in stats:"},{"line_number":314,"context_line":"                self._set_member_status(ctx, loadbalancer, stats[\u0027members\u0027])"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"    def _set_member_status(self, context, loadbalancer, members_stats):"},{"line_number":317,"context_line":"        for listener in loadbalancer.listeners:"},{"line_number":318,"context_line":"            if listener.default_pool:"},{"line_number":319,"context_line":"                for member in listener.default_pool.members:"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_7373e54d","line":316,"in_reply_to":"baada198_181008ff","updated":"2014-07-21 21:09:20.000000000","message":"yes i agree, i hated writing this, i was cringing.  But its kind of necessary to traverse the tree and make sure everything in the db is in sync with the backend.  If you could come with up with a better way please spend some time on it, because I do hate the way this looks.","commit_id":"bd3c73192f214acc03546f70ccff5f98e1cd986b"},{"author":{"_account_id":11255,"name":"Dustin Lundquist","username":"dustin.lundquist","inactive":true},"change_message_id":"d55a6e793df563a845864694fe7a3732ee150d49","unresolved":false,"context_lines":[{"line_number":313,"context_line":"            if \u0027members\u0027 in stats:"},{"line_number":314,"context_line":"                self._set_member_status(ctx, loadbalancer, stats[\u0027members\u0027])"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"    def _set_member_status(self, context, loadbalancer, members_stats):"},{"line_number":317,"context_line":"        for listener in loadbalancer.listeners:"},{"line_number":318,"context_line":"            if listener.default_pool:"},{"line_number":319,"context_line":"                for member in listener.default_pool.members:"}],"source_content_type":"text/x-python","patch_set":9,"id":"baada198_d6ffff64","line":316,"updated":"2014-07-29 17:54:42.000000000","message":"You could use a generator to iterate through the members of a load balancer to clean this up.","commit_id":"6fce4ad5e3f1cc860c1c46a15e4932b90984f47c"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"09ff222c9bf4f949e887d4ca95d3f0ae526893af","unresolved":false,"context_lines":[{"line_number":313,"context_line":"            if \u0027members\u0027 in stats:"},{"line_number":314,"context_line":"                self._set_member_status(ctx, loadbalancer, stats[\u0027members\u0027])"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"    def _set_member_status(self, context, loadbalancer, members_stats):"},{"line_number":317,"context_line":"        for listener in loadbalancer.listeners:"},{"line_number":318,"context_line":"            if listener.default_pool:"},{"line_number":319,"context_line":"                for member in listener.default_pool.members:"}],"source_content_type":"text/x-python","patch_set":9,"id":"baada198_f454fcc7","line":316,"in_reply_to":"baada198_d6ffff64","updated":"2014-07-29 18:13:09.000000000","message":"I\u0027ll attempt to do this once i get a chacnce","commit_id":"6fce4ad5e3f1cc860c1c46a15e4932b90984f47c"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"cf93ca0dc19eec5b8e2d6d188f9b2cca6bd60960","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        super(HaproxyNSDriver, self).__init__(plugin)"},{"line_number":107,"context_line":"        self.conf \u003d cfg.CONF"},{"line_number":108,"context_line":"        self.root_helper \u003d config.get_root_helper(self.conf)"},{"line_number":109,"context_line":"        self.state_path \u003d \u0027/\u0027.join([self.conf.haproxy.loadbalancer_state_path,"},{"line_number":110,"context_line":"                                    STATE_PATH_V2_APPEND])"},{"line_number":111,"context_line":"        try:"},{"line_number":112,"context_line":"            vif_driver \u003d importutils.import_object("}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_90fbb347","line":109,"updated":"2014-07-30 08:40:18.000000000","message":"you should use os.path.join which is os-independent","commit_id":"33e74f6e45e906d00508ee44855667c2dd2652b9"},{"author":{"_account_id":9820,"name":"Liping Mao","email":"limao@cisco.com","username":"LipingMao"},"change_message_id":"e58b153d154c21c832e4aa16f01320a9104d3c9f","unresolved":false,"context_lines":[{"line_number":115,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":116,"context_line":"                msg \u003d (_(\u0027Error importing interface driver: %s\u0027)"},{"line_number":117,"context_line":"                       % self.conf.haproxy.interface_driver)"},{"line_number":118,"context_line":"                LOG.error(msg)"},{"line_number":119,"context_line":"        self.vif_driver \u003d vif_driver"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"        # instantiate managers here"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_827422d1","line":118,"updated":"2014-07-31 06:19:52.000000000","message":"_LE here","commit_id":"33e74f6e45e906d00508ee44855667c2dd2652b9"},{"author":{"_account_id":11255,"name":"Dustin Lundquist","username":"dustin.lundquist","inactive":true},"change_message_id":"35790bd2adec0e5c5a7cadec3bd33f0aec58e8e7","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        pid_path \u003d self._get_state_file_path(loadbalancer.id,"},{"line_number":237,"context_line":"                                             \u0027haproxy.pid\u0027)"},{"line_number":238,"context_line":"        sock_path \u003d self._get_state_file_path(loadbalancer.id,"},{"line_number":239,"context_line":"                                              \u0027haproxy_stats.sock\u0027)"},{"line_number":240,"context_line":"        user_group \u003d self.conf.haproxy.user_group"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"        jinja_cfg.save_config(conf_path, loadbalancer, sock_path, user_group)"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_ae281aef","line":239,"updated":"2014-07-31 17:49:55.000000000","message":"I would like to see the pidfile and stats socket under a run directory writable by the haproxy user since we will soon be storing TLS secrets here too.","commit_id":"33e74f6e45e906d00508ee44855667c2dd2652b9"},{"author":{"_account_id":11302,"name":"Phillip Toohill","email":"phillip.toohill@rackspace.com","username":"ptoohill1"},"change_message_id":"c55595ccad5227f9d20eb989a3988200b7fc6a29","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        pid_path \u003d self._get_state_file_path(loadbalancer.id,"},{"line_number":237,"context_line":"                                             \u0027haproxy.pid\u0027)"},{"line_number":238,"context_line":"        sock_path \u003d self._get_state_file_path(loadbalancer.id,"},{"line_number":239,"context_line":"                                              \u0027haproxy_stats.sock\u0027)"},{"line_number":240,"context_line":"        user_group \u003d self.conf.haproxy.user_group"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"        jinja_cfg.save_config(conf_path, loadbalancer, sock_path, user_group)"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_ae4d739b","line":239,"in_reply_to":"baada198_ae281aef","updated":"2014-07-31 21:29:04.000000000","message":"Im making this update in the tls ref impl updates.","commit_id":"33e74f6e45e906d00508ee44855667c2dd2652b9"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"cf93ca0dc19eec5b8e2d6d188f9b2cca6bd60960","unresolved":false,"context_lines":[{"line_number":286,"context_line":""},{"line_number":287,"context_line":"            return self._parse_stats(raw_stats)"},{"line_number":288,"context_line":"        except socket.error as e:"},{"line_number":289,"context_line":"            LOG.warn(_(\u0027Error while connecting to stats socket: %s\u0027), e)"},{"line_number":290,"context_line":"            return {}"},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"    def _parse_stats(self, raw_stats):"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_f02dcfaf","line":289,"updated":"2014-07-30 08:40:18.000000000","message":"Could you use _LW() instead of _()?\n\nMore generally, you should avoid _() use and prefer _LI, _LW, _LE, _LC\n\n\nan example https://review.openstack.org/107137","commit_id":"33e74f6e45e906d00508ee44855667c2dd2652b9"},{"author":{"_account_id":9820,"name":"Liping Mao","email":"limao@cisco.com","username":"LipingMao"},"change_message_id":"e58b153d154c21c832e4aa16f01320a9104d3c9f","unresolved":false,"context_lines":[{"line_number":405,"context_line":"            lb_stats[\u0027members\u0027] \u003d self._get_servers_stats(parsed_stats)"},{"line_number":406,"context_line":"            return lb_stats"},{"line_number":407,"context_line":"        else:"},{"line_number":408,"context_line":"            LOG.warn(_(\u0027Stats socket not found for load balancer %s\u0027),"},{"line_number":409,"context_line":"                     loadbalancer.id)"},{"line_number":410,"context_line":"            return {}"}],"source_content_type":"text/x-python","patch_set":10,"id":"baada198_e2795ec6","line":408,"updated":"2014-07-31 06:19:52.000000000","message":"_LW here","commit_id":"33e74f6e45e906d00508ee44855667c2dd2652b9"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"bf6aa7d7819d473ce5835fbe69005fdef3b51634","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        HaproxySimpleService(self).start()"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    def _deploy_existing_instances(self):"},{"line_number":106,"context_line":"        ctx \u003d context.get_admin_context()"},{"line_number":107,"context_line":"        dirs \u003d [dir for dir in os.listdir(self.state_path)"},{"line_number":108,"context_line":"                if os.path.isdir(os.path.join(self.state_path, dir))]"},{"line_number":109,"context_line":"        loadbalancers \u003d [self.plugin._get_resource("}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_e7fcb341","line":106,"updated":"2014-08-03 03:47:48.000000000","message":"Can use self.admin_ctx ?","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"55a7cb014d060d16c583ab71c3c48e711566e4a5","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        HaproxySimpleService(self).start()"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    def _deploy_existing_instances(self):"},{"line_number":106,"context_line":"        ctx \u003d context.get_admin_context()"},{"line_number":107,"context_line":"        dirs \u003d [dir for dir in os.listdir(self.state_path)"},{"line_number":108,"context_line":"                if os.path.isdir(os.path.join(self.state_path, dir))]"},{"line_number":109,"context_line":"        loadbalancers \u003d [self.plugin._get_resource("}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_3b768aa3","line":106,"in_reply_to":"baada198_e7fcb341","updated":"2014-08-05 05:41:28.000000000","message":"Done","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"cd2260d388735f53d856493a51a9edf8f0ce3a72","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        HaproxySimpleService(self).start()"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    def _deploy_existing_instances(self):"},{"line_number":106,"context_line":"        ctx \u003d context.get_admin_context()"},{"line_number":107,"context_line":"        dirs \u003d [dir for dir in os.listdir(self.state_path)"},{"line_number":108,"context_line":"                if os.path.isdir(os.path.join(self.state_path, dir))]"},{"line_number":109,"context_line":"        loadbalancers \u003d [self.plugin._get_resource("}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_840dae37","line":106,"in_reply_to":"baada198_e7fcb341","updated":"2014-08-03 16:33:19.000000000","message":"ah good catch. added self.admin_ctx after this so forgot to change this.","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"bf6aa7d7819d473ce5835fbe69005fdef3b51634","unresolved":false,"context_lines":[{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    def _plug_vip_port(self, context, port):"},{"line_number":138,"context_line":"        port_dict \u003d self.plugin._core_plugin.get_port(context, port[\u0027id\u0027])"},{"line_number":139,"context_line":"        self._build_port_dict()"},{"line_number":140,"context_line":"        self.plugin._core_plugin.update_port("},{"line_number":141,"context_line":"            context,"},{"line_number":142,"context_line":"            port[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_47babf71","line":139,"updated":"2014-08-03 03:47:48.000000000","message":"Where is the dict returned by func() used ?","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"55a7cb014d060d16c583ab71c3c48e711566e4a5","unresolved":false,"context_lines":[{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    def _plug_vip_port(self, context, port):"},{"line_number":138,"context_line":"        port_dict \u003d self.plugin._core_plugin.get_port(context, port[\u0027id\u0027])"},{"line_number":139,"context_line":"        self._build_port_dict()"},{"line_number":140,"context_line":"        self.plugin._core_plugin.update_port("},{"line_number":141,"context_line":"            context,"},{"line_number":142,"context_line":"            port[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_7b6c82cf","line":139,"in_reply_to":"baada198_47babf71","updated":"2014-08-05 05:41:28.000000000","message":"Done","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"cd2260d388735f53d856493a51a9edf8f0ce3a72","unresolved":false,"context_lines":[{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    def _plug_vip_port(self, context, port):"},{"line_number":138,"context_line":"        port_dict \u003d self.plugin._core_plugin.get_port(context, port[\u0027id\u0027])"},{"line_number":139,"context_line":"        self._build_port_dict()"},{"line_number":140,"context_line":"        self.plugin._core_plugin.update_port("},{"line_number":141,"context_line":"            context,"},{"line_number":142,"context_line":"            port[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_a418f276","line":139,"in_reply_to":"baada198_47babf71","updated":"2014-08-03 16:33:19.000000000","message":"good catch on this. This was actually fixed but I think I fixed a conflict wrong.","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":9380,"name":"Sayaji Patil","email":"sayaji15@gmail.com","username":"Sayaji"},"change_message_id":"bf6aa7d7819d473ce5835fbe69005fdef3b51634","unresolved":false,"context_lines":[{"line_number":302,"context_line":"        return res_stats"},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"    def _collect_and_store_stats(self):"},{"line_number":305,"context_line":"        ctx \u003d context.get_admin_context()"},{"line_number":306,"context_line":"        for loadbalancer_id in self.deployed_loadbalancer_ids:"},{"line_number":307,"context_line":"            loadbalancer \u003d self.plugin._get_resource("},{"line_number":308,"context_line":"                ctx, self.load_balancer.model_class, loadbalancer_id)"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_87b0578e","line":305,"updated":"2014-08-03 03:47:48.000000000","message":"Same as before","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"55a7cb014d060d16c583ab71c3c48e711566e4a5","unresolved":false,"context_lines":[{"line_number":302,"context_line":"        return res_stats"},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"    def _collect_and_store_stats(self):"},{"line_number":305,"context_line":"        ctx \u003d context.get_admin_context()"},{"line_number":306,"context_line":"        for loadbalancer_id in self.deployed_loadbalancer_ids:"},{"line_number":307,"context_line":"            loadbalancer \u003d self.plugin._get_resource("},{"line_number":308,"context_line":"                ctx, self.load_balancer.model_class, loadbalancer_id)"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_bb61bad5","line":305,"in_reply_to":"baada198_87b0578e","updated":"2014-08-05 05:41:28.000000000","message":"Done","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"cd2260d388735f53d856493a51a9edf8f0ce3a72","unresolved":false,"context_lines":[{"line_number":302,"context_line":"        return res_stats"},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"    def _collect_and_store_stats(self):"},{"line_number":305,"context_line":"        ctx \u003d context.get_admin_context()"},{"line_number":306,"context_line":"        for loadbalancer_id in self.deployed_loadbalancer_ids:"},{"line_number":307,"context_line":"            loadbalancer \u003d self.plugin._get_resource("},{"line_number":308,"context_line":"                ctx, self.load_balancer.model_class, loadbalancer_id)"}],"source_content_type":"text/x-python","patch_set":12,"id":"baada198_c4132657","line":305,"in_reply_to":"baada198_87b0578e","updated":"2014-08-03 16:33:19.000000000","message":"good catch again, I will fix these in the next PS.","commit_id":"f03051be5c4e4f50ba172a40181fd5d63ec66af2"}],"neutron/services/loadbalancer/drivers/haproxy/synchronous_namespace_driver.py":[{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"4c19589f143c7542f48c74b5a71c08581920d23b","unresolved":false,"context_lines":[{"line_number":61,"context_line":"    return NS_PREFIX + namespace_id"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"class SimpleHaproxyStatsService(service.Service):"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    def __init__(self, driver):"},{"line_number":67,"context_line":"        super(SimpleHaproxyStatsService, self).__init__()"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_237c0a22","line":64,"updated":"2014-08-08 16:58:08.000000000","message":"neat.","commit_id":"8bb3194e823b54df881045f69bb727b7d1d76f87"},{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"4c19589f143c7542f48c74b5a71c08581920d23b","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        self.conf \u003d cfg.CONF"},{"line_number":83,"context_line":"        self.root_helper \u003d config.get_root_helper(self.conf)"},{"line_number":84,"context_line":"        self.state_path \u003d \u0027/\u0027.join([self.conf.haproxy.loadbalancer_state_path,"},{"line_number":85,"context_line":"                                    STATE_PATH_V2_APPEND])"},{"line_number":86,"context_line":"        if not self.conf.haproxy.interface_driver:"},{"line_number":87,"context_line":"            self.conf.haproxy.interface_driver \u003d DEFAULT_INTERFACE_DRIVER"},{"line_number":88,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_6379a22f","line":85,"updated":"2014-08-08 16:58:08.000000000","message":"os.path.join","commit_id":"8bb3194e823b54df881045f69bb727b7d1d76f87"},{"author":{"_account_id":6951,"name":"Brandon Logan","email":"brandon.logan@rackspace.com","username":"brandon-logan"},"change_message_id":"d2520e3476e8ec9a05ca95f6302b5dbcd1ef3a7b","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        self.conf \u003d cfg.CONF"},{"line_number":83,"context_line":"        self.root_helper \u003d config.get_root_helper(self.conf)"},{"line_number":84,"context_line":"        self.state_path \u003d \u0027/\u0027.join([self.conf.haproxy.loadbalancer_state_path,"},{"line_number":85,"context_line":"                                    STATE_PATH_V2_APPEND])"},{"line_number":86,"context_line":"        if not self.conf.haproxy.interface_driver:"},{"line_number":87,"context_line":"            self.conf.haproxy.interface_driver \u003d DEFAULT_INTERFACE_DRIVER"},{"line_number":88,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":13,"id":"baada198_df7afaee","line":85,"in_reply_to":"baada198_6379a22f","updated":"2014-08-12 00:29:41.000000000","message":"Done","commit_id":"8bb3194e823b54df881045f69bb727b7d1d76f87"}],"neutron/tests/unit/services/loadbalancer/drivers/haproxy/test_synchronous_driver.py":[{"author":{"_account_id":8645,"name":"Trinath Somanchi","email":"trinath.somanchi@freescale.com","username":"trinaths"},"change_message_id":"3f867afde8cb4a33e5b465a107e224b26a9c3135","unresolved":false,"context_lines":[{"line_number":268,"context_line":"    def test_plug_gw_in_host_routes(self):"},{"line_number":269,"context_line":"        fixed_ips \u003d [data_models.IPAllocation(ip_address\u003d\u002710.0.0.2\u0027,"},{"line_number":270,"context_line":"                                              subnet_id\u003d\u0027subnet_id_1\u0027,"},{"line_number":271,"context_line":"                                              network_id\u003d\u0027network_id_1\u0027)]"},{"line_number":272,"context_line":"        fixed_ips[0].subnet \u003d {\u0027cidr\u0027: \u002710.0.0.0/24\u0027, \u0027gateway_ip\u0027: \u002710.0.0.1\u0027}"},{"line_number":273,"context_line":"        test_port \u003d data_models.Port(id\u003d\u0027port_id\u0027, network_id\u003d\u0027net_id\u0027,"},{"line_number":274,"context_line":"                                     mac_address\u003d\u0027mac_addr\u0027,"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_907be57a","line":271,"updated":"2014-08-25 08:37:01.000000000","message":"rather than having data_models.IPALLOCATION for all the defs here. It would remove duplicates here. Ditto for all below.","commit_id":"b62bd400efadd8dd5410eefd1df6befe449f7c54"}]}
