Interface ComputeFloatingIPService

  • All Superinterfaces:
    RestService
    All Known Implementing Classes:
    ComputeFloatingIPServiceImpl

    @Deprecated
    public interface ComputeFloatingIPService
    extends RestService
    Deprecated.
    This API is a proxy call to the Network service. Nova has deprecated all the proxy APIs and users should use the native APIs instead. This API will fail with a 404 starting from microversion 2.36.
    OpenStack Compute Floating-IP Operation API.
    Author:
    Nathan Anderson
    See Also:
    NetFloatingIPService
    • Method Detail

      • list

        List<? extends FloatingIP> list()
        Deprecated.
        List floating ips associated with current tenant.
        Returns:
        the list
      • getPoolNames

        List<String> getPoolNames()
        Deprecated.
        Lists the current Floating IP Pool Names
        Returns:
        List of floating IP pool names
      • allocateIP

        FloatingIP allocateIP​(String pool)
        Deprecated.
        Allocate a floating ip address to tenant.
        Parameters:
        pool - the pool
        Returns:
        the floating ip
      • deallocateIP

        ActionResponse deallocateIP​(String id)
        Deprecated.
        Deallocate ip address from tenant.
        Parameters:
        id - the id of floating ip address
        Returns:
        the action response
      • addFloatingIP

        ActionResponse addFloatingIP​(Server server,
                                     String fixedIpAddress,
                                     String ipAddress)
        Deprecated.
        Adds floating-ip to server.
        Parameters:
        server - the server
        fixedIpAddress - the fixed ip address
        ipAddress - the ip address
        Returns:
        the action response
      • addFloatingIP

        ActionResponse addFloatingIP​(Server server,
                                     String ipAddress)
        Deprecated.
        Adds floating-ip to server.
        Parameters:
        server - the server
        ipAddress - the ip address
        Returns:
        the action response
      • removeFloatingIP

        ActionResponse removeFloatingIP​(Server server,
                                        String ipAddress)
        Deprecated.
        Remove floating-ip from server
        Parameters:
        server - the server
        ipAddress - the ip address
      • addFloatingIP

        ActionResponse addFloatingIP​(String serverId,
                                     String fixedIpAddress,
                                     String ipAddress)
        Deprecated.
        Adds floating-ip to server.
        Parameters:
        serverId - the id of the server
        fixedIpAddress - the fixed ip address
        ipAddress - the ip address
        Returns:
        the action response
      • addFloatingIP

        ActionResponse addFloatingIP​(String serverId,
                                     String ipAddress)
        Deprecated.
        Adds floating-ip to server.
        Parameters:
        serverId - the id of the server
        ipAddress - the ip address
        Returns:
        the action response
      • removeFloatingIP

        ActionResponse removeFloatingIP​(String serverId,
                                        String ipAddress)
        Deprecated.
        Remove floating-ip from server
        Parameters:
        serverId - the id of the server
        ipAddress - the ip address