| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service API definitions.
|
| org.onosproject.net.behaviour |
Abstractions of various device configuration or device adaptation behaviours;
counterpart to the device driver subsystem.
|
| 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.
|
| org.onosproject.net.group |
Abstractions for interacting with device port groups.
|
| 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(long number,
String name)
Returns the port number representing the specified long value and name.
|
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.
|
OchPort(Element element,
PortNumber number,
boolean isEnabled,
OduSignalType signalType,
boolean isTunable,
OchSignal lambda,
Annotations... annotations)
Creates an OCh port in the specified network element.
|
OduCltPort(Element element,
PortNumber number,
boolean isEnabled,
OduCltPort.SignalType signalType,
Annotations... annotations)
Creates an ODU client port in the specified network element.
|
OmsPort(Element element,
PortNumber number,
boolean isEnabled,
org.onlab.util.Frequency minFrequency,
org.onlab.util.Frequency maxFrequency,
org.onlab.util.Frequency grid,
Annotations... annotations)
Creates an OMS port in the specified network element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PortConfig.applyQoS(PortNumber port,
com.google.common.primitives.UnsignedInteger queueId)
Apply QoS configuration on a device.
|
void |
PortConfig.removeQoS(PortNumber port)
Remove a QoS configuration.
|
void |
PortConfig.setEnabled(PortNumber port,
boolean state)
Enable/disable administratively a 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.
|
OchPortDescription(PortNumber number,
boolean isEnabled,
OduSignalType signalType,
boolean isTunable,
OchSignal lambda,
SparseAnnotations... annotations)
Creates OCH port description based on the supplied information.
|
OduCltPortDescription(PortNumber number,
boolean isEnabled,
OduCltPort.SignalType signalType,
SparseAnnotations... annotations)
Creates ODU client port description based on the supplied information.
|
OmsPortDescription(PortNumber number,
boolean isEnabled,
org.onlab.util.Frequency minFrequency,
org.onlab.util.Frequency maxFrequency,
org.onlab.util.Frequency grid,
SparseAnnotations... annotations)
Creates OMS port description based on 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.matchInPhyPort(PortNumber port)
Matches a physical inport.
|
DefaultTrafficSelector.Builder |
DefaultTrafficSelector.Builder.matchInPhyPort(PortNumber port) |
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 |
PortCriterion.port()
Gets the input port number to match.
|
| Modifier and Type | Method and Description |
|---|---|
static Criterion |
Criteria.matchInPhyPort(PortNumber port)
Creates a match on IN_PHY_PORT field using the specified value.
|
static Criterion |
Criteria.matchInPort(PortNumber port)
Creates a match on IN_PORT field using the specified value.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
GroupBucket.watchPort()
Returns port number used for liveness detection for a
failover bucket.
|
PortNumber |
DefaultGroupBucket.watchPort()
Returns port number used for liveness detection for a
failover bucket.
|
| Modifier and Type | Method and Description |
|---|---|
static GroupBucket |
DefaultGroupBucket.createFailoverGroupBucket(TrafficTreatment treatment,
PortNumber watchPort,
GroupId watchGroup)
Creates failover group bucket with watchport or watchgroup.
|
Copyright © 2015. All rights reserved.