)]}'
{"neutron/cmd/usage_audit.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"e7f8d3680c4134482532f8e907ce1ae0776f5cd5","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    cxt \u003d context.get_admin_context()"},{"line_number":35,"context_line":"    plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":36,"context_line":"    l3_plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":37,"context_line":"            constants.L3_ROUTER_NAT)"},{"line_number":38,"context_line":"    notifier \u003d n_rpc.get_notifier(\u0027network\u0027)"},{"line_number":39,"context_line":"    for network in plugin.get_networks(cxt):"}],"source_content_type":"text/x-python","patch_set":2,"id":"da20952f_073af436","line":36,"updated":"2015-08-26 21:36:48.000000000","message":"@Assaf,\n\nThis should be safe to do even with a monolithic core plugin. The Neutron manager will just return a reference to the core plugin for those services.\nhttps://github.com/openstack/neutron/blob/381cac9139096bfef49952f3fd67e19451160b61/neutron/manager.py#L156-L167","commit_id":"2bded62d6a6a141e610a06e5f40bb28c0b26da5c"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"bbfb2311176eb3f108c85d4e17f6de45574dc203","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    cxt \u003d context.get_admin_context()"},{"line_number":35,"context_line":"    plugin \u003d manager.NeutronManager.get_plugin()"},{"line_number":36,"context_line":"    l3_plugin \u003d manager.NeutronManager.get_service_plugins().get("},{"line_number":37,"context_line":"            constants.L3_ROUTER_NAT)"},{"line_number":38,"context_line":"    notifier \u003d n_rpc.get_notifier(\u0027network\u0027)"},{"line_number":39,"context_line":"    for network in plugin.get_networks(cxt):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_8fbdae04","line":36,"updated":"2015-08-08 23:47:39.000000000","message":"The get_routers and get_floatingips calls below should use either l3_plugin or plugin conditionally according to hasattr or some similar solution. Not all plugins use the L3 service plugin for L3 methods.","commit_id":"2bded62d6a6a141e610a06e5f40bb28c0b26da5c"}]}
