public class DefaultEventSubject extends Object implements OvsdbEventSubject
| Constructor and Description |
|---|
DefaultEventSubject(org.onlab.packet.MacAddress mac,
Set<org.onlab.packet.IpAddress> ips,
OvsdbPortName portname,
OvsdbPortNumber portnumber,
OvsdbDatapathId dpid,
OvsdbPortType portType,
OvsdbIfaceId ifaceid)
Creates an end-station event subject using the supplied information.
|
| Modifier and Type | Method and Description |
|---|---|
OvsdbDatapathId |
dpid()
Returns the Ovs dpid associated with the host.
|
boolean |
equals(Object obj) |
int |
hashCode() |
org.onlab.packet.MacAddress |
hwAddress()
Returns the MAC address associated with this host (NIC).
|
OvsdbIfaceId |
ifaceid()
Returns the vm ifaceid associated with the host.
|
Set<org.onlab.packet.IpAddress> |
ipAddress()
Returns the IP address associated with this host's MAC.
|
OvsdbPortName |
portName()
Returns the Port name associated with the host.
|
OvsdbPortNumber |
portNumber()
Returns the Port number associated with the host.
|
OvsdbPortType |
portType()
Returns the Port type associated with the host.
|
String |
toString() |
public DefaultEventSubject(org.onlab.packet.MacAddress mac,
Set<org.onlab.packet.IpAddress> ips,
OvsdbPortName portname,
OvsdbPortNumber portnumber,
OvsdbDatapathId dpid,
OvsdbPortType portType,
OvsdbIfaceId ifaceid)
mac - host MAC addressips - host MAC ipsportname - port nameportnumber - port numberdpid - ovs dpidportType - port typeifaceid - vm ifaceidpublic org.onlab.packet.MacAddress hwAddress()
OvsdbEventSubjecthwAddress in interface OvsdbEventSubjectpublic Set<org.onlab.packet.IpAddress> ipAddress()
OvsdbEventSubjectipAddress in interface OvsdbEventSubjectpublic OvsdbPortName portName()
OvsdbEventSubjectportName in interface OvsdbEventSubjectpublic OvsdbPortNumber portNumber()
OvsdbEventSubjectportNumber in interface OvsdbEventSubjectpublic OvsdbPortType portType()
OvsdbEventSubjectportType in interface OvsdbEventSubjectpublic OvsdbDatapathId dpid()
OvsdbEventSubjectdpid in interface OvsdbEventSubjectpublic OvsdbIfaceId ifaceid()
OvsdbEventSubjectifaceid in interface OvsdbEventSubject