)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"02baa21e3ecc7d30f3fd963a49629de88543a548","unresolved":false,"context_lines":[{"line_number":14,"context_line":"parameters added."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"* dhcp_agent_keep_reply_with_admin_state_down"},{"line_number":17,"context_line":"* l3_agent_keep_reply_with_admin_state_down"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"If the parameter is True, existing services on agents with admin_state_up"},{"line_number":20,"context_line":"False keep available. Scheduling a new service to the agent with"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a961159_44b2f996","line":17,"updated":"2015-01-15 05:06:01.000000000","message":"DocImpact?","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"45bfff53f32a3b36910e9a4083d19e1befbc2a5c","unresolved":false,"context_lines":[{"line_number":14,"context_line":"parameters added."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"* dhcp_agent_keep_reply_with_admin_state_down"},{"line_number":17,"context_line":"* l3_agent_keep_reply_with_admin_state_down"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"If the parameter is True, existing services on agents with admin_state_up"},{"line_number":20,"context_line":"False keep available. Scheduling a new service to the agent with"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a961159_5f9ac262","line":17,"in_reply_to":"3a961159_44b2f996","updated":"2015-01-15 05:44:37.000000000","message":"it is not necessary since they affects only auto generation from help text.","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"872aa8b5a0e4a2453ebc963e622b97ee83d13564","unresolved":false,"context_lines":[{"line_number":13,"context_line":"To keep current behavior available the following configuration"},{"line_number":14,"context_line":"parameter added."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"* agent_keep_services_with_admin_state_down"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"If the parameter is True, existing services on agents with admin_state_up"},{"line_number":19,"context_line":"False keep available. Scheduling a new service to the agent with"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"da86d52c_a66ea4c7","line":16,"updated":"2015-02-09 19:33:46.000000000","message":"you should add a DocImpact flag","commit_id":"0d44fa474730368952a29fcef054dff264a6f12d"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"24a6e6a07c1988577f5263c909dd3f51d1fa153c","unresolved":false,"context_lines":[{"line_number":13,"context_line":"To keep current behavior available the following configuration"},{"line_number":14,"context_line":"parameter added."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"* agent_keep_services_with_admin_state_down"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"If the parameter is True, existing services on agents with admin_state_up"},{"line_number":19,"context_line":"False keep available. Scheduling a new service to the agent with"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"da86d52c_246d479a","line":16,"in_reply_to":"da86d52c_a66ea4c7","updated":"2015-02-09 22:45:40.000000000","message":"I have submitted a fix adding to a configuration option in the past. The conclusion at that time was that DocImpact is not necessary because it only affects auto-generation document from help text in the code.","commit_id":"0d44fa474730368952a29fcef054dff264a6f12d"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"872aa8b5a0e4a2453ebc963e622b97ee83d13564","unresolved":false,"context_lines":[{"line_number":16,"context_line":"* agent_keep_services_with_admin_state_down"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"If the parameter is True, existing services on agents with admin_state_up"},{"line_number":19,"context_line":"False keep available. Scheduling a new service to the agent with"},{"line_number":20,"context_line":"admin_state_up False is not available regardless of this parameter but"},{"line_number":21,"context_line":"remove a service from the agent is OK. The default of the parameter"},{"line_number":22,"context_line":"is False (current behavior)."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"da86d52c_6682ec53","line":19,"updated":"2015-02-09 19:33:46.000000000","message":"So what is disabled when you set adim_state_up \u003d\u003d False with agent_keep_services_with_admin_state_down \u003d\u003d True?","commit_id":"0d44fa474730368952a29fcef054dff264a6f12d"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"24a6e6a07c1988577f5263c909dd3f51d1fa153c","unresolved":false,"context_lines":[{"line_number":16,"context_line":"* agent_keep_services_with_admin_state_down"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"If the parameter is True, existing services on agents with admin_state_up"},{"line_number":19,"context_line":"False keep available. Scheduling a new service to the agent with"},{"line_number":20,"context_line":"admin_state_up False is not available regardless of this parameter but"},{"line_number":21,"context_line":"remove a service from the agent is OK. The default of the parameter"},{"line_number":22,"context_line":"is False (current behavior)."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"da86d52c_c4dd4b44","line":19,"in_reply_to":"da86d52c_6682ec53","updated":"2015-02-09 22:45:40.000000000","message":"Scheduling is disabled.\n\nI will try to make the sentence clearer.","commit_id":"0d44fa474730368952a29fcef054dff264a6f12d"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"bdc17f8638295f8c2fb279079bdd62fbe29fb2bd","unresolved":false,"context_lines":[{"line_number":12,"context_line":"False keep available."},{"line_number":13,"context_line":"To keep current behavior available the following configuration"},{"line_number":14,"context_line":"parameter added."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"* agent_keep_services_with_admin_state_down"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"If the parameter is True, existing services on agents with admin_state_up"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"9a80dd14_a141283b","line":15,"updated":"2015-03-05 14:20:46.000000000","message":"I\u0027d rather we be consistent with Nova and Cinder here. In Nova you can enable/disable a service and existing resources are not deleted. In Neutron you can set the admin_state_up for an agent and it deletes all resources on that agent. I propose we make a non-backwards-compatible change for here for the better. Drop this optional conf value and change the default, existing behavior of admin_state_up for agents to be consistent with other projects.","commit_id":"a65091b8115ccf39f9c8f44d4fff4d3aece0878f"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"8b2dfcac01fa5e70010ab5a7f0dbd3c7787a2f70","unresolved":false,"context_lines":[{"line_number":12,"context_line":"False keep available."},{"line_number":13,"context_line":"To keep current behavior available the following configuration"},{"line_number":14,"context_line":"parameter added."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"* agent_keep_services_with_admin_state_down"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"If the parameter is True, existing services on agents with admin_state_up"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"9a80dd14_2a3a5636","line":15,"in_reply_to":"9a80dd14_a141283b","updated":"2015-03-05 22:19:23.000000000","message":"Thank you for the comment Assaf.\n\nI\u0027d like to hear core reviewer\u0027s opinion.","commit_id":"a65091b8115ccf39f9c8f44d4fff4d3aece0878f"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"c17f1388c8247cbf968895faa2c1be90ef057e7b","unresolved":false,"context_lines":[{"line_number":23,"context_line":"The default of the parameter is False (current behavior)."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Change-Id: Ifba606a5c1f3f07d717c7695a7a64e16238c2057"},{"line_number":26,"context_line":"Closes-Bug: #1408488"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"ba7be1f8_e4afde7b","line":26,"updated":"2015-02-27 11:01:43.000000000","message":"needs a DocImpact tag for the new cfg value","commit_id":"a65091b8115ccf39f9c8f44d4fff4d3aece0878f"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"0b85dc38f201f4a78c64443f6ff1019fa51d1b3f","unresolved":false,"context_lines":[{"line_number":23,"context_line":"The default of the parameter is False (current behavior)."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Change-Id: Ifba606a5c1f3f07d717c7695a7a64e16238c2057"},{"line_number":26,"context_line":"Closes-Bug: #1408488"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"ba7be1f8_6ccabe1b","line":26,"in_reply_to":"ba7be1f8_e4afde7b","updated":"2015-03-02 03:15:51.000000000","message":"I have submitted a fix adding to a configuration option in the past. The conclusion at that time was that DocImpact is not necessary because it only affects auto-generation document from help text in the code.","commit_id":"a65091b8115ccf39f9c8f44d4fff4d3aece0878f"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"37718dbf997dc6ca117e0b19ea159d269fd28727","unresolved":false,"context_lines":[{"line_number":21,"context_line":"i.e. admin_state_up: False means to stop automatic scheduling under the"},{"line_number":22,"context_line":"parameter is True."},{"line_number":23,"context_line":"The default of the parameter is False (current behavior)."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Change-Id: Ifba606a5c1f3f07d717c7695a7a64e16238c2057"},{"line_number":26,"context_line":"Closes-Bug: #1408488"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"fa963961_136333b3","line":24,"updated":"2015-03-26 17:59:18.000000000","message":"DocImpact since there is a new config value","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"5cffa215961ae759a1fa3b517acf686c87a51fc4","unresolved":false,"context_lines":[{"line_number":21,"context_line":"i.e. admin_state_up: False means to stop automatic scheduling under the"},{"line_number":22,"context_line":"parameter is True."},{"line_number":23,"context_line":"The default of the parameter is False (current behavior)."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Change-Id: Ifba606a5c1f3f07d717c7695a7a64e16238c2057"},{"line_number":26,"context_line":"Closes-Bug: #1408488"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"fa963961_a592f255","line":24,"in_reply_to":"fa963961_136333b3","updated":"2015-03-26 22:26:49.000000000","message":"It is not necessary for auto-generation text.","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"}],"etc/neutron.conf":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"c1eadce03d1d8fc4deb6ff21251d65bb09f356f7","unresolved":false,"context_lines":[{"line_number":180,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":181,"context_line":"# Scheduling a network to the agent with admin_state_up False is not available"},{"line_number":182,"context_line":"# regardless of this parameter but remove a network from the agent is OK."},{"line_number":183,"context_line":"# dhcp_agent_keep_reply_with_admin_state_down \u003d False"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"# \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d  end of items for agent scheduler extension \u003d\u003d\u003d\u003d\u003d"},{"line_number":186,"context_line":""}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_35d6c0c3","line":183,"updated":"2015-01-16 13:11:04.000000000","message":"keep_reply seems not exact what is stated in the description. What about keep_services?","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"e2fc26429256dc8efd4d37e5811d697d7dfea997","unresolved":false,"context_lines":[{"line_number":180,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":181,"context_line":"# Scheduling a network to the agent with admin_state_up False is not available"},{"line_number":182,"context_line":"# regardless of this parameter but remove a network from the agent is OK."},{"line_number":183,"context_line":"# dhcp_agent_keep_reply_with_admin_state_down \u003d False"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"# \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d  end of items for agent scheduler extension \u003d\u003d\u003d\u003d\u003d"},{"line_number":186,"context_line":""}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_8a0bae7a","line":183,"in_reply_to":"3a961159_35d6c0c3","updated":"2015-01-19 05:41:27.000000000","message":"OK. done.","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"c1eadce03d1d8fc4deb6ff21251d65bb09f356f7","unresolved":false,"context_lines":[{"line_number":199,"context_line":"# CIDR of the administrative network if HA mode is enabled"},{"line_number":200,"context_line":"# l3_ha_net_cidr \u003d 169.254.192.0/18"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":203,"context_line":"# Scheduling a router to the agent with admin_state_up False is not available"},{"line_number":204,"context_line":"# regardless of this parameter but remove a router from the agent is OK."},{"line_number":205,"context_line":"# l3_agent_keep_reply_with_admin_state_down \u003d False"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_75f3e86c","line":202,"updated":"2015-01-16 13:11:04.000000000","message":"Have you considered a single option for all the agents? I think such behavior better to be consistent across all the agents of a deployment","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"e2fc26429256dc8efd4d37e5811d697d7dfea997","unresolved":false,"context_lines":[{"line_number":199,"context_line":"# CIDR of the administrative network if HA mode is enabled"},{"line_number":200,"context_line":"# l3_ha_net_cidr \u003d 169.254.192.0/18"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":203,"context_line":"# Scheduling a router to the agent with admin_state_up False is not available"},{"line_number":204,"context_line":"# regardless of this parameter but remove a router from the agent is OK."},{"line_number":205,"context_line":"# l3_agent_keep_reply_with_admin_state_down \u003d False"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_2a79dafb","line":202,"in_reply_to":"3a961159_75f3e86c","updated":"2015-01-19 05:41:27.000000000","message":"I have begun to think so after I submitted patch set.\ndone.","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"7511872473d3481c3fa1255f5ccd54dbc4a878d1","unresolved":false,"context_lines":[{"line_number":212,"context_line":"# DHCP agents for configured networks."},{"line_number":213,"context_line":"# dhcp_agents_per_network \u003d 1"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":216,"context_line":"# Agents with admin_state_up False are not selected for automatic scheduling"},{"line_number":217,"context_line":"# regardless of this parameter. But manual scheduling to such agents is"},{"line_number":218,"context_line":"# available if this parameter is True."}],"source_content_type":"text/plain","patch_set":15,"id":"1a6ced46_8a0ce23c","line":215,"updated":"2015-03-26 10:08:43.000000000","message":"What does this first line mean by keeping services available? Does that just mean they receive RPC notifications related to the service? (e.g. DHCP server gets port events even when admin_state_down)\n\nIf that\u0027s the case, please make this first sentence more descriptive.\n\n\"Send updates to services on agents with admin_state_up False.\"\n\n\"Keep existing services\" sounds like it will affect automatic rescheduling, which isn\u0027t the case here as I understand it.","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"229de44252f71026fabb51fa37933aa0633977ff","unresolved":false,"context_lines":[{"line_number":212,"context_line":"# DHCP agents for configured networks."},{"line_number":213,"context_line":"# dhcp_agents_per_network \u003d 1"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":216,"context_line":"# Agents with admin_state_up False are not selected for automatic scheduling"},{"line_number":217,"context_line":"# regardless of this parameter. But manual scheduling to such agents is"},{"line_number":218,"context_line":"# available if this parameter is True."}],"source_content_type":"text/plain","patch_set":15,"id":"fa963961_a2b8bee6","line":215,"in_reply_to":"1a6ced46_8a0ce23c","updated":"2015-03-26 13:24:06.000000000","message":"+1, the comment would be clearer without the 1st line","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"5383125ed23e55e660512c70bde283c6c23a9f00","unresolved":false,"context_lines":[{"line_number":212,"context_line":"# DHCP agents for configured networks."},{"line_number":213,"context_line":"# dhcp_agents_per_network \u003d 1"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":216,"context_line":"# Agents with admin_state_up False are not selected for automatic scheduling"},{"line_number":217,"context_line":"# regardless of this parameter. But manual scheduling to such agents is"},{"line_number":218,"context_line":"# available if this parameter is True."}],"source_content_type":"text/plain","patch_set":15,"id":"fa963961_77882123","line":215,"in_reply_to":"fa963961_1781d54a","updated":"2015-03-26 22:59:18.000000000","message":"It more makes sense ! Thank you for the suggestion.","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"db7bc5c84415ed1fab4e45e4143b76056a306848","unresolved":false,"context_lines":[{"line_number":212,"context_line":"# DHCP agents for configured networks."},{"line_number":213,"context_line":"# dhcp_agents_per_network \u003d 1"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":216,"context_line":"# Agents with admin_state_up False are not selected for automatic scheduling"},{"line_number":217,"context_line":"# regardless of this parameter. But manual scheduling to such agents is"},{"line_number":218,"context_line":"# available if this parameter is True."}],"source_content_type":"text/plain","patch_set":15,"id":"fa963961_b76c699d","line":215,"in_reply_to":"fa963961_1781d54a","updated":"2015-03-26 22:52:57.000000000","message":"i would do the opposite: enable_services_on_agents_with_admin_state_down(\u003dfalse)","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"f399f3591eb61501572247e79b5ef32740891529","unresolved":false,"context_lines":[{"line_number":212,"context_line":"# DHCP agents for configured networks."},{"line_number":213,"context_line":"# dhcp_agents_per_network \u003d 1"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":216,"context_line":"# Agents with admin_state_up False are not selected for automatic scheduling"},{"line_number":217,"context_line":"# regardless of this parameter. But manual scheduling to such agents is"},{"line_number":218,"context_line":"# available if this parameter is True."}],"source_content_type":"text/plain","patch_set":15,"id":"fa963961_8d1714ed","line":215,"in_reply_to":"fa963961_77882123","updated":"2015-03-27 00:17:40.000000000","message":"Thank you for the comment Kevin, Cedric.\n\nI adopted an opinion of Cedric this time.\nI think that the indication about the clarification of the explanation is common. I think I addressed it in the next PS.","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"5cffa215961ae759a1fa3b517acf686c87a51fc4","unresolved":false,"context_lines":[{"line_number":212,"context_line":"# DHCP agents for configured networks."},{"line_number":213,"context_line":"# dhcp_agents_per_network \u003d 1"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":216,"context_line":"# Agents with admin_state_up False are not selected for automatic scheduling"},{"line_number":217,"context_line":"# regardless of this parameter. But manual scheduling to such agents is"},{"line_number":218,"context_line":"# available if this parameter is True."}],"source_content_type":"text/plain","patch_set":15,"id":"fa963961_c5f976ca","line":215,"in_reply_to":"fa963961_a2b8bee6","updated":"2015-03-26 22:26:49.000000000","message":"Kevin, Cedric,\n\nThe problem is that router resources (in case of l3-agent) ex. interfaces, iptables etc. in the namespace are deleted if admin_state_up is False. i.e. a service is completely unabailable. \"Send updates to services\" is means (not a purpose) to fix this problem (and to enable update to the service in addition).","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"a742afaafdf31be43ab60c3e42396181c8ab7000","unresolved":false,"context_lines":[{"line_number":212,"context_line":"# DHCP agents for configured networks."},{"line_number":213,"context_line":"# dhcp_agents_per_network \u003d 1"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"# Keep existing services available on an agent with admin_state_up False."},{"line_number":216,"context_line":"# Agents with admin_state_up False are not selected for automatic scheduling"},{"line_number":217,"context_line":"# regardless of this parameter. But manual scheduling to such agents is"},{"line_number":218,"context_line":"# available if this parameter is True."}],"source_content_type":"text/plain","patch_set":15,"id":"fa963961_1781d54a","line":215,"in_reply_to":"fa963961_c5f976ca","updated":"2015-03-26 22:45:16.000000000","message":"I see. Can we change it to disable_services_on_agents_with_admin_state_down and have the default be true to reflect the current behavior?","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7228d9bd3783c6f1f12c67efa52cf100e0fa81ff","unresolved":false,"context_lines":[{"line_number":215,"context_line":"# Enable services on agents with admin_state_up False."},{"line_number":216,"context_line":"# If this option is False, when admin_state_up of an agent is turned to"},{"line_number":217,"context_line":"# False, services on it will be disabled. If this option is True, services"},{"line_number":218,"context_line":"# on agents with admin_state_up Flase keep available and manual scheduling"},{"line_number":219,"context_line":"# to such agents is available. Agents with admin_state_up False are not"},{"line_number":220,"context_line":"# selected for automatic scheduling regardless of this option."},{"line_number":221,"context_line":"# enable_services_on_agents_with_admin_state_down \u003d False"}],"source_content_type":"text/plain","patch_set":16,"id":"fa963961_70b6e7dd","line":218,"range":{"start_line":218,"start_character":32,"end_line":218,"end_character":37},"updated":"2015-03-27 01:26:13.000000000","message":"False","commit_id":"a9ff0d916806b5c1a2dc2516bd6a2a15b4a226d8"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"b4f6eab9de60eaa2d8a57ddd977fc621d37e8c73","unresolved":false,"context_lines":[{"line_number":215,"context_line":"# Enable services on agents with admin_state_up False."},{"line_number":216,"context_line":"# If this option is False, when admin_state_up of an agent is turned to"},{"line_number":217,"context_line":"# False, services on it will be disabled. If this option is True, services"},{"line_number":218,"context_line":"# on agents with admin_state_up Flase keep available and manual scheduling"},{"line_number":219,"context_line":"# to such agents is available. Agents with admin_state_up False are not"},{"line_number":220,"context_line":"# selected for automatic scheduling regardless of this option."},{"line_number":221,"context_line":"# enable_services_on_agents_with_admin_state_down \u003d False"}],"source_content_type":"text/plain","patch_set":16,"id":"fa963961_90a72b4f","line":218,"in_reply_to":"fa963961_70b6e7dd","updated":"2015-03-27 01:35:52.000000000","message":"oops. done.","commit_id":"a9ff0d916806b5c1a2dc2516bd6a2a15b4a226d8"}],"neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"02baa21e3ecc7d30f3fd963a49629de88543a548","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        return new_agents + existing_agents"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def _get_enabled_agents(self, context, network, agents, method, payload):"},{"line_number":74,"context_line":"        \"\"\"Get the list of agents whose admin_state is UP.\"\"\""},{"line_number":75,"context_line":"        network_id \u003d network[\u0027id\u0027]"},{"line_number":76,"context_line":"        enabled_agents \u003d (agents"},{"line_number":77,"context_line":"            if cfg.CONF.dhcp_agent_keep_reply_with_admin_state_down"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_447f59df","line":74,"updated":"2015-01-15 05:06:01.000000000","message":"this comment needs an update.","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"45bfff53f32a3b36910e9a4083d19e1befbc2a5c","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        return new_agents + existing_agents"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def _get_enabled_agents(self, context, network, agents, method, payload):"},{"line_number":74,"context_line":"        \"\"\"Get the list of agents whose admin_state is UP.\"\"\""},{"line_number":75,"context_line":"        network_id \u003d network[\u0027id\u0027]"},{"line_number":76,"context_line":"        enabled_agents \u003d (agents"},{"line_number":77,"context_line":"            if cfg.CONF.dhcp_agent_keep_reply_with_admin_state_down"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_7f25be08","line":74,"in_reply_to":"3a961159_447f59df","updated":"2015-01-15 05:44:37.000000000","message":"will do. thanks.","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"e2fc26429256dc8efd4d37e5811d697d7dfea997","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        return new_agents + existing_agents"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def _get_enabled_agents(self, context, network, agents, method, payload):"},{"line_number":74,"context_line":"        \"\"\"Get the list of agents whose admin_state is UP.\"\"\""},{"line_number":75,"context_line":"        network_id \u003d network[\u0027id\u0027]"},{"line_number":76,"context_line":"        enabled_agents \u003d (agents"},{"line_number":77,"context_line":"            if cfg.CONF.dhcp_agent_keep_reply_with_admin_state_down"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_6a56825f","line":74,"in_reply_to":"3a961159_7f25be08","updated":"2015-01-19 05:41:27.000000000","message":"done.","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"a845b8735bd627ee3efeb688dc8fb94d8f9d0f49","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        network_id \u003d network[\u0027id\u0027]"},{"line_number":81,"context_line":"        enabled_agents \u003d (agents"},{"line_number":82,"context_line":"            if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":83,"context_line":"            else [x for x in agents if x.admin_state_up])"},{"line_number":84,"context_line":"        active_agents \u003d [x for x in agents if x.is_active]"},{"line_number":85,"context_line":"        len_enabled_agents \u003d len(enabled_agents)"},{"line_number":86,"context_line":"        len_active_agents \u003d len(active_agents)"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba7be1f8_69bd01b7","line":83,"updated":"2015-02-25 04:44:58.000000000","message":"nit:  In my opinion, when an expression like this with a ternary operator wraps to two or three lines, I\u0027d prefer the more straight-forward approach:\n\n enabled_agents \u003d agents\n if not cfg.CONF.agent_keep_services_with_admin_state_down:\n     agents \u003d [x for x in agents if x.admin_state_up]","commit_id":"504f2f9cf44817bf0b4e73af78cc9c243fbcd53c"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"136d1b25e9720780cc32ffe3758fe1607e0d43ba","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        network_id \u003d network[\u0027id\u0027]"},{"line_number":81,"context_line":"        enabled_agents \u003d (agents"},{"line_number":82,"context_line":"            if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":83,"context_line":"            else [x for x in agents if x.admin_state_up])"},{"line_number":84,"context_line":"        active_agents \u003d [x for x in agents if x.is_active]"},{"line_number":85,"context_line":"        len_enabled_agents \u003d len(enabled_agents)"},{"line_number":86,"context_line":"        len_active_agents \u003d len(active_agents)"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba7be1f8_436b83b6","line":83,"in_reply_to":"ba7be1f8_69bd01b7","updated":"2015-02-26 05:23:02.000000000","message":"Done","commit_id":"504f2f9cf44817bf0b4e73af78cc9c243fbcd53c"}],"neutron/db/agentschedulers_db.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"99b6b0e1c6f7e2a73bcf66f3c9309d15e0750e99","unresolved":false,"context_lines":[{"line_number":436,"context_line":""},{"line_number":437,"context_line":"def get_admin_state_up_filter():"},{"line_number":438,"context_line":"    if cfg.CONF.agent_keep_services_with_admin_state_down:"},{"line_number":439,"context_line":"        # Aviod filtering on admin_state_up at all"},{"line_number":440,"context_line":"        return None"},{"line_number":441,"context_line":"    # Filters on admin_state_up is True"},{"line_number":442,"context_line":"    return True"}],"source_content_type":"text/x-python","patch_set":14,"id":"1a6ced46_2b7cddb4","line":439,"range":{"start_line":439,"start_character":10,"end_line":439,"end_character":15},"updated":"2015-03-26 03:25:36.000000000","message":"Avoid","commit_id":"ca0a07892da6ac348bbb649f024fd3a764fe36bb"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"f03da2724296b1b906f5dc3b05902eaa6449df24","unresolved":false,"context_lines":[{"line_number":436,"context_line":""},{"line_number":437,"context_line":"def get_admin_state_up_filter():"},{"line_number":438,"context_line":"    if cfg.CONF.agent_keep_services_with_admin_state_down:"},{"line_number":439,"context_line":"        # Aviod filtering on admin_state_up at all"},{"line_number":440,"context_line":"        return None"},{"line_number":441,"context_line":"    # Filters on admin_state_up is True"},{"line_number":442,"context_line":"    return True"}],"source_content_type":"text/x-python","patch_set":14,"id":"1a6ced46_469750ec","line":439,"in_reply_to":"1a6ced46_2b7cddb4","updated":"2015-03-26 04:18:32.000000000","message":"oops. done.","commit_id":"ca0a07892da6ac348bbb649f024fd3a764fe36bb"},{"author":{"_account_id":10237,"name":"Numan Siddique","email":"nusiddiq@redhat.com","username":"numansiddique"},"change_message_id":"55b5c1781046c25f182e400fc0b6e8bfafc6a11a","unresolved":false,"context_lines":[{"line_number":435,"context_line":""},{"line_number":436,"context_line":""},{"line_number":437,"context_line":"def get_admin_state_up_filter():"},{"line_number":438,"context_line":"    if cfg.CONF.agent_keep_services_with_admin_state_down:"},{"line_number":439,"context_line":"        # Avoid filtering on admin_state_up at all"},{"line_number":440,"context_line":"        return None"},{"line_number":441,"context_line":"    # Filters on admin_state_up is True"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a6ced46_60cfcf29","line":438,"updated":"2015-03-26 07:52:05.000000000","message":"nit : You can consider doing like below\n\ndef get_admin_state_up_filter():\n    if not cfg.CONF.agent_keep_services_with_admin_state_down:\n        return True","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"5cffa215961ae759a1fa3b517acf686c87a51fc4","unresolved":false,"context_lines":[{"line_number":435,"context_line":""},{"line_number":436,"context_line":""},{"line_number":437,"context_line":"def get_admin_state_up_filter():"},{"line_number":438,"context_line":"    if cfg.CONF.agent_keep_services_with_admin_state_down:"},{"line_number":439,"context_line":"        # Avoid filtering on admin_state_up at all"},{"line_number":440,"context_line":"        return None"},{"line_number":441,"context_line":"    # Filters on admin_state_up is True"}],"source_content_type":"text/x-python","patch_set":15,"id":"fa963961_e510faaa","line":438,"in_reply_to":"1a6ced46_60cfcf29","updated":"2015-03-26 22:26:49.000000000","message":"Thank you for the comment. \n\nI think it is a bit explanatory since \u0027None\u0027 has an active meaning in this case.","commit_id":"d4d26108e02c637840ee6e7ddfdcc2f2f6471306"}],"neutron/scheduler/dhcp_agent_scheduler.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"02baa21e3ecc7d30f3fd963a49629de88543a548","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        # subnets whose enable_dhcp is false"},{"line_number":67,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":68,"context_line":"            dhcp_agents \u003d plugin.get_dhcp_agents_hosting_networks("},{"line_number":69,"context_line":"                context, [network[\u0027id\u0027]])"},{"line_number":70,"context_line":"            if len(dhcp_agents) \u003e\u003d agents_per_network:"},{"line_number":71,"context_line":"                LOG.debug(\u0027Network %s is hosted already\u0027,"},{"line_number":72,"context_line":"                          network[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_9f3d0abe","line":69,"updated":"2015-01-15 05:06:01.000000000","message":"doesn\u0027t filter_unscheduled_routers need a similar change?","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"45bfff53f32a3b36910e9a4083d19e1befbc2a5c","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        # subnets whose enable_dhcp is false"},{"line_number":67,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":68,"context_line":"            dhcp_agents \u003d plugin.get_dhcp_agents_hosting_networks("},{"line_number":69,"context_line":"                context, [network[\u0027id\u0027]])"},{"line_number":70,"context_line":"            if len(dhcp_agents) \u003e\u003d agents_per_network:"},{"line_number":71,"context_line":"                LOG.debug(\u0027Network %s is hosted already\u0027,"},{"line_number":72,"context_line":"                          network[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_bf4486b8","line":69,"in_reply_to":"3a961159_9f3d0abe","updated":"2015-01-15 05:44:37.000000000","message":"I found the fix of this line conflicts https://review.openstack.org/#/c/138659/ .\nSo I will remove change of this line later.\nI think it is better to fix of filter_unscheduled_routers by another patch too.","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"e2fc26429256dc8efd4d37e5811d697d7dfea997","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        # subnets whose enable_dhcp is false"},{"line_number":67,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":68,"context_line":"            dhcp_agents \u003d plugin.get_dhcp_agents_hosting_networks("},{"line_number":69,"context_line":"                context, [network[\u0027id\u0027]])"},{"line_number":70,"context_line":"            if len(dhcp_agents) \u003e\u003d agents_per_network:"},{"line_number":71,"context_line":"                LOG.debug(\u0027Network %s is hosted already\u0027,"},{"line_number":72,"context_line":"                          network[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_6ae4c2a7","line":69,"in_reply_to":"3a961159_a00510c3","updated":"2015-01-19 05:41:27.000000000","message":"OK. done.\n\nIf a conflict occurs then I will do rebase at that time.","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"c1eadce03d1d8fc4deb6ff21251d65bb09f356f7","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        # subnets whose enable_dhcp is false"},{"line_number":67,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":68,"context_line":"            dhcp_agents \u003d plugin.get_dhcp_agents_hosting_networks("},{"line_number":69,"context_line":"                context, [network[\u0027id\u0027]])"},{"line_number":70,"context_line":"            if len(dhcp_agents) \u003e\u003d agents_per_network:"},{"line_number":71,"context_line":"                LOG.debug(\u0027Network %s is hosted already\u0027,"},{"line_number":72,"context_line":"                          network[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_a00510c3","line":69,"in_reply_to":"3a961159_bf4486b8","updated":"2015-01-16 13:11:04.000000000","message":"I think logically this should be part of this patch as well as  change in filter_unscheduled_routers. Config option should also be checked here","commit_id":"d6c950c36c53f4c0b0f817a209dc2d5124727689"},{"author":{"_account_id":7183,"name":"Xu Han Peng","email":"xuhanp@linux.vnet.ibm.com","username":"xuhanp"},"change_message_id":"eeb1fad56f9ce21e891270222c173d734ca6bde9","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        agents_per_network \u003d cfg.CONF.dhcp_agents_per_network"},{"line_number":64,"context_line":"        state \u003d (None if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":65,"context_line":"                 else True)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        #TODO(gongysh) don\u0027t schedule the networks with only"},{"line_number":68,"context_line":"        # subnets whose enable_dhcp is false"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_abeadaa9","line":65,"updated":"2015-02-10 02:47:45.000000000","message":"From the commit message:\nIf the parameter is True, existing services on agents with admin_state_up\nFalse keep available, but no more service will be scheduled to the agent\n(neither manually nor automatically).\n\nFrom my understanding of this message the state should be True even if agent_keep_services_with_admin_state_down is True. Please correct me if I am wrong.","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"c7947ca935e9411755601d5dde890bdcad53f020","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        agents_per_network \u003d cfg.CONF.dhcp_agents_per_network"},{"line_number":64,"context_line":"        state \u003d (None if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":65,"context_line":"                 else True)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        #TODO(gongysh) don\u0027t schedule the networks with only"},{"line_number":68,"context_line":"        # subnets whose enable_dhcp is false"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_c72cfa95","line":65,"updated":"2015-02-19 01:16:49.000000000","message":"can we call this filter_by_state to help clarify? It took be a bit to understand how this was being used as well.","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":7183,"name":"Xu Han Peng","email":"xuhanp@linux.vnet.ibm.com","username":"xuhanp"},"change_message_id":"8d40e219212ec8d548622cf661fa19a7df8840d1","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        agents_per_network \u003d cfg.CONF.dhcp_agents_per_network"},{"line_number":64,"context_line":"        state \u003d (None if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":65,"context_line":"                 else True)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        #TODO(gongysh) don\u0027t schedule the networks with only"},{"line_number":68,"context_line":"        # subnets whose enable_dhcp is false"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_b0bec2fd","line":65,"in_reply_to":"da86d52c_3e054ac2","updated":"2015-02-10 08:15:25.000000000","message":"Thanks for the clarification!","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"2e56c8cdbaff32c3532b506ff8aa220b1ccb9499","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        agents_per_network \u003d cfg.CONF.dhcp_agents_per_network"},{"line_number":64,"context_line":"        state \u003d (None if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":65,"context_line":"                 else True)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        #TODO(gongysh) don\u0027t schedule the networks with only"},{"line_number":68,"context_line":"        # subnets whose enable_dhcp is false"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_3e054ac2","line":65,"in_reply_to":"da86d52c_abeadaa9","updated":"2015-02-10 03:29:16.000000000","message":"this \u0027state\u0027 is for filtering query which search the agent where a network is already scheduled for.\n\nif agent_keep_services_with_admin_state_down is True, service on the agent is alive even if admin_state_up of the agent is False, So it should be counted. (state \u003d\u003d None means not filtering by admin_state_up. state \u003d\u003d True means select only agents with admin_state_up True.)\n\nAvoiding newly scheduling to the agent(admin_state_up False) is done in line 77.","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"9a6a019ad1bc47cdaafbec093d7ca8d52c0f4e77","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        agents_per_network \u003d cfg.CONF.dhcp_agents_per_network"},{"line_number":64,"context_line":"        state \u003d (None if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":65,"context_line":"                 else True)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        #TODO(gongysh) don\u0027t schedule the networks with only"},{"line_number":68,"context_line":"        # subnets whose enable_dhcp is false"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_ca15df3d","line":65,"in_reply_to":"da86d52c_c72cfa95","updated":"2015-02-19 02:05:28.000000000","message":"done.","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"a845b8735bd627ee3efeb688dc8fb94d8f9d0f49","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        agents_per_network \u003d cfg.CONF.dhcp_agents_per_network"},{"line_number":64,"context_line":"        filter_by_state \u003d ("},{"line_number":65,"context_line":"            None if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":66,"context_line":"            else True)"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        #TODO(gongysh) don\u0027t schedule the networks with only"},{"line_number":69,"context_line":"        # subnets whose enable_dhcp is false"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba7be1f8_291b09cb","line":66,"updated":"2015-02-25 04:44:58.000000000","message":"Why didn\u0027t you change this everywhere this expression appeared in the patch?\n\nHowever, this expression does appear in so many places.  With the long config name and wrapping, it isn\u0027t the most attractive thing to see over and over.  Do you think a utility would help readability?\n\n def get_admin_state_up_filter():\n     if cfg.CONF.agent_keep_services_with_admin_state_down:\n         # Avoid filtering on admin_state_up at all\n         return None\n     # Filters on admin_state_up is True\n     return True","commit_id":"504f2f9cf44817bf0b4e73af78cc9c243fbcd53c"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"136d1b25e9720780cc32ffe3758fe1607e0d43ba","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        agents_per_network \u003d cfg.CONF.dhcp_agents_per_network"},{"line_number":64,"context_line":"        filter_by_state \u003d ("},{"line_number":65,"context_line":"            None if cfg.CONF.agent_keep_services_with_admin_state_down"},{"line_number":66,"context_line":"            else True)"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"        #TODO(gongysh) don\u0027t schedule the networks with only"},{"line_number":69,"context_line":"        # subnets whose enable_dhcp is false"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba7be1f8_8361fbd4","line":66,"in_reply_to":"ba7be1f8_291b09cb","updated":"2015-02-26 05:23:02.000000000","message":"please examine new patch set.","commit_id":"504f2f9cf44817bf0b4e73af78cc9c243fbcd53c"}],"neutron/tests/unit/api/rpc/agentnotifiers/test_dhcp_rpc_agent_api.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"c7947ca935e9411755601d5dde890bdcad53f020","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from neutron.api.rpc.agentnotifiers import dhcp_rpc_agent_api"},{"line_number":23,"context_line":"from neutron.common import utils"},{"line_number":24,"context_line":"from neutron.db import agents_db"},{"line_number":25,"context_line":"from neutron.db import agentschedulers_db  # noqa"},{"line_number":26,"context_line":"from neutron.tests import base"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_e74e5e6e","line":25,"updated":"2015-02-19 01:16:49.000000000","message":"instead of the \u0027noqa\u0027 approach, maybe use cfg from agentschedulers_db to assign to to cfg and don\u0027t import cfg from oslo_config directly. Then it\u0027s a little more explicit that the module is being imported for configuration.","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"9a6a019ad1bc47cdaafbec093d7ca8d52c0f4e77","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from neutron.api.rpc.agentnotifiers import dhcp_rpc_agent_api"},{"line_number":23,"context_line":"from neutron.common import utils"},{"line_number":24,"context_line":"from neutron.db import agents_db"},{"line_number":25,"context_line":"from neutron.db import agentschedulers_db  # noqa"},{"line_number":26,"context_line":"from neutron.tests import base"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_2a1e7b5f","line":25,"in_reply_to":"da86d52c_e74e5e6e","updated":"2015-02-19 02:05:28.000000000","message":"I didn\u0027t notice this. Thank you for the comment. done.","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"98fb53cc8d0459fe28e287b5953f3e8cef7770aa","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        network \u003d {\u0027id\u0027: \u0027foo_network_id\u0027}"},{"line_number":129,"context_line":"        self._test__get_enabled_agents(network,"},{"line_number":130,"context_line":"                                       agents\u003d[agent1, agent2],"},{"line_number":131,"context_line":"                                       expected_warnings\u003d0, expected_errors\u003d0)"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    def test__notify_agents_fanout_required(self):"},{"line_number":134,"context_line":"        self.notifier._notify_agents(mock.ANY,"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_e2e06898","line":131,"updated":"2015-02-10 11:05:04.000000000","message":"these are default parameters","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"9a6a019ad1bc47cdaafbec093d7ca8d52c0f4e77","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        network \u003d {\u0027id\u0027: \u0027foo_network_id\u0027}"},{"line_number":129,"context_line":"        self._test__get_enabled_agents(network,"},{"line_number":130,"context_line":"                                       agents\u003d[agent1, agent2],"},{"line_number":131,"context_line":"                                       expected_warnings\u003d0, expected_errors\u003d0)"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    def test__notify_agents_fanout_required(self):"},{"line_number":134,"context_line":"        self.notifier._notify_agents(mock.ANY,"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_4a21ef9c","line":131,"in_reply_to":"da86d52c_022369bd","updated":"2015-02-19 02:05:28.000000000","message":"done.","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"},{"author":{"_account_id":4149,"name":"Itsuro Oda","email":"oda@valinux.co.jp","username":"oda-g"},"change_message_id":"39151aaac1a57efb54f2235b997466031ccfebc9","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        network \u003d {\u0027id\u0027: \u0027foo_network_id\u0027}"},{"line_number":129,"context_line":"        self._test__get_enabled_agents(network,"},{"line_number":130,"context_line":"                                       agents\u003d[agent1, agent2],"},{"line_number":131,"context_line":"                                       expected_warnings\u003d0, expected_errors\u003d0)"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    def test__notify_agents_fanout_required(self):"},{"line_number":134,"context_line":"        self.notifier._notify_agents(mock.ANY,"}],"source_content_type":"text/x-python","patch_set":7,"id":"da86d52c_022369bd","line":131,"in_reply_to":"da86d52c_e2e06898","updated":"2015-02-11 23:02:04.000000000","message":"exactly. I will fix it at an opportunity of the next update.","commit_id":"2bd21f47e5a76e0bf25d3230e7bf0854f914a690"}]}
