Package | Description |
---|---|
com.hp.of.ctl |
Public API for the OpenFlow Controller.
|
com.hp.of.json |
JSON factory and codecs for Openflow structures.
|
com.hp.of.lib.instr |
Representations of OpenFlow Protocol Instructions and Actions.
|
com.hp.of.lib.match |
Representations of OpenFlow Protocol Match Structures.
|
com.hp.of.lib.mp |
Representations of OpenFlow Protocol Multipart Message bodies.
|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
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.diag |
Definitions of the path diagnostic service.
|
com.hp.sdn.dvc |
Device Management
|
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.
|
com.hp.util.ip |
A set of classes representing data values in the network management domain.
|
com.hp.util.pkt |
Network packet parsing library.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static BigPortNumber |
CodecUtils.decodeBigPort(com.fasterxml.jackson.databind.JsonNode value)
Converts JsonNode into BigPortNumber object.
|
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.node.ObjectNode |
CodecUtils.encodeBigPort(com.fasterxml.jackson.databind.node.ObjectNode node,
String key,
BigPortNumber bpn,
ProtocolVersion pv)
Encodes the given big port number (for the given protocol version) as
either an integer or a string (for reserved logical ports), and adds
that value to the given JSON node with the given key.
|
Modifier and Type | Method and Description |
---|---|
BigPortNumber |
ActSetQueue.getPort()
Returns the port that the queue belongs to; Since 1.0; Dropped at 1.1.
|
BigPortNumber |
ActOutput.getPort()
Returns the number of the port through which the packet should be sent.
|
Modifier and Type | Method and Description |
---|---|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
BigPortNumber port)
Creates an OUTPUT action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
BigPortNumber port,
int maxLen)
Creates an OUTPUT action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
QueueId id,
BigPortNumber port)
Creates a SET_QUEUE action (used to be named ENQUEUE) for version 1.0.
|
Modifier and Type | Method and Description |
---|---|
BigPortNumber |
MFieldBasicBigPort.getPort()
Returns the port number.
|
Modifier and Type | Method and Description |
---|---|
static MFieldBasic |
FieldFactory.createBasicField(ProtocolVersion pv,
OxmBasicFieldType ft,
BigPortNumber port)
Creates a basic match field for a big-port-number-based match field.
|
Modifier and Type | Method and Description |
---|---|
BigPortNumber |
MBodyFlowStatsRequest.getOutPort()
Returns the output port that flow entries are required to
match; Since 1.0.
|
BigPortNumber |
MBodyQueueStatsRequest.getPort()
Returns the port for which statistics are requested; Since 1.0.
|
BigPortNumber |
MBodyPortStats.getPort()
Returns the port to which the statistics belong; Since 1.0.
|
BigPortNumber |
MBodyPortStatsRequest.getPort()
Returns the port for which stats are requested; Since 1.0.
|
BigPortNumber |
MBodyQueueStats.getPort()
Returns the port for which queue statistics are requested; Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
MBodyMutableFlowStatsRequest |
MBodyMutableFlowStatsRequest.outPort(BigPortNumber outPort)
Sets the requirement that matching flow entries include this as an
output port; Since 1.0.
|
MBodyMutablePortStats |
MBodyMutablePortStats.port(BigPortNumber port)
Sets the port number; Since 1.0.
|
MBodyMutableQueueStats |
MBodyMutableQueueStats.port(BigPortNumber port)
Sets the port number; Since 1.0.
|
MBodyMutableQueueStatsRequest |
MBodyMutableQueueStatsRequest.port(BigPortNumber port)
Sets the port number for which statistics are requested; Since 1.0.
|
MBodyMutablePortStatsRequest |
MBodyMutablePortStatsRequest.port(BigPortNumber port)
Sets the port in the port stats request; Since 1.0.
|
Modifier and Type | Field and Description |
---|---|
static BigPortNumber |
Port.ALL
All physical ports except input port; Since 1.0.
|
static BigPortNumber |
Port.ANY
Wildcard port used only for flow mod (delete) and flow stats
requests; Since 1.1.
|
static BigPortNumber |
Port.CONTROLLER
Send to the Controller; Since 1.0.
|
static BigPortNumber |
Port.FLOOD
All physical ports in VLAN, except input port and those blocked
or link down; Since 1.0.
|
static BigPortNumber |
Port.IN_PORT
Send the packet out the input port; Since 1.0.
|
static BigPortNumber |
Port.LOCAL
Local openflow "port"; Since 1.0.
|
static BigPortNumber |
Port.MAX
Maximum number of physical and logical switch ports; Since 1.0.
|
static BigPortNumber |
Port.NONE
Not associated with a physical port; Since 1.0.
|
static BigPortNumber |
Port.NORMAL
Process with normal L2/L3 switching; Since 1.0.
|
static BigPortNumber |
Port.TABLE
Submit the packet to the first flow table; Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
static BigPortNumber |
Port.equivalentSpecial(PortNumber pn)
Returns the 1.3 "special" big port number (u32) equivalent to the
given 1.0 "special" port number (u16).
|
static BigPortNumber |
Port.getBigPortNumber(String portNumber)
Returns the port, given its string representation, which can include a
logical name or the numeric representation of the port.
|
BigPortNumber |
OfmPacketIn.getInPhyPort()
Returns the physical port on which the frame was received; Since 1.1.
|
BigPortNumber |
OfmPacketIn.getInPort()
Returns the port on which the frame was received; Since 1.0.
|
BigPortNumber |
OfmPacketOut.getInPort()
Returns the packet's input port or Port.CONTROLLER; Since 1.0.
|
BigPortNumber |
OfmFlowMod.getOutPort()
For
DELETE* commands, requires matching entries to include
this port as an output port; Since 1.0.A value of Port.ANY indicates no restriction. |
BigPortNumber |
OfmQueueGetConfigReply.getPort()
Returns the ID of the port that was queried; Since 1.0.
|
BigPortNumber |
Queue.getPort()
Returns the ID of the port that this queue is attached to.
|
BigPortNumber |
OfmQueueGetConfigRequest.getPort()
Returns the ID of the port to query; Since 1.0.
|
BigPortNumber |
OfmPortMod.getPort()
Returns the id of the port to be modified; Since 1.0.
|
BigPortNumber |
Port.getPortNumber()
The port number uniquely identifies a port within a switch; Since 1.0.
|
BigPortNumber |
Bucket.getWatchPort()
Returns the watch port id; Since 1.1.
|
static BigPortNumber |
PortFactory.parsePortNumber(OfPacketReader pkt,
ProtocolVersion pv)
Parses a port number from the specified buffer, for the given
protocol version.
|
Modifier and Type | Method and Description |
---|---|
static void |
PortFactory.encodePortNumber(BigPortNumber port,
OfPacketWriter pkt,
ProtocolVersion pv)
Encodes the given port number, writing it to the specified buffer,
for the given protocol version.
|
static PortNumber |
Port.equivalentSpecial(BigPortNumber bpn)
Returns the 1.0 "special" port number (u16) equivalent to the
given 1.3 "special" big port number (u32).
|
static String |
Port.getLogicalNumber(BigPortNumber bpn,
ProtocolVersion pv)
Returns either the logical name of the port, if it is a special value,
or the port number as a string.
|
OfmMutablePacketOut |
OfmMutablePacketOut.inPort(BigPortNumber inPort)
Sets the ingress port that must be associated with the packet;
Since 1.0.
|
OfmMutablePacketIn |
OfmMutablePacketIn.inPort(BigPortNumber inPort)
Sets the ingress port; Since 1.0.
|
static boolean |
Port.isStandardPort(BigPortNumber bpn,
ProtocolVersion pv)
Returns true if the given port number is in the range
1 to MAX; false otherwise.
|
static String |
Port.logicalName(BigPortNumber port,
ProtocolVersion pv)
Returns the logical name of the port, or null if the port number is
not a special value (for the given protocol version).
|
OfmMutableFlowMod |
OfmMutableFlowMod.outPort(BigPortNumber outPort)
Sets the out port; Since 1.0.
|
OfmMutablePortMod |
OfmMutablePortMod.port(BigPortNumber port)
Sets the id of the port to be modified; Since 1.0.
|
MutableQueue |
MutableQueue.port(BigPortNumber port)
Sets the port number for this queue; Since 1.2.
|
MutablePort |
MutablePort.portNumber(BigPortNumber portNumber)
Sets the port number for this port; Since 1.0.
|
static String |
Port.portNumberToString(BigPortNumber port)
Returns a string representation of the port number.
|
static String |
Port.portNumberToString(BigPortNumber port,
ProtocolVersion pv)
Returns a string representation of the port number, for the given
protocol version.
|
void |
OfmMutableQueueGetConfigRequest.setPort(BigPortNumber port)
Sets the ID of the port to be queried; Since 1.0.
|
void |
OfmMutableQueueGetConfigReply.setPort(BigPortNumber port)
Sets the ID of the port that was queried; Since 1.0.
|
static void |
Port.validatePortValue(BigPortNumber bpn,
ProtocolVersion pv)
Validates that the given port number is an acceptable value
for encoding as a port number for the given protocol.
|
MutableBucket |
MutableBucket.watchPort(BigPortNumber watchPort)
Sets the watch port for this bucket; Since 1.1.
|
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.
|
MBodyPortStats |
RemoteControllerService.getPortStats(SystemInformation system,
DataPathId dpid,
BigPortNumber portNumber)
Returns the port statistics for the given port, from the specified
datapath.
|
Modifier and Type | Method and Description |
---|---|
void |
PathDiagnosticService.sendPacket(String pid,
DataPathId dpid,
BigPortNumber outPort)
Sends the packet matching the given packet model ID into the network.
|
Modifier and Type | Method and Description |
---|---|
static UniqueInterfaceId |
UniqueInterfaceId.valueOf(ElementId elementId,
BigPortNumber port)
Returns the value of the given port as an interface ID.
|
Modifier and Type | Method and Description |
---|---|
static BigPortNumber |
InterfaceIdSerializer.getPort(com.hp.sdn.model.proto.InterfaceIdProto.InterfaceId id) |
BigPortNumber |
DefaultInterfaceInfo.id() |
BigPortNumber |
InterfaceInfo.id()
Interface/port index.
|
BigPortNumber |
TunnelIndex.index()
Returns the value of this Tunnel Id as a tunnel index .
|
BigPortNumber |
VxlanInfo.index()
Returns the tunnel interface index of this tunnel.
|
BigPortNumber |
DefaultVxlanInfo.index() |
BigPortNumber |
InterfaceId.port()
Returns the value of this interface ID as a port number.
|
Modifier and Type | Method and Description |
---|---|
DefaultVxlanInfo |
DefaultVxlanInfo.index(BigPortNumber index)
Modify the element tunnelIndex
|
static TunnelIndex |
TunnelIndex.valueOf(BigPortNumber tunnelIndex)
Returns the value of the given index as TunnelIndex.
|
static InterfaceId |
InterfaceId.valueOf(BigPortNumber port)
Returns the value of the given port as an interface ID.
|
Constructor and Description |
---|
DefaultInterfaceInfo(ElementId hostedBy,
BigPortNumber id)
Constructs an Interface Info object.
|
DefaultVxlanInfo(BigPortNumber tunnelIndex)
Constructs an Vxlan Info object.
|
InterfaceId(BigPortNumber port)
Private constructor to create an interface ID based on the given port.
|
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.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
BigPortNumber |
TopologyViewerService.getOutPort(MBodyFlowStats rule)
Gets the outPort for a given flow stats
|
Modifier and Type | Method and Description |
---|---|
static BigPortNumber |
BigPortNumber.bpn(long port)
Convenience method that simply delegates to
valueOf(long) . |
static BigPortNumber |
BigPortNumber.bpn(String s)
Convenience method that simply delegates to
valueOf(String) . |
static BigPortNumber |
BigPortNumber.valueFrom(ByteBuffer buffer)
Reads 4 bytes from the specified byte buffer and creates a big port
number instance from their value.
|
static BigPortNumber |
BigPortNumber.valueOf(byte[] bytes)
Returns an object that represents the port number
defined by the specified byte array.
|
static BigPortNumber |
BigPortNumber.valueOf(long port)
Returns an object that represents the big port number
defined by the specified long.
|
static BigPortNumber |
BigPortNumber.valueOf(String s)
Returns an object that represents the big port number
defined by the specified string.
|
Modifier and Type | Method and Description |
---|---|
int |
BigPortNumber.compareTo(BigPortNumber o)
Implements the Comparable interface, to return port numbers in
natural order.
|
Modifier and Type | Method and Description |
---|---|
BigPortNumber |
PacketReader.readBigPortNumber()
Reads a (u32) port number from the buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
PacketWriter.write(BigPortNumber pn)
Writes a (u32) port number to the buffer.
|
Copyright © 2015. All Rights Reserved.