public interface DataPathEvent extends OpenflowEvent
These events are consumed by DataPathListener
s who wish to be
notified when datapaths connect to, or disconnect from, the controller.
The event types associated with this event are:
OpenflowEventType.DATAPATH_CONNECTED
OpenflowEventType.DATAPATH_READY
OpenflowEventType.DATAPATH_DISCONNECTED
OpenflowEventType.DATAPATH_REVOKED
OpenflowEventType.DROPPED_EVENTS_CHECKPOINT
The DATAPATH_CONNECTED
event is emitted after handshaking
with the device has completed, but before default flows are laid down.
The DATAPATH_READY
event is emitted after default flows have
been installed on the device.
The DATAPATH_DISCONNECTED
event is emitted when a device
disconnects from the controller.
The DATAPATH_REVOKED
event is emitted in the rare case when a
device attempts to connect with a datapath ID that is a duplicate of an
already-connected device.
The DROPPED_EVENTS_CHECKPOINT
event is a place-holder indicating
where in a consumer's event queue events were dropped because of a
queue-full condition.
Modifier and Type | Method and Description |
---|---|
DataPathId |
dpid()
Returns the id of the datapath associated with this event.
|
IpAddress |
ip()
Returns the IP address of the datapath (i.e. the remote address
of the network connection from the switch).
|
ProtocolVersion |
negotiated()
Returns the protocol version negotiated between the controller and
the associated datapath.
|
ts, type
DataPathId dpid()
ProtocolVersion negotiated()
IpAddress ip()
Copyright © 2015. All Rights Reserved.