public final class PccId
extends org.onlab.util.Identifier<org.onlab.packet.IpAddress>
| Modifier and Type | Method and Description |
|---|---|
org.onlab.packet.IpAddress |
ipAddress()
Returns the ip address.
|
static PccId |
pccId(org.onlab.packet.IpAddress ipAddress)
Create a PccId from ip address.
|
static PccId |
pccid(URI uri)
Returns PccId created from the given client URI.
|
static URI |
uri(org.onlab.packet.IpAddress ipAddress)
Produces client URI from the given ip address.
|
static URI |
uri(PccId pccid)
Produces client URI from the given DPID.
|
public static PccId pccId(org.onlab.packet.IpAddress ipAddress)
ipAddress - IP addresspublic org.onlab.packet.IpAddress ipAddress()
public static PccId pccid(URI uri)
uri - device URIpublic static URI uri(PccId pccid)
pccid - client pccidpublic static URI uri(org.onlab.packet.IpAddress ipAddress)
ipAddress - ip of client