)]}'
{"neutron/agent/l3/agent.py":[{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"613a9ac6808c7a04becfbd24fdac558258e5f7c2","unresolved":false,"context_lines":[{"line_number":680,"context_line":"        fip_ip \u003d fip[\u0027floating_ip_address\u0027]"},{"line_number":681,"context_line":"        ip_cidr \u003d common_utils.ip_to_cidr(fip_ip)"},{"line_number":682,"context_line":""},{"line_number":683,"context_line":"        if ri.is_ha:"},{"line_number":684,"context_line":"            self._add_vip(ri, ip_cidr, interface_name)"},{"line_number":685,"context_line":"        else:"},{"line_number":686,"context_line":"            net \u003d netaddr.IPNetwork(ip_cidr)"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa81d914_3e600c32","line":683,"updated":"2015-01-28 19:03:34.000000000","message":"Yikes!  How\u0027d I miss that?","commit_id":"7fa77fa4c755fbc001f343c655367ac97097bdb1"}],"neutron/agent/l3/ha.py":[{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"4b9bb7d44251ecba11cf1bdf669461d7830392af","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"HA_DEV_PREFIX \u003d \u0027ha-\u0027"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"OPTS \u003d ["},{"line_number":31,"context_line":"    cfg.StrOpt(\u0027ha_confs_path\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_52585d56","line":28,"updated":"2015-01-28 16:10:39.000000000","message":"This is duplicated for now in ha_router.py.  I imagine that this patch should finish the job and remove the need for this here.","commit_id":"f1e9f0519b5371ff4a10b235e98a6ee295eeaa54"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"4b9bb7d44251ecba11cf1bdf669461d7830392af","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"HA_DEV_PREFIX \u003d \u0027ha-\u0027"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"OPTS \u003d ["},{"line_number":31,"context_line":"    cfg.StrOpt(\u0027ha_confs_path\u0027,"},{"line_number":32,"context_line":"               default\u003d\u0027$state_path/ha_confs\u0027,"},{"line_number":33,"context_line":"               help\u003d_(\u0027Location to store keepalived/conntrackd \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_b236f901","line":30,"updated":"2015-01-28 16:10:39.000000000","message":"I imagine this would stay here.","commit_id":"f1e9f0519b5371ff4a10b235e98a6ee295eeaa54"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"4b9bb7d44251ecba11cf1bdf669461d7830392af","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        self._init_ha_conf_path()"},{"line_number":50,"context_line":"        super(AgentMixin, self).__init__(host)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def _init_ha_conf_path(self):"},{"line_number":53,"context_line":"        ha_full_path \u003d os.path.dirname(\"/%s/\" % self.conf.ha_confs_path)"},{"line_number":54,"context_line":"        if not os.path.isdir(ha_full_path):"},{"line_number":55,"context_line":"            os.makedirs(ha_full_path, 0o755)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_f249518c","line":52,"updated":"2015-01-28 16:10:39.000000000","message":"This method might just stay in the agent.","commit_id":"f1e9f0519b5371ff4a10b235e98a6ee295eeaa54"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"4b9bb7d44251ecba11cf1bdf669461d7830392af","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    def get_ha_device_name(self, port_id):"},{"line_number":102,"context_line":"        # TODO(Carl) Not sure yet to do with self.driver.  Does RouterInfo need"},{"line_number":103,"context_line":"        # to be initialized with it so that the router class can have it?"},{"line_number":104,"context_line":"        return (HA_DEV_PREFIX + port_id)[:self.driver.DEV_NAME_LEN]"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def ha_network_added(self, ri, network_id, port_id, internal_cidr,"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_7468eeba","line":103,"updated":"2015-01-28 16:10:39.000000000","message":"So, here is where I got stuck yesterday afternoon when I stopped.  What to do about self.driver?  The agent initializes the driver but ultimately only the router classes need it (when all the refactoring is done).\n\nSo, do we still have the agent initialize the driver and pass it to the routers when they are initialized?  Or, do the routers initialize the driver on their own leaving the agent out of it completely?","commit_id":"f1e9f0519b5371ff4a10b235e98a6ee295eeaa54"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"4b9bb7d44251ecba11cf1bdf669461d7830392af","unresolved":false,"context_lines":[{"line_number":118,"context_line":"                           prefix\u003dHA_DEV_PREFIX)"},{"line_number":119,"context_line":"        ri.ha_port \u003d None"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"    def get_ha_routers(self):"},{"line_number":122,"context_line":"        return (router for router in self.router_info.values() if router.is_ha)"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    @periodic_task.periodic_task"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa81d914_92181586","line":121,"updated":"2015-01-28 16:10:39.000000000","message":"I imagine these would stay here too.","commit_id":"f1e9f0519b5371ff4a10b235e98a6ee295eeaa54"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"d614f43d891d2582be3e8c01cc93a20bfb85becc","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        self._init_ha_conf_path()"},{"line_number":49,"context_line":"        super(AgentMixin, self).__init__(host)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    def _init_ha_conf_path(self):"},{"line_number":52,"context_line":"        ha_full_path \u003d os.path.dirname(\"/%s/\" % self.conf.ha_confs_path)"},{"line_number":53,"context_line":"        if not os.path.isdir(ha_full_path):"},{"line_number":54,"context_line":"            os.makedirs(ha_full_path, 0o755)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa81d914_6f93aca3","line":51,"updated":"2015-01-28 19:47:35.000000000","message":"This will likely stay in the agent.","commit_id":"abc04ca1d1ace87d194df60c223dede6a52d76a9"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"d614f43d891d2582be3e8c01cc93a20bfb85becc","unresolved":false,"context_lines":[{"line_number":60,"context_line":"                      ri.router_id)"},{"line_number":61,"context_line":"            return"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        self._set_subnet_info(ha_port)"},{"line_number":64,"context_line":"        ri.ha_network_added(ha_port[\u0027network_id\u0027],"},{"line_number":65,"context_line":"                            ha_port[\u0027id\u0027],"},{"line_number":66,"context_line":"                            ha_port[\u0027ip_cidr\u0027],"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa81d914_8fb9c030","line":63,"updated":"2015-01-28 19:47:35.000000000","message":"This method is stuck here for now because it calls _set_subnet_info from the base class.  Moving that out would be out of the scope of this patch.  So, this patch leaves these two methods in the agent mixin.  I think this is fine and we\u0027ll decide what they\u0027re ultimate fate will be later.\n\n  process_ha_router_added\n  process_ha_router_removed","commit_id":"abc04ca1d1ace87d194df60c223dede6a52d76a9"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"d614f43d891d2582be3e8c01cc93a20bfb85becc","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    def process_ha_router_removed(self, ri):"},{"line_number":74,"context_line":"        ri.ha_network_removed()"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def get_ha_routers(self):"},{"line_number":77,"context_line":"        return (router for router in self.router_info.values() if router.is_ha)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    @periodic_task.periodic_task"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa81d914_8fbe20fe","line":76,"updated":"2015-01-28 19:47:35.000000000","message":"These will likely stay in the agent.","commit_id":"abc04ca1d1ace87d194df60c223dede6a52d76a9"}],"neutron/agent/l3/ha_router.py":[{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"2292d9a78b5a7a164dfeedb75710e13e676fd275","unresolved":false,"context_lines":[{"line_number":74,"context_line":"            namespace\u003dself.ns_name,"},{"line_number":75,"context_line":"            root_helper\u003dself.root_helper)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    def _init_keepalived_manager(self, ri):"},{"line_number":78,"context_line":"        # TODO(Carl) This looks a bit funny, doesn\u0027t it?"},{"line_number":79,"context_line":"        self.keepalived_manager \u003d self.get_keepalived_manager()"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa81d914_5069f223","line":77,"updated":"2015-01-29 18:38:44.000000000","message":"Somehow, I missed removing the ri argument from this definition.","commit_id":"abc04ca1d1ace87d194df60c223dede6a52d76a9"}]}
