Package org.openstack4j.api.networking
Interface NetFloatingIPService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
FloatingIPServiceImpl
public interface NetFloatingIPService extends RestService
Provides Neutron-based FloatingIP services.- Author:
- Nathan Anderson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetFloatingIPassociateToPort(String fipId, String portId)Associates a Floating IP to a Port.NetFloatingIPcreate(NetFloatingIP floatingIp)Creates a new Floating IPActionResponsedelete(String fipId)Deletes NetFloatingIP by id.NetFloatingIPdisassociateFromPort(String fipId)Disassociate from port.NetFloatingIPget(String fipId)Gets a NetFloatingIP by id.List<? extends NetFloatingIP>list()Returns list of floating IPs.List<? extends NetFloatingIP>list(Map<String,String> filteringParams)Returns list of floating IPs filtered by parameters.PortForwardingServiceportForwarding()
-
-
-
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
-
portForwarding
PortForwardingService portForwarding()
- Returns:
- the port forwarding Service API
-
-