)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"e399380a91854842597b27aef8891b32ec2153df","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Ultimately, it will only be the routers that need access to the"},{"line_number":10,"context_line":"interface driver and the agent won\u0027t need to use it for anything."},{"line_number":11,"context_line":"However, it still makes sense for the agent to initialize it once and"},{"line_number":12,"context_line":"pass it to each of the routers as they\u0027re created."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Multiple patches with multiple authors will be created to depend on"},{"line_number":15,"context_line":"this addition."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa81d914_43608a32","line":12,"updated":"2015-01-28 17:54:39.000000000","message":"This might be a point of discussion.  An alternative might be for each router to get the interface driver on its own.  I just don\u0027t think that is necessary.  I\u0027m okay with the agent initializing the driver and passing it to the routers.","commit_id":"47ddd2cc03528d9bd66a18d8fcc74ae26aa83497"}],"neutron/agent/l3/agent.py":[{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"cdd3da5302075a1dcead80eaab9e990d93ffc73f","unresolved":false,"context_lines":[{"line_number":358,"context_line":"        }"},{"line_number":359,"context_line":""},{"line_number":360,"context_line":"        if router.get(\u0027distributed\u0027):"},{"line_number":361,"context_line":"            return dvr_router.DvrRouter(*args, **kwargs)"},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"        if router.get(\u0027ha\u0027):"},{"line_number":364,"context_line":"            return ha_router.HaRouter(*args, **kwargs)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa81d914_c6f38c9d","line":361,"updated":"2015-01-29 04:25:46.000000000","message":"*args is never populated.  For these calls it does not have to exist.  Additionally, we could reduce the number of return calls:  Consider changing lines 349-366 to:\n\nklass \u003d legacy_router.LegacyRouter\n\nif router.get(\u0027distributed\u0027):\n    klass \u003d dvr_router.DvrRouter\nelif router.get(\u0027ha\u0027):\n    klass \u003d ha_router.HaRouter\n\nreturn klass(\n    router_id\u003drouter_id,\n    root_helper\u003dself.root_helper,\n    ...\n)","commit_id":"47ddd2cc03528d9bd66a18d8fcc74ae26aa83497"}]}
