Interface NetFloatingIPService

    • Method Detail

      • list

        List<? extends NetFloatingIP> list()
        Returns list of floating IPs.
        Returns:
        List of NetFloatingIPs.
      • list

        List<? extends NetFloatingIP> list​(Map<String,​String> filteringParams)
        Returns list of floating IPs filtered by parameters.
        Parameters:
        filteringParams - map (name, value) of filtering parameters
      • get

        NetFloatingIP get​(String fipId)
        Gets a NetFloatingIP by id.
        Parameters:
        fipId - the floating-ip identifier.
        Returns:
        the NetFloatingIP
      • delete

        ActionResponse delete​(String fipId)
        Deletes NetFloatingIP by id.
        Parameters:
        fipId - the floating-ip identifier.
        Returns:
        the action response
      • create

        NetFloatingIP create​(NetFloatingIP floatingIp)
        Creates a new Floating IP
        Parameters:
        floatingIp - the floating ip
        Returns:
        the net floating ip
      • associateToPort

        NetFloatingIP associateToPort​(String fipId,
                                      String portId)
        Associates a Floating IP to a Port.
        Parameters:
        fipId - the floating-ip identifier.
        portId - Id of the port to associate to.
        Returns:
        the net floating ip
      • disassociateFromPort

        NetFloatingIP disassociateFromPort​(String fipId)
        Disassociate from port.
        Parameters:
        fipId - the floating-ip identifier.
        Returns:
        the net floating ip