)]}'
{"neutron/services/vpn/service_drivers/__init__.py":[{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"54bc6d8f44d20b003455e0e2be4ca9e53a5e7d31","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        except AttributeError:"},{"line_number":81,"context_line":"            self._l3_plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":82,"context_line":"                constants.L3_ROUTER_NAT)"},{"line_number":83,"context_line":"            return self._l3_plugin"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def _agent_notification(self, context, method, router_id,"},{"line_number":86,"context_line":"                            version\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_2682ad00","line":83,"updated":"2014-08-26 10:23:13.000000000","message":"See comments in neutron/services/vpn/service_drivers/cisco_ipsec.py","commit_id":"6f289aedcfc75410d20aa150e3680f81508b3845"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"d656a2717f71baf7eb50208c9ccfb14866ce2064","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        except AttributeError:"},{"line_number":81,"context_line":"            self._l3_plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":82,"context_line":"                constants.L3_ROUTER_NAT)"},{"line_number":83,"context_line":"            return self._l3_plugin"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def _agent_notification(self, context, method, router_id,"},{"line_number":86,"context_line":"                            version\u003dNone, **kwargs):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_97056916","line":83,"in_reply_to":"1abeadc6_2682ad00","updated":"2014-08-26 11:39:55.000000000","message":"Good point about making this common. I wanted to do lazy init, instead of having places lookup the L3 plugin each time it is needed. I\u0027ve seen, and commented o,n other L3 services about doing lazy init.\n\nI created another bug, 1361605, addressing creating of a common place/method to do this lazy init.","commit_id":"6f289aedcfc75410d20aa150e3680f81508b3845"}],"neutron/services/vpn/service_drivers/cisco_ipsec.py":[{"author":{"_account_id":10361,"name":"Sridhar Ramaswamy","username":"srics","inactive":true},"change_message_id":"fe83cf1062a3adc7127ad07bc2e3d3b8352d098a","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.services.vpn.common import topics"},{"line_number":21,"context_line":"from neutron.services.vpn import service_drivers"},{"line_number":22,"context_line":"from neutron.services.vpn.service_drivers import ("},{"line_number":23,"context_line":"    cisco_cfg_loader as workaround)"},{"line_number":24,"context_line":"from neutron.services.vpn.service_drivers import cisco_csr_db as csr_id_map"},{"line_number":25,"context_line":"from neutron.services.vpn.service_drivers import cisco_validator"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7ac7a964_36c47f5e","line":23,"updated":"2014-08-15 17:35:57.000000000","message":"While I understand this solution is an interim workaround naming the keyword as \"workaround\" seems odd. I\u0027d suggest to keep the name as such - cisco_cfg_loader - and instead leave a comment mentioning the \u0027workaround\u0027 nature of this code.","commit_id":"536b21b1bee5a73dde3acffcc00668e791d0a9f8"},{"author":{"_account_id":10361,"name":"Sridhar Ramaswamy","username":"srics","inactive":true},"change_message_id":"1ea5d2a2a2195c2fa9965b03115ef82edc183276","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.services.vpn.common import topics"},{"line_number":21,"context_line":"from neutron.services.vpn import service_drivers"},{"line_number":22,"context_line":"from neutron.services.vpn.service_drivers import ("},{"line_number":23,"context_line":"    cisco_cfg_loader as workaround)"},{"line_number":24,"context_line":"from neutron.services.vpn.service_drivers import cisco_csr_db as csr_id_map"},{"line_number":25,"context_line":"from neutron.services.vpn.service_drivers import cisco_validator"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1abeadc6_af31400d","line":23,"in_reply_to":"1abeadc6_ae523811","updated":"2014-08-18 19:06:06.000000000","message":"That definitely sounds better.","commit_id":"536b21b1bee5a73dde3acffcc00668e791d0a9f8"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"ac66f0b8de46bb21d270d858047eb5b9de3c682f","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from neutron.services.vpn.common import topics"},{"line_number":21,"context_line":"from neutron.services.vpn import service_drivers"},{"line_number":22,"context_line":"from neutron.services.vpn.service_drivers import ("},{"line_number":23,"context_line":"    cisco_cfg_loader as workaround)"},{"line_number":24,"context_line":"from neutron.services.vpn.service_drivers import cisco_csr_db as csr_id_map"},{"line_number":25,"context_line":"from neutron.services.vpn.service_drivers import cisco_validator"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1abeadc6_ae523811","line":23,"in_reply_to":"7ac7a964_36c47f5e","updated":"2014-08-18 11:22:46.000000000","message":"I wanted to really make it obvious that the method calls (L73, L11) were calling interim solutions using config vs L3 plugin. I was also thinking of naming the import \u0027via_cfg_file\u0027, so that the call would be via_cfg_file.get_host_for_router(), for example. Maybe that is better?","commit_id":"536b21b1bee5a73dde3acffcc00668e791d0a9f8"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"54bc6d8f44d20b003455e0e2be4ca9e53a5e7d31","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        except AttributeError:"},{"line_number":55,"context_line":"            self._l3_plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":56,"context_line":"                constants.L3_ROUTER_NAT)"},{"line_number":57,"context_line":"            return self._l3_plugin"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    def create_rpc_dispatcher(self):"},{"line_number":60,"context_line":"        return n_rpc.PluginRpcDispatcher([self])"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_4646c924","line":57,"updated":"2014-08-26 10:23:13.000000000","message":"This function is a replica of the function you added in BaseIPsecVpnAgentApi would this be better moved into a L3PluginProperty mixin? \nThis seems like something that is likely to be reused elsewhere and a mixin will save duplicating the code.","commit_id":"6f289aedcfc75410d20aa150e3680f81508b3845"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"d656a2717f71baf7eb50208c9ccfb14866ce2064","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        except AttributeError:"},{"line_number":55,"context_line":"            self._l3_plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":56,"context_line":"                constants.L3_ROUTER_NAT)"},{"line_number":57,"context_line":"            return self._l3_plugin"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    def create_rpc_dispatcher(self):"},{"line_number":60,"context_line":"        return n_rpc.PluginRpcDispatcher([self])"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_17f3190b","line":57,"in_reply_to":"1abeadc6_4646c924","updated":"2014-08-26 11:39:55.000000000","message":"Actually, this callback class doesn\u0027t need this yet (it is needed when using L3 router plugin later). Also, I can get it from self.driver. Will pull this from the code.","commit_id":"6f289aedcfc75410d20aa150e3680f81508b3845"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"54bc6d8f44d20b003455e0e2be4ca9e53a5e7d31","unresolved":false,"context_lines":[{"line_number":146,"context_line":"        if self._l3_plugin is None:"},{"line_number":147,"context_line":"            self._l3_plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":148,"context_line":"                constants.L3_ROUTER_NAT)"},{"line_number":149,"context_line":"        return self._l3_plugin"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    @property"},{"line_number":152,"context_line":"    def service_type(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_462b2930","line":149,"updated":"2014-08-26 10:23:13.000000000","message":"Similar to above function, if you created the L3PluginProperty mixin then it could be extended to deal with this case too.","commit_id":"6f289aedcfc75410d20aa150e3680f81508b3845"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"d656a2717f71baf7eb50208c9ccfb14866ce2064","unresolved":false,"context_lines":[{"line_number":146,"context_line":"        if self._l3_plugin is None:"},{"line_number":147,"context_line":"            self._l3_plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":148,"context_line":"                constants.L3_ROUTER_NAT)"},{"line_number":149,"context_line":"        return self._l3_plugin"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    @property"},{"line_number":152,"context_line":"    def service_type(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_77ac4d36","line":149,"in_reply_to":"1abeadc6_462b2930","updated":"2014-08-26 11:39:55.000000000","message":"This too, isn\u0027t needed, as I\u0027ve got it in the base class. Will pull this.","commit_id":"6f289aedcfc75410d20aa150e3680f81508b3845"}]}
