'DEPRECATED Add a floating IP to an instance
:param server: The :class:`Server` (or its ID) to add an IP to.
:param address: The FloatingIP or string floating address to add.
:param fixed_address: The FixedIP the floatingIP should be
associated with (optional)
:returns: An instance of novaclient.base.TupleWithMeta'

@api_versions.wraps('2.0', '2.43')
def add_floating_ip(self, server, address, fixed_address=None):

    warnings.warn((ADD_REMOVE_FIXED_FLOATING_DEPRECATION_WARNING % 'addFloatingIP'), DeprecationWarning)
    address = (address.ip if hasattr(address, 'ip') else address)
    if fixed_address:
        if hasattr(fixed_address, 'ip'):
            fixed_address = fixed_address.ip
        return self._action('addFloatingIp', server, {'address': address, 'fixed_address': fixed_address})
    else:
        return self._action('addFloatingIp', server, {'address': address})
