public interface FloatingIpService
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(FloatingIpListener listener)
Adds the specified listener to floating Ip manager.
|
boolean |
createFloatingIps(Collection<FloatingIp> floatingIps)
Creates new floatingIps.
|
boolean |
exists(FloatingIpId floatingIpId)
Returns exists or not of specific floatingIp identifier.
|
boolean |
fixedIpIsUsed(org.onlab.packet.IpAddress fixedIpAddr,
TenantId tenantId,
FloatingIpId floatingIpId)
Returns is used or not of specific fixed IP address.
|
boolean |
floatingIpIsUsed(org.onlab.packet.IpAddress floatingIpAddr,
FloatingIpId floatingIpId)
Returns is used or not of specific floating IP address.
|
FloatingIp |
getFloatingIp(FloatingIpId floatingIpId)
Returns the floatingIp with the specified identifier.
|
Collection<FloatingIp> |
getFloatingIps()
Returns a collection of the currently known floating IP.
|
boolean |
removeFloatingIps(Collection<FloatingIpId> floatingIpIds)
Removes the specified floatingIp from the store.
|
void |
removeListener(FloatingIpListener listener)
Removes the specified listener to floating Ip manager.
|
boolean |
updateFloatingIps(Collection<FloatingIp> floatingIps)
Updates existing floatingIps.
|
boolean exists(FloatingIpId floatingIpId)
floatingIpId - floatingIp identifierboolean floatingIpIsUsed(org.onlab.packet.IpAddress floatingIpAddr,
FloatingIpId floatingIpId)
floatingIpAddr - floatingIp addressfloatingIpId - floatingIp identifierboolean fixedIpIsUsed(org.onlab.packet.IpAddress fixedIpAddr,
TenantId tenantId,
FloatingIpId floatingIpId)
fixedIpAddr - fixedIp addresstenantId - the tenant identifier of floating IPfloatingIpId - floatingIp identifierCollection<FloatingIp> getFloatingIps()
FloatingIp getFloatingIp(FloatingIpId floatingIpId)
floatingIpId - floatingIp identifierboolean createFloatingIps(Collection<FloatingIp> floatingIps)
floatingIps - the collection of floatingIpboolean updateFloatingIps(Collection<FloatingIp> floatingIps)
floatingIps - the collection of floatingIpboolean removeFloatingIps(Collection<FloatingIpId> floatingIpIds)
floatingIpIds - the collection of floatingIp identifiervoid addListener(FloatingIpListener listener)
listener - floating Ip listenervoid removeListener(FloatingIpListener listener)
listener - floating Ip listener