Comment 3 for bug 1284345

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/76028
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=75ac0381a41c22c92f7efb602adf6ae22c832be2
Submitter: Jenkins
Branch: master

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.

    Change-Id: I748e4db9de62d82e4dbcb0b9c444b16dabf0ec5d
    Partial-Bug: #1284345