)]}'
{"nova/compute/api.py":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"6a294907943a8254081aa114c9e9b51f37129365","unresolved":false,"context_lines":[{"line_number":2699,"context_line":"                                    vm_states.STOPPED, vm_states.RESIZED,"},{"line_number":2700,"context_line":"                                    vm_states.SOFT_DELETED, vm_states.SHELVED,"},{"line_number":2701,"context_line":"                                    vm_states.SHELVED_OFFLOADED,"},{"line_number":2702,"context_line":"                                    vm_states.RESCUED])"},{"line_number":2703,"context_line":"    def add_fixed_ip(self, context, instance, network_id):"},{"line_number":2704,"context_line":"        \"\"\"Add fixed_ip from specified network to given instance.\"\"\""},{"line_number":2705,"context_line":"        self.compute_rpcapi.add_fixed_ip_to_instance(context,"}],"source_content_type":"text/x-python","patch_set":2,"id":"7af24918_4011435c","line":2702,"updated":"2016-03-04 12:26:53.000000000","message":"But there are quite a few task states where you can\u0027t find the compute node, etc.\n\nIt feels like we should look at matching the checks we do for attach_interface? But maybe thats quite a big change, and would need an API microversion.\n\nhttps://github.com/openstack/nova/blob/master/nova/compute/api.py#L3231\n\n    @check_instance_state(vm_state\u003d[vm_states.ACTIVE, vm_states.PAUSED,\n                                    vm_states.STOPPED],\n                          task_state\u003d[None])","commit_id":"ca2b0b4cf5da8ecaea30306b06454ac41c804dfa"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"1b81c15c0a4cf1c7b2fe867eff709c5b927bc3aa","unresolved":false,"context_lines":[{"line_number":2699,"context_line":"                                    vm_states.STOPPED, vm_states.RESIZED,"},{"line_number":2700,"context_line":"                                    vm_states.SOFT_DELETED, vm_states.SHELVED,"},{"line_number":2701,"context_line":"                                    vm_states.SHELVED_OFFLOADED,"},{"line_number":2702,"context_line":"                                    vm_states.RESCUED])"},{"line_number":2703,"context_line":"    def add_fixed_ip(self, context, instance, network_id):"},{"line_number":2704,"context_line":"        \"\"\"Add fixed_ip from specified network to given instance.\"\"\""},{"line_number":2705,"context_line":"        self.compute_rpcapi.add_fixed_ip_to_instance(context,"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_1ac62349","line":2702,"in_reply_to":"7af24918_4011435c","updated":"2016-03-14 12:28:32.000000000","message":"yes, seems we can refer to that function","commit_id":"ca2b0b4cf5da8ecaea30306b06454ac41c804dfa"}]}
