'Removes a fixed IP from instance from specified network.'

@base_api.refresh_cache
def remove_fixed_ip_from_instance(self, context, instance, address):

    flavor = instance.get_flavor()
    args = {'instance_id': instance.uuid, 'rxtx_factor': flavor['rxtx_factor'], 'host': instance.host, 'address': address}
    nw_info = self.network_rpcapi.remove_fixed_ip_from_instance(context, **args)
    return network_model.NetworkInfo.hydrate(nw_info)
