)]}'
{"nova/network/neutronv2/api.py":[{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"bef262787fa9418e0f17d5fd807669421fa9b562","unresolved":false,"context_lines":[{"line_number":457,"context_line":"        nw_info \u003d self._build_network_info_model(context, instance, networks)"},{"line_number":458,"context_line":"        return network_model.NetworkInfo.hydrate(nw_info)"},{"line_number":459,"context_line":""},{"line_number":460,"context_line":"    @refresh_cache"},{"line_number":461,"context_line":"    def add_fixed_ip_to_instance(self, context, instance, network_id):"},{"line_number":462,"context_line":"        \"\"\"Add a fixed ip to the instance from specified network.\"\"\""},{"line_number":463,"context_line":"        search_opts \u003d {\u0027network_id\u0027: network_id}"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAWH%2F9cN0%3D","side":"PARENT","line":460,"updated":"2014-04-04 14:07:48.000000000","message":"Wouldn\u0027t you want to keep this?  Now that these methods return network info it shouldn\u0027t cause an additional lookup, but will update the local cache.  This would keep it inline with the nova network api methods.","commit_id":"75ac0381a41c22c92f7efb602adf6ae22c832be2"},{"author":{"_account_id":6450,"name":"Hans Lindgren","email":"hanlind@kth.se","username":"hanlind"},"change_message_id":"5536442444e969d10ef7c11cd0ac1ace203dbef7","unresolved":false,"context_lines":[{"line_number":457,"context_line":"        nw_info \u003d self._build_network_info_model(context, instance, networks)"},{"line_number":458,"context_line":"        return network_model.NetworkInfo.hydrate(nw_info)"},{"line_number":459,"context_line":""},{"line_number":460,"context_line":"    @refresh_cache"},{"line_number":461,"context_line":"    def add_fixed_ip_to_instance(self, context, instance, network_id):"},{"line_number":462,"context_line":"        \"\"\"Add a fixed ip to the instance from specified network.\"\"\""},{"line_number":463,"context_line":"        search_opts \u003d {\u0027network_id\u0027: network_id}"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAW3%2F%2Fzo4%3D","side":"PARENT","line":460,"in_reply_to":"AAAAWH%2F9cN0%3D","updated":"2014-04-10 11:14:57.000000000","message":"get_instance_nw_info() is also decorated with @refresh_cache, so this was to avoid a double call to it.\n\nI see now that if instead making the call to _get_instance_nw_info(), I could leave this as is.\n\nI have uploaded a new patch that does this.","commit_id":"75ac0381a41c22c92f7efb602adf6ae22c832be2"}]}
