commit 75ac0381a41c22c92f7efb602adf6ae22c832be2
Author: Hans Lindgren <email address hidden>
Date: Mon Feb 24 16:20:23 2014 +0100
Add return value to some network API methods
Add return value to api methods add_fixed_ip_to_instance() and
remove_fixed_ip_from_instance(). This allows the @refresh_cache
decorator to use returned nw_info model for updating instance
info cache instead of needing to make another rpc call to get
that same information.
Tests are added to make sure return values are used by the
refresh_cache decorator for methods where the rpc call returns
with the necessary nw_info model.
Reviewed: https:/ /review. openstack. org/76028 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=75ac0381a41 c22c92f7efb602a df6ae22c832be2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 75ac0381a41c22c 92f7efb602adf6a e22c832be2
Author: Hans Lindgren <email address hidden>
Date: Mon Feb 24 16:20:23 2014 +0100
Add return value to some network API methods
Add return value to api methods add_fixed_ ip_to_instance( ) and fixed_ip_ from_instance( ). This allows the @refresh_cache
remove_
decorator to use returned nw_info model for updating instance
info cache instead of needing to make another rpc call to get
that same information.
Tests are added to make sure return values are used by the
refresh_cache decorator for methods where the rpc call returns
with the necessary nw_info model.
Change-Id: I748e4db9de62d8 2e4dbcb0b9c444b 16dabf0ec5d
Partial-Bug: #1284345