| Package | Description |
|---|---|
| com.h3c.of.common |
Code shared by the OpenFlow Controller and Mock OpenFlow Switch
implementations.
|
| com.h3c.of.ctl |
Public API for the OpenFlow Controller.
|
| com.h3c.of.ctl.flow |
Public API for the OpenFlow Flow Manager.
|
| com.h3c.of.ctl.pipeline |
Definitions for conveying OpenFlow switch pipeline definitions and capabilities.
|
| com.h3c.of.lib |
OpenFlow Protocol Library.
|
| com.h3c.of.lib.dt |
A set of classes representing data values used in the OpenFlow protocol.
|
| com.h3c.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
| com.h3c.of.sw |
Provides mock implementations of OpenFlow switches.
|
| com.h3c.sdn.adm.dao.model |
Model POJOs implementations used to persist and retrieve information
applicable at the Administrator tier of the SDN Controller.
|
| com.h3c.sdn.adm.role |
...
|
| com.h3c.sdn.api |
Definitions of services for driving outbound external communications for
interacting with peers and integrating with other external applications,
e.g.
|
| com.h3c.sdn.common |
Definitions of general services applicable to multiple tiers of the
SDN Controller.
|
| com.h3c.sdn.ctl.diag |
Model objects for path diagnostic application.
|
| com.h3c.sdn.diag |
Definitions of the path diagnostic service.
|
| com.h3c.sdn.flowmgr |
Definitions of the services provided by the Flow Manager Application.
|
| com.h3c.sdn.hostManager | |
| com.h3c.sdn.linkdisco |
Definitions of the services provided by the Link Discovery Application.
|
| com.h3c.sdn.misc.dsync.net | |
| com.h3c.sdn.misc.net | |
| com.h3c.sdn.nodemgr |
Definitions of the services provided by the Node Manager Application.
|
| com.h3c.sdn.teamcs |
...
|
| com.h3c.sdn.topology |
Definitions of the interfaces provided by the Topology Services Application.
|
| 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
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
handshake sequence and is ready to talk OpenFlow.
|
void |
ProgrammableSink.dataPathRemoved(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip)
Invoked by the controller when a datapath connection is dropped.
|
void |
MessageSink.dataPathRemoved(DataPathId dpid,
ProtocolVersion negotiated,
IpAddress ip)
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 |
ConnectionDetails.dpid()
The id of the datapath to which this is a connection.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
MessageContext |
ControllerService.createMsgContext(OpenflowEventType type,
OpenflowMessage msg,
DataPathId dpid,
int auxId,
ProtocolVersion pv) |
MessageContext |
ControllerServiceAdapter.createMsgContext(OpenflowEventType type,
OpenflowMessage msg,
DataPathId dpid,
int auxId,
ProtocolVersion pv) |
MessageFuture |
ControllerService.enablePort(DataPathId dpid,
BigPortNumber port,
boolean enable)
Instructs the controller to enable or disable the given port on the
specified datapath.
|
MessageFuture |
ControllerServiceAdapter.enablePort(DataPathId dpid,
BigPortNumber port,
boolean enable) |
DataPathDetails |
ControllerMx.getDataPathDetails(DataPathId dpid)
Returns detailed information describing a specific OpenFlow
datapath, including information about its auxiliary connections.
|
DataPathInfo |
ControllerService.getDataPathInfo(DataPathId dpid)
Returns information describing a specific OpenFlow datapath.
|
DataPathInfo |
ControllerServiceAdapter.getDataPathInfo(DataPathId dpid) |
List<MBodyExperimenter> |
ControllerService.getExperimenter(DataPathId dpid)
Returns meter configuration or statistics (for OF 1.0 datapaths),
encoded in experimenter multipart replies.
|
List<MBodyExperimenter> |
ControllerServiceAdapter.getExperimenter(DataPathId dpid) |
List<MBodyFlowStats> |
ControllerService.getFlowStats(DataPathId dpid,
TableId tableId)
Returns flows installed in the specified table of the given datapath.
|
List<MBodyFlowStats> |
ControllerServiceAdapter.getFlowStats(DataPathId dpid,
TableId tableId) |
List<MBodyGroupDescStats> |
ControllerService.getGroupDescription(DataPathId dpid)
Returns the group descriptions from the specified datapath.
|
List<MBodyGroupDescStats> |
ControllerServiceAdapter.getGroupDescription(DataPathId dpid) |
MBodyGroupDescStats |
ControllerService.getGroupDescription(DataPathId dpid,
GroupId groupId)
Returns the group description for the given group ID, from the
specified datapath.
|
MBodyGroupDescStats |
ControllerServiceAdapter.getGroupDescription(DataPathId dpid,
GroupId groupId) |
MBodyGroupFeatures |
ControllerService.getGroupFeatures(DataPathId dpid)
Returns the supported group features for the specified datapath.
|
MBodyGroupFeatures |
ControllerServiceAdapter.getGroupFeatures(DataPathId dpid) |
List<MBodyGroupStats> |
ControllerService.getGroupStats(DataPathId dpid)
Returns the group statistics from the specified datapath.
|
List<MBodyGroupStats> |
ControllerServiceAdapter.getGroupStats(DataPathId dpid) |
MBodyGroupStats |
ControllerService.getGroupStats(DataPathId dpid,
GroupId groupId)
Returns the group statistics for the given group ID, from the specified
datapath.
|
MBodyGroupStats |
ControllerServiceAdapter.getGroupStats(DataPathId dpid,
GroupId groupId) |
List<MBodyMeterConfig> |
ControllerService.getMeterConfig(DataPathId dpid)
Returns the meter configuration details from the specified datapath.
|
List<MBodyMeterConfig> |
ControllerServiceAdapter.getMeterConfig(DataPathId dpid) |
MBodyMeterConfig |
ControllerService.getMeterConfig(DataPathId dpid,
MeterId meterId)
Returns the meter configuration for the given meter ID, from the
specified datapath.
|
MBodyMeterConfig |
ControllerServiceAdapter.getMeterConfig(DataPathId dpid,
MeterId meterId) |
MBodyMeterFeatures |
ControllerService.getMeterFeatures(DataPathId dpid)
Returns the meter features for the specified datapath.
|
MBodyMeterFeatures |
ControllerServiceAdapter.getMeterFeatures(DataPathId dpid) |
List<MBodyMeterStats> |
ControllerService.getMeterStats(DataPathId dpid)
Returns the meter statistics from the specified datapath.
|
List<MBodyMeterStats> |
ControllerServiceAdapter.getMeterStats(DataPathId dpid) |
MBodyMeterStats |
ControllerService.getMeterStats(DataPathId dpid,
MeterId meterId)
Returns the meter statistics for the given meter ID, from the specified
datapath.
|
MBodyMeterStats |
ControllerServiceAdapter.getMeterStats(DataPathId dpid,
MeterId meterId) |
PipelineDefinition |
ControllerService.getPipelineDefinition(DataPathId dpid)
Returns the
PipelineDefinition for the given datapath. |
PipelineDefinition |
ControllerServiceAdapter.getPipelineDefinition(DataPathId dpId) |
List<MBodyPortStats> |
ControllerService.getPortStats(DataPathId dpid)
Returns the port statistics from the specified datapath.
|
List<MBodyPortStats> |
ControllerServiceAdapter.getPortStats(DataPathId dpid) |
MBodyPortStats |
ControllerService.getPortStats(DataPathId dpid,
BigPortNumber portNumber)
Returns the port statistics for the given port, from the specified
datapath.
|
MBodyPortStats |
ControllerServiceAdapter.getPortStats(DataPathId dpid,
BigPortNumber portNumber) |
boolean |
RoleAdvisor.isMasterFor(DataPathId dpid)
Returns
true if the local controller instance has the
Master role for the specified datapath; false otherwise. |
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.
|
List<MessageFuture> |
ControllerServiceAdapter.send(List<OpenflowMessage> msgs,
DataPathId dpid) |
void |
SubComponentService.send(OpenflowMessage msg,
DataPathId dpid)
Sends the specified message to the specified datapath, via the
sub-component.
|
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.
|
MessageFuture |
ControllerServiceAdapter.send(OpenflowMessage msg,
DataPathId dpid) |
MessageFuture |
ControllerService.sendFlowMod(OfmFlowMod flowMod,
DataPathId dpid)
Sends the given FlowMod message to the specified datapath.
|
MessageFuture |
ControllerServiceAdapter.sendFlowMod(OfmFlowMod flowMod,
DataPathId dpid) |
MessageFuture |
ControllerService.sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid)
Sends the given GroupMod message to the specified datapath.
|
MessageFuture |
ControllerServiceAdapter.sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid) |
MessageFuture |
ControllerService.sendMeterMod(OfmMeterMod meterMod,
DataPathId dpid)
Sends the given MeterMod message to the specified datapath.
|
MessageFuture |
ControllerServiceAdapter.sendMeterMod(OfmMeterMod meterMod,
DataPathId dpid) |
void |
MessageEvent.setDpid(DataPathId dpid)
set the ID of the datapath with new datapath ID.
|
ProtocolVersion |
ControllerService.versionOf(DataPathId dpid)
Returns the (negotiated) protocol version of the specified datapath.
|
ProtocolVersion |
ControllerServiceAdapter.versionOf(DataPathId dpid) |
| Modifier and Type | Method and Description |
|---|---|
DataPathId |
GroupEvent.dpid()
Returns the associated datapath ID.
|
DataPathId |
MeterEvent.dpid()
Returns the associated datapath ID.
|
DataPathId |
FlowEvent.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.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 | 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 |
DataPathInfo.dpid()
Returns the datapath identifier.
|
DataPathId |
DataPathInfoAdapter.dpid() |
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.dataPathId()
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 |
|---|---|
OfmMutableFeaturesReply |
OfmMutableFeaturesReply.dpid(DataPathId dpid)
Sets the datapath id; Since 1.0.
|
| Constructor and Description |
|---|
DataPathMessageFuture(OpenflowMessage request,
DataPathId dpid) |
| Modifier and Type | Field and Description |
|---|---|
protected DataPathId |
MockOpenflowSwitch.dpid |
| Modifier and Type | Method and Description |
|---|---|
DataPathId |
MockOpenflowSwitch.getDpid()
Convenience method that returns the datapath ID as configured in
the switch definition.
|
DataPathId |
SwitchDefn.getDpid()
Returns the datapath id.
|
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 |
HostManagerEntity.getDpid() |
| Modifier and Type | Method and Description |
|---|---|
void |
HostManagerEntity.setDpid(DataPathId dpid) |
| Constructor and Description |
|---|
HostManagerEntity(UUID uid,
UUID sysId,
IpAddress ipAddr,
MacAddress macAddr,
VId vid,
BigPortNumber portNumber,
DataPathId dpid,
boolean state,
int ctlid) |
| Modifier and Type | Method and Description |
|---|---|
Set<DataPathId> |
RoleEvent.datapaths()
List of affected datapaths due to a Role assertion.
|
| Modifier and Type | Method and Description |
|---|---|
ControllerNode |
RoleService.getMaster(DataPathId dpid)
Returns the controller which is playing the role of MASTER to the given
controlled entity.
|
ControllerNode |
RoleService.getMaster(DataPathId dpid,
boolean teamAware)
Returns the controller which is playing the MASTER role in relation to
the given datapath, which need not be necessarily of the local controller.
|
Boolean |
RoleService.isMaster(DataPathId dpid)
Indicates if the LOCAL system is the master for the given datapath.
|
| 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.
|
MessageFuture |
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 |
|---|---|
DataPathId |
NetworkNode.connectedSwitchDpid()
Returns the datapath identifier of the switch to which the
end host is connected.
|
DataPathId |
ConnectionPoint.device()
Retrieves the datapathid associated with the referred connection point
|
DataPathId |
DpSuppressedPorts.device()
Returns the
datapath id where lldp traffic
is suppressed for one or more ports. |
DataPathId |
L2Path.from()
Retrieves the datapathid associated to a source device of the L2 Path.
|
DataPathId |
TopologyCluster.root()
Retrieves the set of devicepath ids of the devices comprising this
cluster.
|
DataPathId |
L2Path.to()
Retrieves the datapathid associated to a destination device of the
L2Path.
|
| Modifier and Type | Method and Description |
|---|---|
HashMap<DataPathId,Integer> |
TopologyTree.getCosts()
Provides All nodes and associated cost in the tree.
|
HashMap<DataPathId,Link> |
TopologyTree.getLinks()
Provides All nodes and associated Links in the tree.
|
Set<DataPathId> |
PacketModel.getRegisteredPosts()
Returns the set of registered observation posts.
|
Map<DataPathId,Set<Link>> |
TopologyCluster.links()
Retrieves the map of device dpid and the set of links associated
to that dpid.
|
Set<DataPathId> |
TopologyCluster.nodes()
Retrieves the set of devicepath ids of the devices comprising this
cluster.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TopologyTree.getCost(DataPathId dataPathId)
Provides cost associated a node in the tree.
|
Link |
TopologyTree.getTreeLink(DataPathId node)
Adds a node and associated Link to the tree.
|
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 |
|---|---|
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 |
|---|---|
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 |
HostEntity.getDpid() |
| Constructor and Description |
|---|
HostEntity(Id<HostEntity,UUID> id,
Id<SystemInformation,UUID> sysId,
IpAddress ipAddr,
MacAddress macAddr,
VId vid,
DataPathId dpid,
BigPortNumber port,
int ctlId,
boolean state) |
HostEntity(Id<SystemInformation,UUID> sysId,
IpAddress ipAddr,
MacAddress macAddr,
VId vid,
DataPathId dpid,
BigPortNumber port,
int ctlId,
boolean state) |
| Modifier and Type | Method and Description |
|---|---|
void |
LinkService.addToSuppressLLDPs(DataPathId dpid,
BigPortNumber port)
Adds the given <device,port> tuple to the list of suppressed
ports.
|
Set<Link> |
LinkService.getDeviceLinks(DataPathId dpid)
Returns all links emanating from the given datapath.
|
Set<ConnectionPoint> |
LinkService.getDevicePoints(DataPathId dpid) |
void |
LinkService.removeFromSuppressLLDPs(DataPathId dpid,
BigPortNumber port)
Removes the given <device,port> tuple from the list of suppressed
ports which were previously added.
|
| Modifier and Type | Method and Description |
|---|---|
DataPathId |
TopologyClusterSyncObj.root() |
| Modifier and Type | Method and Description |
|---|---|
HashMap<DataPathId,Integer> |
BroadcastTreeSyncObj.getCosts() |
HashMap<DataPathId,Link> |
BroadcastTreeSyncObj.getLinks() |
Map<DataPathId,Set<Link>> |
TopologyClusterSyncObj.links() |
Set<DataPathId> |
TopologyClusterSyncObj.nodes() |
| Modifier and Type | Method and Description |
|---|---|
int |
BroadcastTreeSyncObj.getCost(DataPathId dataPathId) |
Link |
BroadcastTreeSyncObj.getTreeLink(DataPathId node) |
| Constructor and Description |
|---|
TopologyClusterSyncObj(long id,
Map<DataPathId,Set<Link>> links,
DataPathId root) |
| Constructor and Description |
|---|
BroadcastTreeSyncObj(HashMap<DataPathId,Link> links,
HashMap<DataPathId,Integer> costs) |
BroadcastTreeSyncObj(HashMap<DataPathId,Link> links,
HashMap<DataPathId,Integer> costs) |
TopologyClusterSyncObj(long id,
Map<DataPathId,Set<Link>> links,
DataPathId root) |
| Modifier and Type | Field and Description |
|---|---|
protected DataPathId |
TopologyClusterDTO.root
DataPathId of the root device in the cluster.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<DataPathId,Set<Link>> |
TopologyClusterDTO.links
Map of nodes and associated links of the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
DataPathId |
NetworkNodeDTO.connectedSwitchDpid() |
DataPathId |
DpSuppressedPortsDTO.device() |
DataPathId |
ConnectionPointDTO.device() |
DataPathId |
MsgContextDTO.dpid() |
DataPathId |
Entity.dpid()
Returns the datapath ID of the switch to which the host is connected.
|
DataPathId |
L2PathDTO.from() |
DataPathId |
TopologyClusterDTO.root()
Returns the cluster root datapath id.
|
DataPathId |
L2PathDTO.to() |
| Modifier and Type | Method and Description |
|---|---|
HashMap<DataPathId,Integer> |
BroadcastTree.getCosts()
Provides All nodes and associated cost in the tree.
|
HashMap<DataPathId,Link> |
BroadcastTree.getLinks()
Provides All nodes and associated Links in the tree.
|
Map<DataPathId,Set<Link>> |
TopologyClusterDTO.links() |
Set<DataPathId> |
TopologyClusterDTO.nodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
TopologyClusterDTO.add(DataPathId n)
Adds the device to cluster.
|
void |
BroadcastTree.addTreeLink(DataPathId myNode,
Link link)
Adds a node and associated Link to the tree.
|
static long |
TopologyClusterDTO.generateId(DataPathId n)
Generates the long value for given datapath id.
|
int |
BroadcastTree.getCost(DataPathId dataPathId)
Provides cost associated a node in the tree.
|
Link |
BroadcastTree.getTreeLink(DataPathId node)
Gives the Link associated to given node in the tree.
|
void |
TopologyClusterDTO.setRoot(DataPathId root)
Sets the root to cluster
|
| Modifier and Type | Method and Description |
|---|---|
void |
TopologyClusterDTO.setLinks(Map<DataPathId,Set<Link>> links) |
| Constructor and Description |
|---|
ConnectionPointDTO(DataPathId dpid,
BigPortNumber port,
ConnectionPoint.Type type)
Creates a DTO representing a connection point on the specified
datapath and port, of the specified type.
|
DpSuppressedPortsDTO(DataPathId dpid,
SuppressedPorts suppressedPorts)
Default constructor to create a representation of suppressed ports in a
given datapath.
|
Entity(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
boolean shared,
int contollerId)
Constructs a new entity using MAC, VID, IP,
data path id, port and shared.
|
Entity(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
int contollerId)
Constructs a new entity using MAC, VID, IP,
data path id and port.
|
Entity(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
long age,
boolean shared,
int contollerId) |
Entity(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
long age,
int contollerId)
Constructs a new entity using MAC, VID, IP,
data path id and port.
|
L2PathDTO(DataPathId srcDpid,
DataPathId dstDpid)
Creates the L2 path for given source and destination device.
|
L2PathDTO(DataPathId srcDpid,
DataPathId dstDpid,
List<Link> paths)
Creates L2 path representing all links between the given source and
destination device.
|
L2PathDTO(DataPathId srcId,
Object... routeElements)
Concise way to instantiate a route.
|
LinkDTO(DataPathId srcDpid,
BigPortNumber srcPort,
ConnectionPoint.Type srcType,
DataPathId dstDpid,
BigPortNumber dstPort,
ConnectionPoint.Type dstType,
LinkInfo linkInfo)
Creates a DTO representing a link between two
connection points. |
MsgContextDTO(ProtocolVersion pv,
int auxId,
DataPathId dpid,
String openflowType,
MessageType type,
long xid,
BufferId bufferId,
BigPortNumber inPort,
BigPortNumber inPhyPort,
int totalLen,
PacketInReason reason,
TableId tableId,
long cookie,
Match match,
byte[] data) |
NetworkNodeDTO(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port)
Constructs a NetworkNode instance using the specified IP, MAC
VID, DPID and port.
|
NodeMessage(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
long age,
UpdateType op,
int controllerId) |
NodeMessage(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
UpdateType op,
int controllerId)
Constructs a new NodeMessage using MAC, VLAN, IP,
data path id and port.
|
| Constructor and Description |
|---|
BroadcastTree(HashMap<DataPathId,Link> nexthoplinks,
HashMap<DataPathId,Integer> cost)
Creates a Tree representing all next hop links and cost.
|
BroadcastTree(HashMap<DataPathId,Link> nexthoplinks,
HashMap<DataPathId,Integer> cost)
Creates a Tree representing all next hop links and cost.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NodeService.addCfgHost(MacAddress mac,
IpAddress ip,
VId vlan,
DataPathId dpid,
BigPortNumber portNum)
Adding a static host
|
void |
NodeService.delAllNode(DataPathId dpId) |
boolean |
NodeService.delCfgHost(DataPathId dpId,
BigPortNumber port)
Deleting a static configured host
|
List<Entity> |
NodeService.getAllHost(DataPathId dpId,
BigPortNumber port)
get all host entry
|
List<Entity> |
NodeService.getAllStaticHost(DataPathId dpId,
BigPortNumber port)
Get all the static hosts information
|
void |
NodeService.removeArpbyPort(DataPathId dpId,
BigPortNumber portNumber)
remove arp table when port is down or abnormal
added by s03140 for 201312110058
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TeamControllerService.dpidIsConnected(DataPathId dpid) |
MessageFuture |
TeamControllerService.enablePort(DataPathId dpid,
BigPortNumber port,
boolean enable)
Instructs the controller to enable or disable the given port on the
specified datapath.
|
DataPathInfo |
TeamControllerService.getDataPathInfo(DataPathId dpid)
Returns information describing a specific OpenFlow datapath.
|
DataPathInfo |
TeamControllerService.getDpthInfo(DataPathId dpid) |
List<MBodyExperimenter> |
TeamControllerService.getExperimenter(DataPathId dpid)
Lists meters configured on the datapath.
|
List<MBodyFlowStats> |
TeamControllerService.getFlows(DataPathId dpid,
TableId tableId)
Returns flows installed in the specified table of the given datapath.
|
List<MBodyGroupDescStats> |
TeamControllerService.getGroupDescription(DataPathId dpid)
Returns the groups description on the specified datapath.
|
MBodyGroupDescStats |
TeamControllerService.getGroupDescription(DataPathId dpid,
GroupId groupId)
Returns the group description on the specified datapath and groupId.
|
MBodyGroupFeatures |
TeamControllerService.getGroupFeatures(DataPathId dpid)
Returns the supported group features for the specified datapath.
|
List<MBodyGroupStats> |
TeamControllerService.getGroupStats(DataPathId dpid)
Returns the groups statistics on the specified datapath.
|
MBodyGroupStats |
TeamControllerService.getGroupStats(DataPathId dpid,
GroupId groupId)
Returns the group statistics on the specified datapath and groupId.
|
DataPathInfo |
TeamControllerService.getLocalDataPathInfo(DataPathId dpid) |
List<MBodyMeterConfig> |
TeamControllerService.getMeterConfig(DataPathId dpid)
Lists meters configured on the datapath.
|
MBodyMeterConfig |
TeamControllerService.getMeterConfig(DataPathId dpid,
MeterId meterId)
Returns the meter configuration for the given meter ID, from the
specified datapath.
|
MBodyMeterFeatures |
TeamControllerService.getMeterFeatures(DataPathId dpid)
Returns the meter features for the specified datapath.
|
List<MBodyMeterStats> |
TeamControllerService.getMeterStats(DataPathId dpid)
Lists meters configured on the datapath.
|
MBodyMeterStats |
TeamControllerService.getMeterStats(DataPathId dpid,
MeterId meterId)
Returns the meter statistics for the given meter ID, from the specified
datapath.
|
Port |
TeamControllerService.getPort(DataPathId dpid,
BigPortNumber portNumber)
Returns the port description for the given port, from the specified
datapath.
|
List<Port> |
TeamControllerService.getPorts(DataPathId dpid)
Returns the port description from the specified datapath.
|
List<MBodyPortStats> |
TeamControllerService.getPortStats(DataPathId dpid)
Returns the port statistics from the specified datapath.
|
MBodyPortStats |
TeamControllerService.getPortStats(DataPathId dpid,
BigPortNumber portNumber)
Returns the port statistics for the given port, from the specified
datapath.
|
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 |
TeamControllerService.send(OpenflowMessage msg,
DataPathId dpid)
Instructs the controller to send the specified message to the
specified datapath.
|
MessageFuture |
TeamControllerService.sendFlowMod(OfmFlowMod flowMod,
DataPathId dpid)
Dispatches the OpenFlow FlowMod message to the given datapath
via the Flow Tracker.
|
MessageFuture |
TeamControllerService.sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid)
Sends the given GROUP_MOD message to the specified datapath.
|
MessageFuture |
TeamControllerService.sendMeterMod(OfmMeterMod meterMod,
DataPathId dpid)
Sends the OpenFlow METER_MOD message to the specified datapath.
|
| Modifier and Type | Method and Description |
|---|---|
Map<DataPathId,Link> |
TopologyService.getDestinationTree(DataPathId pktSrcDpid) |
Map<DataPathId,Link> |
TopologyService.tree(long clusterId)
Represents set of nodes and the link which it contributes to the tree for
the given cluster.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TopologyService.addPortlinkabnormal(DataPathId dpId,
BigPortNumber portNumber)
add port with link abnormal state
|
void |
TopologyService.clearPortlinkabnormal(DataPathId dpId,
BigPortNumber portNumber)
delete port with link abnormal state
|
TopologyCluster |
TopologyService.cluster(DataPathId switchDpid)
Retrieves the cluster to which this control domain element is associated
to as determined by Topology Service.
|
L2Path |
TopologyService.createL2RoutePath(DataPathId srcDpid,
DataPathId dstDpid,
List<Link> paths)
Change the Class L2Path to Class L2RoutePath for PathDaemon to use get/remove/contains, etc..
|
List<L2Path> |
TopologyService.ecmpPath(DataPathId device,
DataPathId device2) |
Map<DataPathId,Link> |
TopologyService.getDestinationTree(DataPathId pktSrcDpid) |
Set<BigPortNumber> |
TopologyService.getDeviceConnectionPorts(DataPathId dpid)
Return all ports emanating from the given datapath
|
boolean |
TopologyService.isConnectionPoint(DataPathId switchDpid,
BigPortNumber portId)
Indicates if the given port, belonging to the specified node is
participating in a interconnect link
|
boolean |
TopologyService.isPortlinkabnormal(DataPathId dpId,
BigPortNumber portNumber)
get port link abnormal state
|
boolean |
TopologyService.participateInBroadcast(DataPathId switchDpid,
BigPortNumber portId)
Indicates if the given switch-port pair can participate in flood action.
|
L2Path |
TopologyService.path(DataPathId source,
DataPathId dest)
Determines control domain elements that need to be traversed for reaching
destination node from a source node.
|
boolean |
TopologyService.pathExists(DataPathId source,
DataPathId dest)
Verifies if a L2 path exists between given source and destination switch.
|
Set<BigPortNumber> |
TopologyService.ports(DataPathId switchDpid)
List of ports learned by Topology Service for a given switch node.
|
Copyright © 2014. All Rights Reserved.