| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service API definitions.
|
| org.onosproject.net.device |
Infrastructure device model & related services API definitions.
|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| org.onosproject.net.flow.criteria |
Traffic selection criteria model.
|
| org.onosproject.net.flow.instructions |
Traffic treatment model.
|
| Modifier and Type | Field and Description |
|---|---|
static PortNumber |
PortNumber.ALL |
static PortNumber |
PortNumber.CONTROLLER |
static PortNumber |
PortNumber.FLOOD |
static PortNumber |
PortNumber.IN_PORT |
static PortNumber |
PortNumber.LOCAL |
static PortNumber |
PortNumber.NORMAL |
static PortNumber |
PortNumber.P0 |
static PortNumber |
PortNumber.TABLE |
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
Port.number()
Returns the port number.
|
PortNumber |
DefaultPort.number() |
PortNumber |
ConnectPoint.port()
Returns the connection port number.
|
static PortNumber |
PortNumber.portNumber(long number)
Returns the port number representing the specified long value.
|
static PortNumber |
PortNumber.portNumber(String string)
Returns the port number representing the specified string value.
|
| Constructor and Description |
|---|
ConnectPoint(ElementId elementId,
PortNumber portNumber)
Creates a new connection point.
|
DefaultPort(Element element,
PortNumber number,
boolean isEnabled,
Annotations... annotations)
Creates a network element attributed to the specified provider.
|
DefaultPort(Element element,
PortNumber number,
boolean isEnabled,
Port.Type type,
long portSpeed,
Annotations... annotations)
Creates a network element attributed to the specified provider.
|
HostLocation(DeviceId deviceId,
PortNumber portNumber,
long time)
Creates a new host location using the supplied device & port.
|
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
PortDescription.portNumber()
Returns the port number.
|
PortNumber |
DefaultPortDescription.portNumber() |
| Modifier and Type | Method and Description |
|---|---|
Port |
DeviceStore.getPort(DeviceId deviceId,
PortNumber portNumber)
Returns the specified device port.
|
Port |
DeviceService.getPort(DeviceId deviceId,
PortNumber portNumber)
Returns the port with the specified number and hosted by the given device.
|
| Constructor and Description |
|---|
DefaultPortDescription(PortNumber number,
boolean isEnabled,
Port.Type type,
long portSpeed,
SparseAnnotations... annotations)
Creates a port description using the supplied information.
|
DefaultPortDescription(PortNumber number,
boolean isEnabled,
SparseAnnotations... annotations)
Creates a port description using the supplied information.
|
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
Treatment.output()
Returns the port number where the packet should be emitted.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficSelector.Builder |
TrafficSelector.Builder.matchInport(PortNumber port)
Matches an inport.
|
DefaultTrafficSelector.Builder |
DefaultTrafficSelector.Builder.matchInport(PortNumber port) |
TrafficTreatment.Builder |
TrafficTreatment.Builder.setOutput(PortNumber number)
Set the output port.
|
DefaultTrafficTreatment.Builder |
DefaultTrafficTreatment.Builder.setOutput(PortNumber number) |
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
Criteria.PortCriterion.port() |
| Modifier and Type | Method and Description |
|---|---|
static Criterion |
Criteria.matchInPort(PortNumber port)
Creates a match on IN_PORT field using the specified value.
|
| Constructor and Description |
|---|
PortCriterion(PortNumber port) |
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
Instructions.OutputInstruction.port() |
| Modifier and Type | Method and Description |
|---|---|
static Instructions.OutputInstruction |
Instructions.createOutput(PortNumber number)
Creates an output instruction using the specified port number.
|
Copyright © 2015. All rights reserved.