| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service API definitions.
|
| org.onosproject.net.device |
Infrastructure device model & related services API definitions.
|
| Modifier and Type | Method and Description |
|---|---|
Port.Type |
Port.type()
Returns the port type.
|
Port.Type |
DefaultPort.type() |
static Port.Type |
Port.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Port.Type[] |
Port.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
DefaultPort(Element element,
PortNumber number,
boolean isEnabled,
Port.Type type,
long portSpeed,
Annotations... annotations)
Creates a network element attributed to the specified provider.
|
| Modifier and Type | Method and Description |
|---|---|
Port.Type |
PortDescription.type()
Returns the port type.
|
Port.Type |
DefaultPortDescription.type() |
| Constructor and Description |
|---|
DefaultPortDescription(PortNumber number,
boolean isEnabled,
Port.Type type,
long portSpeed,
SparseAnnotations... annotations)
Creates a port description using the supplied information.
|
Copyright © 2015. All rights reserved.