)]}'
{"quantum/agent/dhcp_agent.py":[{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"7f4e7e3bd52f541cc6e829c155cc9d1932b9484d","unresolved":false,"context_lines":[{"line_number":243,"context_line":"        \"\"\"Handle the port.update.end notification event.\"\"\""},{"line_number":244,"context_line":"        port \u003d DictModel(payload[\u0027port\u0027])"},{"line_number":245,"context_line":"        network \u003d self.cache.get_network_by_id(port.network_id)"},{"line_number":246,"context_line":"        if not network:"},{"line_number":247,"context_line":"            # It may be we have not got the network"},{"line_number":248,"context_line":"            # scheduled before we create the port."},{"line_number":249,"context_line":"            # we simulate a network_create_end RPC msg"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAANH%2F%2F9LQ%3D","line":246,"updated":"2013-03-01 16:48:20.000000000","message":"Why not fire the create_network event when the network is scheduled?  I don\u0027t see why the agent needs to handle something the server should do.","commit_id":"b8c03a4cdf319a0988b154623e294ffc437c300f"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"406491336248a2864b8d74fcbd0e146994305e5c","unresolved":false,"context_lines":[{"line_number":243,"context_line":"        \"\"\"Handle the port.update.end notification event.\"\"\""},{"line_number":244,"context_line":"        port \u003d DictModel(payload[\u0027port\u0027])"},{"line_number":245,"context_line":"        network \u003d self.cache.get_network_by_id(port.network_id)"},{"line_number":246,"context_line":"        if not network:"},{"line_number":247,"context_line":"            # It may be we have not got the network"},{"line_number":248,"context_line":"            # scheduled before we create the port."},{"line_number":249,"context_line":"            # we simulate a network_create_end RPC msg"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAANH%2F%2F8ZQ%3D","line":246,"in_reply_to":"AAAANH%2F%2F9LQ%3D","updated":"2013-03-02 01:24:06.000000000","message":"Done","commit_id":"b8c03a4cdf319a0988b154623e294ffc437c300f"}],"quantum/db/agentschedulers_db.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":297,"context_line":"            chosen_agent \u003d self.network_scheduler.schedule("},{"line_number":298,"context_line":"                self, context, created_network)"},{"line_number":299,"context_line":"            if not chosen_agent:"},{"line_number":300,"context_line":"                LOG.warn(_(\u0027Fail scheduling network %s\u0027), created_network)"},{"line_number":301,"context_line":"            return chosen_agent"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"    def auto_schedule_networks(self, context, host):"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAANH%2F%2F8MM%3D","line":300,"updated":"2013-03-02 07:25:34.000000000","message":"Fail \u003d\u003e Failure","commit_id":"262c4fb432b834f97b7ab401dba1e2f6107b2a4d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"unresolved":false,"context_lines":[{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    def schedule_router(self, context, router):"},{"line_number":356,"context_line":"        if self.router_scheduler:"},{"line_number":357,"context_line":"            return self.router_scheduler.schedule("},{"line_number":358,"context_line":"                self, context, router)"},{"line_number":359,"context_line":""},{"line_number":360,"context_line":"    def schedule_routers(self, context, routers):"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAANH%2F%2F8TQ%3D","line":357,"updated":"2013-03-02 03:51:38.000000000","message":"It is better to do the similar check in schedule_network().\nschedule_network() checks chose_agents is not empty.","commit_id":"262c4fb432b834f97b7ab401dba1e2f6107b2a4d"}]}
