public class DefaultDataPathExtRep extends Object implements DataPathExtRep
Constructor and Description |
---|
DefaultDataPathExtRep(IpAddress ip,
DataPathId dpid,
String mfr,
String hw,
String sw,
String serialNum)
Constructs a datapath external representation instance.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
dpid()
Returns the datapath ID of the OpenFlow instance.
|
String |
hw()
Returns the hardware version description of the OpenFlow instance.
|
IpAddress |
ip()
Returns the IP address associated with the device.
|
String |
mfr()
Returns the manufacturer description of the OpenFlow instance.
|
String |
serialNum()
Returns the serial number of the OpenFlow instance.
|
String |
sw()
Returns the software version description of the OpenFlow instance.
|
String |
toString() |
public DefaultDataPathExtRep(IpAddress ip, DataPathId dpid, String mfr, String hw, String sw, String serialNum)
ip
- the remote IP addressdpid
- the datapath IDmfr
- the manufacturerhw
- the hardware versionsw
- the software versionserialNum
- the serial numberNullPointerException
- if any given parameter is nullpublic IpAddress ip()
DeviceExtRep
ip
in interface DeviceExtRep
public DataPathId dpid()
DataPathExtRep
dpid
in interface DataPathExtRep
public String mfr()
DataPathExtRep
mfr
in interface DataPathExtRep
public String hw()
DataPathExtRep
hw
in interface DataPathExtRep
public String sw()
DataPathExtRep
sw
in interface DataPathExtRep
public String serialNum()
DataPathExtRep
serialNum
in interface DataPathExtRep
Copyright © 2015. All Rights Reserved.