public final class DefaultFloatingIp extends Object implements FloatingIp
FloatingIp.Status| Constructor and Description |
|---|
DefaultFloatingIp(FloatingIpId id,
TenantId tenantId,
TenantNetworkId networkId,
VirtualPortId portId,
RouterId routerId,
org.onlab.packet.IpAddress floatingIp,
org.onlab.packet.IpAddress fixedIp,
FloatingIp.Status status)
Creates a floating Ip object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.onlab.packet.IpAddress |
fixedIp()
Returns the fixed ip address.
|
org.onlab.packet.IpAddress |
floatingIp()
Returns the floating ip address.
|
int |
hashCode() |
FloatingIpId |
id()
Returns the floatingIp identifier.
|
TenantNetworkId |
networkId()
Returns the network identifier.
|
VirtualPortId |
portId()
Returns the port identifier.
|
RouterId |
routerId()
Returns the router identifier.
|
FloatingIp.Status |
status()
Returns the status of floating ip.
|
TenantId |
tenantId()
Returns the tenant identifier.
|
String |
toString() |
public DefaultFloatingIp(FloatingIpId id, TenantId tenantId, TenantNetworkId networkId, VirtualPortId portId, RouterId routerId, org.onlab.packet.IpAddress floatingIp, org.onlab.packet.IpAddress fixedIp, FloatingIp.Status status)
id - floatingIp identifiertenantId - tenant identifiernetworkId - the identifier of network associated with the floating IpportId - port identifierrouterId - router identifierfloatingIp - floatingIp addressfixedIp - the fixed Ip associated with the floating Ipstatus - the floating Ip statuspublic FloatingIpId id()
FloatingIpid in interface FloatingIppublic TenantId tenantId()
FloatingIptenantId in interface FloatingIppublic TenantNetworkId networkId()
FloatingIpnetworkId in interface FloatingIppublic VirtualPortId portId()
FloatingIpportId in interface FloatingIppublic RouterId routerId()
FloatingIprouterId in interface FloatingIppublic org.onlab.packet.IpAddress floatingIp()
FloatingIpfloatingIp in interface FloatingIppublic org.onlab.packet.IpAddress fixedIp()
FloatingIpfixedIp in interface FloatingIppublic FloatingIp.Status status()
FloatingIpstatus in interface FloatingIp