)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"708b5716c2307b8109b77e2b92a3398df9435213","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"After oslo.messaging port is done, we\u0027ll need to initialize RPC layer"},{"line_number":10,"context_line":"from all RPC agents. We\u0027ll put initialization into parse() function, so"},{"line_number":11,"context_line":"the first step for migration is to make agents use it."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"blueprint oslo-messaging"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"1ae5cdf2_084f6bbf","line":11,"updated":"2014-06-09 22:54:58.000000000","message":"initializing rpc in parse() seems awkward...\n\ncan you provide a link to the api documentation?\ni want to update ofagent\u0027s main module, which is currently maintained externally.\nhttps://github.com/osrg/ryu/blob/master/ryu/cmd/ofa_neutron_agent.py","commit_id":"0f2dfd149e7f467a94d38371a6e764ce56a24e81"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"f1553c17ebb90223e629843c42c431d9c0af8160","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"After oslo.messaging port is done, we\u0027ll need to initialize RPC layer"},{"line_number":10,"context_line":"from all RPC agents. We\u0027ll put initialization into parse() function, so"},{"line_number":11,"context_line":"the first step for migration is to make agents use it."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"blueprint oslo-messaging"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"1ae5cdf2_1a26bfba","line":11,"in_reply_to":"1ae5cdf2_084f6bbf","updated":"2014-06-10 08:39:17.000000000","message":"parse() is called by each agent/service. We could instead put call to rpc.init() in each main(). Do you think it\u0027s better somehow? The same technics is applied in other projects, f.e. see nova: https://github.com/openstack/nova/blob/master/nova/config.py#L38\n\nWhich API do you need? If this patch will go in, you\u0027ll need to migrate from using cfg.CONF object explicitly to parsing config files thru neutron.common.config.parse()","commit_id":"0f2dfd149e7f467a94d38371a6e764ce56a24e81"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"dd14916e5d5cfe0196535b7e3ee276cb018352d5","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"After oslo.messaging port is done, we\u0027ll need to initialize RPC layer"},{"line_number":10,"context_line":"from all RPC agents. We\u0027ll put initialization into parse() function, so"},{"line_number":11,"context_line":"the first step for migration is to make agents use it."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"blueprint oslo-messaging"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"1ae5cdf2_da0297b3","line":11,"in_reply_to":"1ae5cdf2_1a26bfba","updated":"2014-06-10 08:49:29.000000000","message":"if it contains misc initializations, how about naming the function to imply that?\nparse() sounds like just parsing to me.\n\ndocumentation i want see is something stating \"any programs using XXX should call parse() during startup\"","commit_id":"0f2dfd149e7f467a94d38371a6e764ce56a24e81"}],"neutron/agent/l3_agent.py":[{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"653073d841196795bbcb7565ba04334df439020a","unresolved":false,"context_lines":[{"line_number":980,"context_line":"    config.register_root_helper(conf)"},{"line_number":981,"context_line":"    conf.register_opts(interface.OPTS)"},{"line_number":982,"context_line":"    conf.register_opts(external_process.OPTS)"},{"line_number":983,"context_line":"    common_config.parse(sys.arg[1:])"},{"line_number":984,"context_line":"    config.setup_logging(conf)"},{"line_number":985,"context_line":"    server \u003d neutron_service.Service.create("},{"line_number":986,"context_line":"        binary\u003d\u0027neutron-l3-agent\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ae5cdf2_5eb8d6c7","line":983,"updated":"2014-06-04 19:52:26.000000000","message":"typo: sys.argv","commit_id":"de3168d245a846f7625993d9c266733a34f473fa"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"80dfefe4545c52b565d0120aea6d802f03fe8f67","unresolved":false,"context_lines":[{"line_number":980,"context_line":"    config.register_root_helper(conf)"},{"line_number":981,"context_line":"    conf.register_opts(interface.OPTS)"},{"line_number":982,"context_line":"    conf.register_opts(external_process.OPTS)"},{"line_number":983,"context_line":"    common_config.parse(sys.arg[1:])"},{"line_number":984,"context_line":"    config.setup_logging(conf)"},{"line_number":985,"context_line":"    server \u003d neutron_service.Service.create("},{"line_number":986,"context_line":"        binary\u003d\u0027neutron-l3-agent\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ae5cdf2_feb95d16","line":983,"in_reply_to":"1ae5cdf2_5eb8d6c7","updated":"2014-06-06 14:07:41.000000000","message":"Done","commit_id":"de3168d245a846f7625993d9c266733a34f473fa"}],"neutron/tests/unit/bigswitch/test_restproxy_agent.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"683077fe18acd311286dcfa60681960615a9af6d","unresolved":false,"context_lines":[{"line_number":169,"context_line":"            mock.patch(AGENTMOD + \u0027.config.init\u0027),"},{"line_number":170,"context_line":"            mock.patch(NEUTRONCFG),"},{"line_number":171,"context_line":"            mock.patch(PLCONFIG),"},{"line_number":172,"context_line":"        ) as (mock_conf, mock_parse, mock_log_conf, mock_pluginconf):"},{"line_number":173,"context_line":"            self.mod_agent.main()"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"        mock_log_conf.assert_has_calls(["}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_63a09a90","line":172,"updated":"2014-06-12 16:54:29.000000000","message":"it actually should be mock_init now. I\u0027ll update in the next update if needed.","commit_id":"a2c2740e95140a03fdd94dce8813966f9c6741c9"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"19c528cbe39e84b4c623198f753f278b6ca7e91b","unresolved":false,"context_lines":[{"line_number":169,"context_line":"            mock.patch(AGENTMOD + \u0027.config.init\u0027),"},{"line_number":170,"context_line":"            mock.patch(NEUTRONCFG),"},{"line_number":171,"context_line":"            mock.patch(PLCONFIG),"},{"line_number":172,"context_line":"        ) as (mock_conf, mock_parse, mock_log_conf, mock_pluginconf):"},{"line_number":173,"context_line":"            self.mod_agent.main()"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"        mock_log_conf.assert_has_calls(["}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_ecebb210","line":172,"in_reply_to":"1ae5cdf2_63a09a90","updated":"2014-06-12 21:07:56.000000000","message":"I know it doesn\u0027t affect the test, but I would like to see it updated, if you don\u0027t mind.","commit_id":"a2c2740e95140a03fdd94dce8813966f9c6741c9"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bfec48973a6da4229c9c49219da655cf1084cc1d","unresolved":false,"context_lines":[{"line_number":169,"context_line":"            mock.patch(AGENTMOD + \u0027.config.init\u0027),"},{"line_number":170,"context_line":"            mock.patch(NEUTRONCFG),"},{"line_number":171,"context_line":"            mock.patch(PLCONFIG),"},{"line_number":172,"context_line":"        ) as (mock_conf, mock_parse, mock_log_conf, mock_pluginconf):"},{"line_number":173,"context_line":"            self.mod_agent.main()"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"        mock_log_conf.assert_has_calls(["}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_cfe0a828","line":172,"in_reply_to":"1ae5cdf2_ecebb210","updated":"2014-06-12 21:32:14.000000000","message":"Done","commit_id":"a2c2740e95140a03fdd94dce8813966f9c6741c9"}]}
