public class FloatingIPServiceImpl extends BaseNetworkingServices implements NetFloatingIPService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
FloatingIPServiceImpl() |
Modifier and Type | Method and Description |
---|---|
NetFloatingIP |
associateToPort(String id,
String portId)
Associates a Floating IP to a Port.
|
NetFloatingIP |
create(NetFloatingIP floatingIp)
Creates a new Floating IP
|
ActionResponse |
delete(String id)
Deletes NetFloatingIP by id.
|
NetFloatingIP |
disassociateFromPort(String id)
Deassociate's from port.
|
NetFloatingIP |
get(String id)
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.
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends NetFloatingIP> list()
list
in interface NetFloatingIPService
public List<? extends NetFloatingIP> list(Map<String,String> filteringParams)
list
in interface NetFloatingIPService
filteringParams
- map (name, value) of filtering parameterspublic NetFloatingIP get(String id)
get
in interface NetFloatingIPService
id
- the floating-ip identifierpublic ActionResponse delete(String id)
delete
in interface NetFloatingIPService
id
- the idpublic NetFloatingIP create(NetFloatingIP floatingIp)
create
in interface NetFloatingIPService
floatingIp
- the floating ippublic NetFloatingIP associateToPort(String id, String portId)
associateToPort
in interface NetFloatingIPService
public NetFloatingIP disassociateFromPort(String id)
disassociateFromPort
in interface NetFloatingIPService
Copyright © 2017. All rights reserved.