Package | Description |
---|---|
com.hp.of.common |
Code shared by the OpenFlow Controller and Mock OpenFlow Switch
implementations.
|
com.hp.of.ctl |
Public API for the OpenFlow Controller.
|
com.hp.of.ctl.flow |
Public API for the OpenFlow Flow Manager.
|
com.hp.of.ctl.pipeline |
Definitions for conveying OpenFlow switch pipeline definitions and capabilities.
|
com.hp.of.ctl.pkt |
Public API for the OpenFlow Packet Sequencer and participating
Packet Listeners.
|
com.hp.of.json |
JSON factory and codecs for Openflow structures.
|
com.hp.of.lib |
OpenFlow Protocol Library.
|
com.hp.of.lib.dt |
A set of classes representing data values used in the OpenFlow protocol.
|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
com.hp.of.sw |
Provides mock implementations of OpenFlow switches.
|
com.hp.sdn.adm.devown |
Definitions of the services pertaining to device ownership.
|
com.hp.sdn.api |
Definitions of services for driving outbound external communications for
interacting with peers and integrating with other external applications,
e.g.
|
com.hp.sdn.common |
Definitions of general services applicable to multiple tiers of the
SDN Controller.
|
com.hp.sdn.ctl.diag |
Model objects for path diagnostic application.
|
com.hp.sdn.device |
API for accessing & supplying information about network infrastructure devices.
|
com.hp.sdn.diag |
Definitions of the path diagnostic service.
|
com.hp.sdn.disco.of.device |
OpenFlow Device Discovery
|
com.hp.sdn.dvc |
Device Management
|
com.hp.sdn.dvc.facet |
Device Driver Facet interfaces
|
com.hp.sdn.event | |
com.hp.sdn.flowmgr |
Deprecated Definitions of the services provided by the Flow Manager Application.
|
com.hp.sdn.model |
Base abstractions used in consuming & producing Network information model.
|
com.hp.sdn.teamcs |
...
|
com.hp.sdn.tvue |
Topology viewer API & domain model definitions.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgrammableSink.addError(DataPathId dpid,
List<String> context,
String msg)
Adds an assertion error to the accumulation list for the given
datapath.
|
void |
ProgrammableSink.addError(DataPathId dpid,
List<String> context,
String msg,
Object exp,
Object act)
Adds an assertion error to the accumulation list for the given
datapath.
|
void |
ProgrammableSink.assocXid(DataPathId dpid,
long xid)
Associates an expected transaction id with a datapath.
|
void |
ProgrammableSink.dataPathAdded(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip)
Invoked by the controller when a new datapath has completed the
extended handshake sequence and is ready to talk OpenFlow.
|
void |
MessageSink.dataPathAdded(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip)
Invoked by the controller when a new datapath has completed the
extended handshake sequence and is ready to talk OpenFlow.
|
void |
ProgrammableSink.dataPathReady(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip) |
void |
MessageSink.dataPathReady(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip)
Invoked by the controller when a new datapath has completed the
post-handshake task and is ready for some real work.
|
void |
ProgrammableSink.dataPathRemoved(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip,
boolean logMsg)
Invoked by the controller when a datapath connection is dropped.
|
void |
MessageSink.dataPathRemoved(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip,
boolean logMsg)
Invoked by the controller when a datapath connection is dropped.
|
void |
ProgrammableSink.dataPathRevoked(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip)
Invoked by the controller when a datapath connection is refused
because a datapath with the given ID is already connected.
|
void |
MessageSink.dataPathRevoked(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip)
Invoked by the controller when a datapath connection is refused
because a datapath with the given ID is already connected.
|
void |
ProgrammableSink.expect(DataPathId dpid,
MessageType type)
Adds the expectation that the next message is of the specified type.
|
void |
ProgrammableSink.expect(DataPathId dpid,
MessageType type,
AbstractMsgAssertor ma)
Adds the expectation that the next message is of the specified type,
and that the assertions embodied in the message assertor, when run
against the message, are all true.
|
void |
ProgrammableSink.msgRx(OpenflowMessage msg,
DataPathId dpid,
int auxId,
ProtocolVersion negotiated)
Incoming OpenFlow messages are routed through this API method.
|
void |
MessageSink.msgRx(OpenflowMessage msg,
DataPathId dpid,
int auxId,
ProtocolVersion negotiated)
OpenFlow message received from the specified datapath on the given
auxiliary channel.
|
Constructor and Description |
---|
AbstractMsgAssertor(String friendlyname,
DataPathId dpid,
ProgrammableSink sink)
Constructs a message assertor.
|
ProgrammableSink(DataPathId defaultDpid)
Constructs a programmable message sink.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
DataPathEvent.dpid()
Returns the id of the datapath associated with this event.
|
DataPathId |
MessageEvent.dpid()
Returns the ID of the datapath associated with this event.
|
DataPathId |
ConnectionDetails.dpid()
The id of the datapath to which this is a connection.
|
Modifier and Type | Method and Description |
---|---|
String |
DeviceAdvisor.deviceTypeName(IpAddress ip,
DataPathId dpid,
MBodyDesc desc)
Returns the name of the device type associated with this
DataPathId . |
MessageFuture |
ControllerServiceAdapter.enablePort(DataPathId dpid,
BigPortNumber port,
boolean enable) |
MessageFuture |
ControllerService.enablePort(DataPathId dpid,
BigPortNumber port,
boolean enable)
Instructs the controller to enable or disable the given port on the
specified datapath.
|
DataPathDetails |
ControllerMx.getDataPathDetails(DataPathId dpid)
Returns detailed information describing a specific OpenFlow
datapath, including information about its auxiliary connections.
|
DataPathInfo |
ControllerServiceAdapter.getDataPathInfo(DataPathId dpid) |
DataPathInfo |
ControllerService.getDataPathInfo(DataPathId dpid)
Returns information describing a specific OpenFlow datapath.
|
List<MBodyExperimenter> |
ControllerServiceAdapter.getExperimenter(DataPathId dpid) |
List<MBodyExperimenter> |
ControllerService.getExperimenter(DataPathId dpid)
Returns meter configuration or statistics (for OF 1.0 datapaths),
encoded in experimenter multipart replies.
|
List<MBodyFlowStats> |
ControllerServiceAdapter.getFlowStats(DataPathId dpid,
TableId tableId) |
List<MBodyFlowStats> |
ControllerService.getFlowStats(DataPathId dpid,
TableId tableId)
Returns flows installed in the specified table of the given datapath.
|
List<MBodyGroupDescStats> |
ControllerServiceAdapter.getGroupDescription(DataPathId dpid) |
List<MBodyGroupDescStats> |
ControllerService.getGroupDescription(DataPathId dpid)
Returns the group descriptions from the specified datapath.
|
MBodyGroupDescStats |
ControllerServiceAdapter.getGroupDescription(DataPathId dpid,
GroupId groupId) |
MBodyGroupDescStats |
ControllerService.getGroupDescription(DataPathId dpid,
GroupId groupId)
Returns the group description for the given group ID, from the
specified datapath.
|
MBodyGroupFeatures |
ControllerServiceAdapter.getGroupFeatures(DataPathId dpid) |
MBodyGroupFeatures |
ControllerService.getGroupFeatures(DataPathId dpid)
Returns the supported group features for the specified datapath.
|
List<MBodyGroupStats> |
ControllerServiceAdapter.getGroupStats(DataPathId dpid) |
List<MBodyGroupStats> |
ControllerService.getGroupStats(DataPathId dpid)
Returns the group statistics from the specified datapath.
|
MBodyGroupStats |
ControllerServiceAdapter.getGroupStats(DataPathId dpid,
GroupId groupId) |
MBodyGroupStats |
ControllerService.getGroupStats(DataPathId dpid,
GroupId groupId)
Returns the group statistics for the given group ID, from the specified
datapath.
|
List<MBodyMeterConfig> |
ControllerServiceAdapter.getMeterConfig(DataPathId dpid) |
List<MBodyMeterConfig> |
ControllerService.getMeterConfig(DataPathId dpid)
Returns the meter configuration details from the specified datapath.
|
MBodyMeterConfig |
ControllerServiceAdapter.getMeterConfig(DataPathId dpid,
MeterId meterId) |
MBodyMeterConfig |
ControllerService.getMeterConfig(DataPathId dpid,
MeterId meterId)
Returns the meter configuration for the given meter ID, from the
specified datapath.
|
MBodyMeterFeatures |
ControllerServiceAdapter.getMeterFeatures(DataPathId dpid) |
MBodyMeterFeatures |
ControllerService.getMeterFeatures(DataPathId dpid)
Returns the meter features for the specified datapath.
|
List<MBodyMeterStats> |
ControllerServiceAdapter.getMeterStats(DataPathId dpid) |
List<MBodyMeterStats> |
ControllerService.getMeterStats(DataPathId dpid)
Returns the meter statistics from the specified datapath.
|
MBodyMeterStats |
ControllerServiceAdapter.getMeterStats(DataPathId dpid,
MeterId meterId) |
MBodyMeterStats |
ControllerService.getMeterStats(DataPathId dpid,
MeterId meterId)
Returns the meter statistics for the given meter ID, from the specified
datapath.
|
PipelineDefinition |
ControllerServiceAdapter.getPipelineDefinition(DataPathId dpId) |
PipelineDefinition |
ControllerService.getPipelineDefinition(DataPathId dpid)
Returns the
PipelineDefinition for the given datapath. |
List<MBodyPortStats> |
ControllerServiceAdapter.getPortStats(DataPathId dpid) |
List<MBodyPortStats> |
ControllerService.getPortStats(DataPathId dpid)
Returns the port statistics from the specified datapath.
|
MBodyPortStats |
ControllerServiceAdapter.getPortStats(DataPathId dpid,
BigPortNumber portNumber) |
MBodyPortStats |
ControllerService.getPortStats(DataPathId dpid,
BigPortNumber portNumber)
Returns the port statistics for the given port, from the specified
datapath.
|
boolean |
RoleAdvisor.isMasterFor(DataPathId dpid)
Returns
true if the local controller instance has the
Master role for the specified data path; false
otherwise. |
void |
ControllerServiceAdapter.notifyDataPathReady(DataPathId dpid,
ProtocolVersion pv,
IpAddress ip) |
void |
ControllerService.notifyDataPathReady(DataPathId dpid,
ProtocolVersion pv,
IpAddress ip)
Notify listeners that a datapath is ready for use.
|
void |
RoleAdvisor.postHandshake(DataPathId dpid,
IpAddress ip,
ProtocolVersion pv,
Runnable task,
Runnable ownerOnlyTask)
Called to inform the service of a post-handshake.
|
void |
RoleAdvisor.preDisconnected(DataPathId dpid,
IpAddress ip,
ProtocolVersion pv)
Called to inform the service of a disconnection.
|
void |
FlowInitializer.purgeFlows(DataPathId dpid)
Sends "delete all flowmods" command to the specified datapath.
|
boolean |
FlowInitializer.pushDefaultFlows(DataPathId dpid)
Gathers and pushes default flows to the specified datapath.
|
List<MessageFuture> |
ControllerServiceAdapter.send(List<OpenflowMessage> msgs,
DataPathId dpid) |
List<MessageFuture> |
ControllerService.send(List<OpenflowMessage> msgs,
DataPathId dpid)
Instructs the controller to send the specified list of messages
(in order) to the specified datapath.
|
List<MessageFuture> |
MessageSender.send(List<OpenflowMessage> msgs,
DataPathId dpid)
Sends the specified list of messages (in order) to the specified
datapath.
|
MessageFuture |
ControllerServiceAdapter.send(OpenflowMessage msg,
DataPathId dpid) |
MessageFuture |
ControllerService.send(OpenflowMessage msg,
DataPathId dpid)
Instructs the controller to send the specified message to the
specified datapath.
|
MessageFuture |
MessageSender.send(OpenflowMessage msg,
DataPathId dpid)
Sends the specified message to the specified datapath.
|
void |
SubComponentService.send(OpenflowMessage msg,
DataPathId dpid)
Sends the specified message to the specified datapath, via the
sub-component.
|
MessageFuture |
ControllerServiceAdapter.sendConfirmedFlowMod(OfmFlowMod flowMod,
DataPathId dpid) |
MessageFuture |
ControllerService.sendConfirmedFlowMod(OfmFlowMod flowMod,
DataPathId dpid)
Sends the given FlowMod message to the specified datapath.
|
void |
ControllerServiceAdapter.sendFlowMod(OfmFlowMod flowMod,
DataPathId dpid) |
void |
ControllerService.sendFlowMod(OfmFlowMod flowMod,
DataPathId dpid)
Sends the given FlowMod message to the specified datapath.
|
MessageFuture |
ControllerServiceAdapter.sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid) |
MessageFuture |
ControllerService.sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid)
Sends the given GroupMod message to the specified datapath.
|
MessageFuture |
ControllerServiceAdapter.sendMeterMod(OfmMeterMod meterMod,
DataPathId dpid) |
MessageFuture |
ControllerService.sendMeterMod(OfmMeterMod meterMod,
DataPathId dpid)
Sends the given MeterMod message to the specified datapath.
|
void |
ControllerMx.stopIOProcessing(DataPathId dpid)
Stops all IO processing for the specified datapath.
|
ProtocolVersion |
ControllerServiceAdapter.versionOf(DataPathId dpid) |
ProtocolVersion |
ControllerService.versionOf(DataPathId dpid)
Returns the (negotiated) protocol version of the specified datapath.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
MeterEvent.dpid()
Returns the associated datapath ID.
|
DataPathId |
FlowEvent.dpid()
Returns the associated datapath ID.
|
DataPathId |
GroupEvent.dpid()
Returns the associated datapath ID.
|
Modifier and Type | Method and Description |
---|---|
List<MBodyExperimenter> |
MeterTracker.getExperimenter(DataPathId dpid)
Returns meter configuration or statistics (for OF 1.0 datapaths),
encoded in experimenter multipart replies.
|
List<MBodyFlowStats> |
FlowTracker.getFlowStats(DataPathId dpid,
TableId tableId)
Returns flows installed in the specified table of the given datapath.
|
List<MBodyGroupDescStats> |
GroupTracker.getGroupDescription(DataPathId dpid)
Returns the group descriptions from the specified datapath.
|
MBodyGroupDescStats |
GroupTracker.getGroupDescription(DataPathId dpid,
GroupId groupId)
Returns the group description for the given group ID, from the
specified datapath.
|
MBodyGroupFeatures |
GroupTracker.getGroupFeatures(DataPathId dpid)
Returns the supported group features for the specified datapath.
|
List<MBodyGroupStats> |
GroupTracker.getGroupStats(DataPathId dpid)
Returns the group statistics from the specified datapath.
|
MBodyGroupStats |
GroupTracker.getGroupStats(DataPathId dpid,
GroupId groupId)
Returns the group statistics for the given group ID, from the specified
datapath.
|
List<MBodyMeterConfig> |
MeterTracker.getMeterConfig(DataPathId dpid)
Returns the meter configuration details from the specified datapath.
|
MBodyMeterConfig |
MeterTracker.getMeterConfig(DataPathId dpid,
MeterId meterId)
Returns the meter configuration for the given meter ID, from the
specified datapath.
|
MBodyMeterFeatures |
MeterTracker.getMeterFeatures(DataPathId dpid)
Returns the meter features for the specified datapath.
|
List<MBodyMeterStats> |
MeterTracker.getMeterStats(DataPathId dpid)
Returns the meter statistics from the specified datapath.
|
MBodyMeterStats |
MeterTracker.getMeterStats(DataPathId dpid,
MeterId meterId)
Returns the meter statistics for the given meter ID, from the specified
datapath.
|
MessageFuture |
FlowTracker.sendConfirmedFlowMod(OfmFlowMod flowMod,
DataPathId dpid)
Sends the given FlowMod message to the specified datapath.
|
void |
FlowTracker.sendFlowMod(OfmFlowMod flowMod,
DataPathId dpid)
Sends the given FlowMod message to the specified datapath.
|
MessageFuture |
GroupTracker.sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid)
Sends the given GroupMod message to the specified datapath.
|
MessageFuture |
MeterTracker.sendMeterMod(OfmMeterMod meterMod,
DataPathId dpid)
Sends the given MeterMod message to the specified datapath.
|
Modifier and Type | Method and Description |
---|---|
Set<TableId> |
PipelineReader.align(OfmFlowMod flowmod,
DataPathId dpid)
Returns the set of table IDs of the given datapath's pipeline definition
that support the given flow mod.
|
PipelineDefinition |
PipelineReader.getDefinition(DataPathId dpid)
Returns the pipeline definition for the given datapath.
|
Modifier and Type | Field and Description |
---|---|
static DataPathId |
TestMessageContext.DPID
A test datapath ID, used by default.
|
Constructor and Description |
---|
TestMessageContext(OfmPacketIn packetIn,
DataPathId dpid)
Constructs the message context for the given PacketIn
message, by wrapping the message in a mock event, using the supplied
datapath ID.
|
Modifier and Type | Method and Description |
---|---|
protected DataPathId |
DataPathInfoCodec.getDpid(com.fasterxml.jackson.databind.node.ObjectNode node,
String key)
Reads the property with the given key from the given object node and
attempts to interpret it as a datapath identifier.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
OfPacketReader.readDataPathId()
Reads a (u32) datapath id from the buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
OfPacketWriter.write(DataPathId dpid)
Writes a datapath id (u64) to the buffer.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
DataPathInfoAdapter.dpid() |
DataPathId |
DataPathInfo.dpid()
Returns the datapath identifier.
|
static DataPathId |
DataPathId.dpid(String spec)
Convenience method that returns the datapath ID for the given string
representation.
|
static DataPathId |
DataPathId.valueOf(byte[] bytes)
Returns a datapath ID instance from the given byte array.
|
static DataPathId |
DataPathId.valueOf(long value)
Returns a datapath ID instance from the given long value.
|
static DataPathId |
DataPathId.valueOf(String spec)
Returns a datpath ID instance that encapsulates the virtual
identifier and MAC address expressed in the given string specification.
|
static DataPathId |
DataPathId.valueOf(VId vid,
MacAddress mac)
Returns a datapath ID instance that encapsulates the given
virtual identifier and MAC address.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DataPathUtils.attachMemento(DataPathId dpid,
Object dpi)
Attaches the specified datapath info (memento) to the given
datapath ID instance.
|
int |
DataPathId.compareTo(DataPathId o) |
protected void |
DataPathUtils.detachMemento(DataPathId dpid)
Removes the reference to the datapath info (memento) from the
given datapath ID instance.
|
protected Object |
DataPathUtils.getMemento(DataPathId dpid)
Returns the datapath info (memento) associated with this
datapath ID.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
DataPathMessageFuture.dpid()
Returns the datapath ID associated with this future.
|
DataPathId |
OfmFeaturesReply.getDpid()
Returns the datapath id uniquely identifying the datapath;
Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
static MessageBatchFuture |
MessageBatchFuture.createBatchFuture(List<OfmFlowMod> flows,
DataPathId dpid)
Creates and returns a message batch future for the given messages
destined for the specified datapath.
|
OfmMutableFeaturesReply |
OfmMutableFeaturesReply.dpid(DataPathId dpid)
Sets the datapath id; Since 1.0.
|
Constructor and Description |
---|
DataPathMessageFuture(OpenflowMessage request,
DataPathId dpid)
Constructs a message future for the given request, destined for the
specified datapath.
|
Modifier and Type | Field and Description |
---|---|
protected DataPathId |
MockOpenflowSwitch.dpid |
Modifier and Type | Method and Description |
---|---|
DataPathId |
SwitchDefn.getDpid()
Returns the datapath id.
|
DataPathId |
MockOpenflowSwitch.getDpid()
Convenience method that returns the datapath ID as configured in
the switch definition.
|
DataPathId[] |
MockSwitchBank.getDpids()
Returns the datapath IDs of the configured switches in an array.
|
Modifier and Type | Method and Description |
---|---|
void |
MockSwitchBank.activate(DataPathId dpid)
Activates the mock switch with the specified datapath ID.
|
void |
MockSwitchBank.deactivate(DataPathId dpid)
Deactivates the mock switch with the specified datapath ID.
|
MockOpenflowSwitch |
BankDefn.findSwitch(DataPathId dpid)
Returns the mock switch with the specified datapath id.
|
void |
MockSwitchBank.setInternalMsgLatch(DataPathId dpid,
CountDownLatch latch)
Install a count down latch on the specified mock switch's message
handler.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
OwnerChangeData.dataPathId()
Returns the datapath IP.
|
DataPathId |
OwnerState.dataPathId()
Returns the datapath IP.
|
DataPathId |
DeviceOwnerEvent.dataPathId()
Returns the data path ID on which the ownership change occurred.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DeviceOwnerService.isOwner(DataPathId dataPathId)
Returns
true if the local controller is the current device owner
for the specified DataPathId . |
OwnerState |
DeviceOwnerService.ownerStateFor(DataPathId dataPathId)
Returns the
OwnerState for the specified DataPathId . |
void |
DeviceOwnerService.postHandshake(DataPathId dataPathId,
IpAddress deviceIp,
ProtocolVersion negotiated,
Runnable task,
Runnable ownerOnlyTask)
Called to inform the service of a post-handshake.
|
void |
DeviceOwnerService.preDisconnected(DataPathId dataPathId,
IpAddress deviceIp,
ProtocolVersion negotiated)
Called to inform the service of a disconnection.
|
Constructor and Description |
---|
DeviceOwnerEvent(DeviceOwnerEvent.Type type,
OwnerChangeTrigger trigger,
IpAddress newOwnerIp,
IpAddress previousOwnerIp,
DataPathId dataPathId,
ProtocolVersion negotiated,
IpAddress deviceIp,
IpAddress localIp)
Base constructor.
|
OwnerChangeData(OwnerChangeTrigger trigger,
DataPathId dataPathId,
IpAddress deviceIp,
boolean isReady,
IpAddress ownerIp,
IpAddress peerIp)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
MessageFuture |
RemoteControllerService.enablePort(SystemInformation system,
DataPathId dpid,
BigPortNumber port,
boolean enable)
Instructs the controller to enable or disable the given port on the
specified datapath.
|
List<Port> |
RemoteControllerService.getAllPorts(SystemInformation system,
DataPathId dpid)
Returns the information from the team of controllers forming a cluster
describing each of the ports currently connected for the given datapath
|
DataPathInfo |
RemoteControllerService.getDataPathInfo(SystemInformation system,
DataPathId dpId)
Returns information from a particular member controller describing a
specific OpenFlow datapath.
|
List<MBodyExperimenter> |
RemoteControllerService.getExperimenter(SystemInformation system,
DataPathId dpId)
Lists meters from a particular member controller configured on the
specified datapath.
|
List<MBodyFlowStats> |
RemoteControllerService.getFlows(SystemInformation system,
DataPathId dpId,
TableId tableId)
Returns the flows installed from a particular member controller in the
specified table of the given datapath.
|
List<MBodyGroupDescStats> |
RemoteControllerService.getGroupDescription(SystemInformation system,
DataPathId dpId)
Returns the groups description from a particular member controller
configured for the specified datapath.
|
MBodyGroupDescStats |
RemoteControllerService.getGroupDescription(SystemInformation system,
DataPathId dpId,
GroupId groupId)
Returns the group description from a particular member controller
configured on the specified datapath and groupId.
|
MBodyGroupFeatures |
RemoteControllerService.getGroupFeatures(SystemInformation system,
DataPathId dpid)
Returns the supported group features for the specified datapath.
|
List<MBodyGroupStats> |
RemoteControllerService.getGroupStats(SystemInformation system,
DataPathId dpId)
Returns the groups statistics from a particular member controller
configured for the specified datapath.
|
MBodyGroupStats |
RemoteControllerService.getGroupStats(SystemInformation system,
DataPathId dpId,
GroupId groupId)
Returns the group statistics from a particular member controller
configured for the specified datapath and groupId.
|
List<MBodyMeterConfig> |
RemoteControllerService.getMeterConfig(SystemInformation system,
DataPathId dpId)
Lists meters configuration from a particular member controller
configured on the specified datapath.
|
MBodyMeterConfig |
RemoteControllerService.getMeterConfig(SystemInformation system,
DataPathId dpid,
MeterId meterId)
Returns the meter configuration for the given meter ID, from the
specified datapath.
|
MBodyMeterFeatures |
RemoteControllerService.getMeterFeatures(SystemInformation system,
DataPathId dpid)
Returns the meter features for the specified datapath.
|
List<MBodyMeterStats> |
RemoteControllerService.getMeterStats(SystemInformation system,
DataPathId dpId)
Lists meters statistic from a particular member controller configured
on the specified datapath.
|
MBodyMeterStats |
RemoteControllerService.getMeterStats(SystemInformation system,
DataPathId dpid,
MeterId meterId)
Returns the meter statistics for the given meter ID, from a particular
member controller configured on the specified datapath.
|
Port |
RemoteControllerService.getPorts(SystemInformation system,
DataPathId dpid,
long portid)
Returns the information from the team of controllers forming a cluster
describing each of the ports currently connected for the given datapath
for the given port id.
|
List<MBodyPortStats> |
RemoteControllerService.getPortStats(SystemInformation system,
DataPathId dpid)
Returns the port statistics from the specified datapath.
|
MBodyPortStats |
RemoteControllerService.getPortStats(SystemInformation system,
DataPathId dpid,
BigPortNumber portNumber)
Returns the port statistics for the given port, from the specified
datapath.
|
List<MessageFuture> |
RemoteControllerService.send(SystemInformation system,
List<OpenflowMessage> msgs,
DataPathId dpId)
Instructs a particular member controller to send the specified list of
messages (in order) to the specified datapath.
|
MessageFuture |
RemoteControllerService.send(SystemInformation system,
OpenflowMessage msg,
DataPathId dpId)
Instructs a particular member controller to send the specified message
to the specified datapath.
|
void |
RemoteControllerService.sendFlowMod(SystemInformation system,
OfmFlowMod flowMod,
DataPathId dpid)
Dispatches the OpenFlow FlowMod message from a particular
member controller to the given datapath via the Flow Tracker.
|
MessageFuture |
RemoteControllerService.sendGroupMod(SystemInformation system,
OfmGroupMod groupMod,
DataPathId dpid)
Sends the given GROUP_MOD message from a particular member controller
to the specified datapath.
|
MessageFuture |
RemoteControllerService.sendMeterMod(SystemInformation system,
OfmMeterMod meterMod,
DataPathId dpId)
Sends the OpenFlow METER_MOD message from a particular member
controller to the specified datapath.
|
Modifier and Type | Method and Description |
---|---|
Set<DataPathId> |
PacketModel.getRegisteredPosts()
Returns the set of registered observation posts.
|
Modifier and Type | Method and Description |
---|---|
void |
PacketModel.registerObservationPost(DataPathId dataPathId)
Registers the observation with the specified data path identifier.
|
void |
PacketModel.unregisterObservationPost(DataPathId dataPathId)
Unregisters the observation with the specified data path identifier.
|
void |
PacketModel.updateObservationPost(DataPathId dataPathId,
OfmPacketIn ofmPacketIn)
Updates the observation post with the corresponding open flow packet
in.
|
Modifier and Type | Method and Description |
---|---|
Set<DataPathId> |
DiagPacket.getRegisteredPosts() |
Modifier and Type | Method and Description |
---|---|
void |
DiagPacket.registerObservationPost(DataPathId dataPathId) |
void |
DiagPacket.unregisterObservationPost(DataPathId dataPathId) |
void |
DiagPacket.updateObservationPost(DataPathId dataPathId,
OfmPacketIn ofmPacketIn) |
Modifier and Type | Method and Description |
---|---|
Device |
DeviceService.getDevice(DataPathId dpid)
Returns the device with the specified management Data Path Id (dpid).
|
Device |
DeviceServiceAdapter.getDevice(DataPathId dpid) |
<T extends Facet> |
FacetService.getFacet(DataPathId dpid,
Class<T> facetClass)
Returns an implementation of the specified facet class, or null if that
facet is not supported by this datapath.
|
void |
DeviceFilter.setDpid(DataPathId id) |
Modifier and Type | Method and Description |
---|---|
Set<DataPathId> |
PathDiagnosticService.getNextHopDevice(DataPathId dpid,
String pid)
Returns the set of next hop data path IDs on the path for a given
data path ID.
|
Set<DataPathId> |
PathDiagnosticService.getObservationPosts(String pid,
ProtocolId packetType)
Returns the identity of all the observation posts for a given
packet model ID.
|
Modifier and Type | Method and Description |
---|---|
Set<ConnectionPoint> |
PathDiagnosticService.getNextHop(DataPathId dpid,
String pid)
Returns the set of next hop connection point on the path for a given
data path ID and packet ID.
|
Set<DataPathId> |
PathDiagnosticService.getNextHopDevice(DataPathId dpid,
String pid)
Returns the set of next hop data path IDs on the path for a given
data path ID.
|
boolean |
PathDiagnosticService.packetArrived(DataPathId dpid,
String pid)
Determines whether the last packet sent on the network arrived at the
specified observation post.
|
void |
PathDiagnosticService.removeObservationPost(DataPathId dpid,
String pid)
Removes the observation post from the specified data path.
|
void |
PathDiagnosticService.sendPacket(String pid,
DataPathId dpid,
BigPortNumber outPort)
Sends the packet matching the given packet model ID into the network.
|
void |
PathDiagnosticService.setObservationPost(DataPathId dpid,
String pid)
Sets an observation post on the given data path.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
DefaultDataPathExtRep.dpid() |
DataPathId |
DataPathExtRep.dpid()
Returns the datapath ID of the OpenFlow instance.
|
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 |
SerialDevice.dpid() |
Modifier and Type | Method and Description |
---|---|
String |
FriendlyName.getName(DataPathId dpid)
Parse the external representation data and provide a friendly string
that represents the device.
|
SegmentId |
OpenFlowFacet.getSegmentId(DataPathId dpid)
Gets the segment ID from the device's datapath ID, if possible.
|
Modifier and Type | Method and Description |
---|---|
void |
DataPathEventAction.execute(DataPathId dpid,
OpenflowEventType eventType)
Run the task against the given datapath
|
void |
DataPathEventActionBundle.executeBundle(DataPathId dpid,
OpenflowEventType eventType)
Execute the task bundle against the given datapath
|
Modifier and Type | Method and Description |
---|---|
List<FlowRule> |
FlowService.getFlows(DataPathId dpid)
Deprecated.
Returns the list of flow rules for the specified datapath.
|
List<FlowRule> |
FlowService.getFlows(DataPathId dpid,
Match match)
Deprecated.
Returns the list of flow rules for the given match,
and the specified datapath.
|
List<FlowRule> |
FlowService.getFlows(DataPathId dpid,
Packet pkt)
Deprecated.
Returns the list of flow rules that the given packet would hit,
for the specified datapath.
|
void |
FlowService.sendFlow(OfmFlowMod flowMod,
DataPathId dpid)
Deprecated.
Sends the OpenFlow FLOW_MOD message to the given datapath.
|
void |
FlowService.sendFlows(List<OfmFlowMod> flowMod,
DataPathId dpid)
Deprecated.
Sends the list of OpenFlow FLOW_MOD messages to the given datapath.
|
Modifier and Type | Method and Description |
---|---|
DataPathId |
DefaultDevice.dpid() |
DataPathId |
Device.dpid()
Returns the data path id for this device or null if the device is not an
OpenFlow datapath.
|
Modifier and Type | Method and Description |
---|---|
static DeviceId |
DeviceId.valueOf(DataPathId dpid)
Returns the value of the given datapath ID as a device ID.
|
Modifier and Type | Method and Description |
---|---|
MessageFuture |
TeamControllerServiceAdapter.enablePort(DataPathId dpid,
BigPortNumber port,
boolean enable) |
MessageFuture |
TeamControllerService.enablePort(DataPathId dpid,
BigPortNumber port,
boolean enable)
Instructs the controller to enable or disable the given port on the
specified datapath.
|
DataPathInfo |
TeamControllerServiceAdapter.getDataPathInfo(DataPathId dpid) |
DataPathInfo |
TeamControllerService.getDataPathInfo(DataPathId dpid)
Returns information describing a specific OpenFlow datapath.
|
List<MBodyExperimenter> |
TeamControllerServiceAdapter.getExperimenter(DataPathId dpid) |
List<MBodyExperimenter> |
TeamControllerService.getExperimenter(DataPathId dpid)
Lists meters configured on the datapath.
|
List<MBodyFlowStats> |
TeamControllerServiceAdapter.getFlows(DataPathId dpid,
TableId tableId) |
List<MBodyFlowStats> |
TeamControllerService.getFlows(DataPathId dpid,
TableId tableId)
Returns flows installed in the specified table of the given datapath.
|
List<MBodyGroupDescStats> |
TeamControllerServiceAdapter.getGroupDescription(DataPathId dpid) |
List<MBodyGroupDescStats> |
TeamControllerService.getGroupDescription(DataPathId dpid)
Returns the groups description on the specified datapath.
|
MBodyGroupDescStats |
TeamControllerServiceAdapter.getGroupDescription(DataPathId dpid,
GroupId groupId) |
MBodyGroupDescStats |
TeamControllerService.getGroupDescription(DataPathId dpid,
GroupId groupId)
Returns the group description on the specified datapath and groupId.
|
MBodyGroupFeatures |
TeamControllerServiceAdapter.getGroupFeatures(DataPathId dpid) |
MBodyGroupFeatures |
TeamControllerService.getGroupFeatures(DataPathId dpid)
Returns the supported group features for the specified datapath.
|
List<MBodyGroupStats> |
TeamControllerServiceAdapter.getGroupStats(DataPathId dpid) |
List<MBodyGroupStats> |
TeamControllerService.getGroupStats(DataPathId dpid)
Returns the groups statistics on the specified datapath.
|
MBodyGroupStats |
TeamControllerServiceAdapter.getGroupStats(DataPathId dpid,
GroupId groupId) |
MBodyGroupStats |
TeamControllerService.getGroupStats(DataPathId dpid,
GroupId groupId)
Returns the group statistics on the specified datapath and groupId.
|
List<MBodyMeterConfig> |
TeamControllerServiceAdapter.getMeterConfig(DataPathId dpid) |
List<MBodyMeterConfig> |
TeamControllerService.getMeterConfig(DataPathId dpid)
Lists meters configured on the datapath.
|
MBodyMeterConfig |
TeamControllerServiceAdapter.getMeterConfig(DataPathId dpid,
MeterId meterId) |
MBodyMeterConfig |
TeamControllerService.getMeterConfig(DataPathId dpid,
MeterId meterId)
Returns the meter configuration for the given meter ID, from the
specified datapath.
|
MBodyMeterFeatures |
TeamControllerServiceAdapter.getMeterFeatures(DataPathId dpid) |
MBodyMeterFeatures |
TeamControllerService.getMeterFeatures(DataPathId dpid)
Returns the meter features for the specified datapath.
|
List<MBodyMeterStats> |
TeamControllerServiceAdapter.getMeterStats(DataPathId dpid) |
List<MBodyMeterStats> |
TeamControllerService.getMeterStats(DataPathId dpid)
Lists meters configured on the datapath.
|
MBodyMeterStats |
TeamControllerServiceAdapter.getMeterStats(DataPathId dpid,
MeterId meterId) |
MBodyMeterStats |
TeamControllerService.getMeterStats(DataPathId dpid,
MeterId meterId)
Returns the meter statistics for the given meter ID, from the specified
datapath.
|
Port |
TeamControllerServiceAdapter.getPort(DataPathId dpid,
BigPortNumber portNumber) |
Port |
TeamControllerService.getPort(DataPathId dpid,
BigPortNumber portNumber)
Returns the port description for the given port, from the specified
datapath.
|
List<Port> |
TeamControllerServiceAdapter.getPorts(DataPathId dpid) |
List<Port> |
TeamControllerService.getPorts(DataPathId dpid)
Returns the port description from the specified datapath.
|
List<MBodyPortStats> |
TeamControllerServiceAdapter.getPortStats(DataPathId dpid) |
List<MBodyPortStats> |
TeamControllerService.getPortStats(DataPathId dpid)
Returns the port statistics from the specified datapath.
|
MBodyPortStats |
TeamControllerServiceAdapter.getPortStats(DataPathId dpid,
BigPortNumber portNumber) |
MBodyPortStats |
TeamControllerService.getPortStats(DataPathId dpid,
BigPortNumber portNumber)
Returns the port statistics for the given port, from the specified
datapath.
|
List<MessageFuture> |
TeamControllerServiceAdapter.send(List<OpenflowMessage> msgs,
DataPathId dpid) |
List<MessageFuture> |
TeamControllerService.send(List<OpenflowMessage> msgs,
DataPathId dpid)
Instructs the controller to send the specified list of messages
(in order) to the specified datapath.
|
MessageFuture |
TeamControllerServiceAdapter.send(OpenflowMessage msg,
DataPathId dpid) |
MessageFuture |
TeamControllerService.send(OpenflowMessage msg,
DataPathId dpid)
Instructs the controller to send the specified message to the
specified datapath.
|
void |
TeamControllerServiceAdapter.sendFlowMod(OfmFlowMod flowMod,
DataPathId dpid) |
void |
TeamControllerService.sendFlowMod(OfmFlowMod flowMod,
DataPathId dpid)
Dispatches the OpenFlow FlowMod message to the given datapath
via the Flow Tracker.
|
MessageFuture |
TeamControllerServiceAdapter.sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid) |
MessageFuture |
TeamControllerService.sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid)
Sends the given GROUP_MOD message to the specified datapath.
|
MessageFuture |
TeamControllerServiceAdapter.sendMeterMod(OfmMeterMod meterMod,
DataPathId dpid) |
MessageFuture |
TeamControllerService.sendMeterMod(OfmMeterMod meterMod,
DataPathId dpid)
Sends the OpenFlow METER_MOD message to the specified datapath.
|
Modifier and Type | Method and Description |
---|---|
List<MBodyFlowStats> |
TopologyViewerService.getFlowStats(DataPathId dpid)
Returns list of switch flow stats.
|
Copyright © 2015. All Rights Reserved.