Package org.onosproject.net
Class IpElementId
- java.lang.Object
-
- org.onosproject.net.ElementId
-
- org.onosproject.net.IpElementId
-
- All Implemented Interfaces:
NetworkResource
public final class IpElementId extends ElementId
Represent for a Element ID using ip address.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
IpAddress
ipAddress()
Returns the ip address.static IpElementId
ipElement(IpAddress ipAddress)
Create a IP Element ID.String
toString()
-
-
-
Method Detail
-
ipElement
public static IpElementId ipElement(IpAddress ipAddress)
Create a IP Element ID.- Parameters:
ipAddress
- IP address- Returns:
- IpElementId
-
ipAddress
public IpAddress ipAddress()
Returns the ip address.- Returns:
- ipAddress
-
-