| 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 |
|---|---|
Device.Type |
Device.type()
Returns the type of the infrastructure device.
|
Device.Type |
DefaultDevice.type() |
static Device.Type |
Device.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Device.Type[] |
Device.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
DefaultDevice(ProviderId providerId,
DeviceId id,
Device.Type type,
String manufacturer,
String hwVersion,
String swVersion,
String serialNumber,
org.onlab.packet.ChassisId chassisId,
Annotations... annotations)
Creates a network element attributed to the specified provider.
|
| Modifier and Type | Method and Description |
|---|---|
Device.Type |
DeviceDescription.type()
Returns the type of the infrastructure device.
|
Device.Type |
DefaultDeviceDescription.type() |
| Constructor and Description |
|---|
DefaultDeviceDescription(URI uri,
Device.Type type,
String manufacturer,
String hwVersion,
String swVersion,
String serialNumber,
org.onlab.packet.ChassisId chassis,
SparseAnnotations... annotations)
Creates a device description using the supplied information.
|
Copyright © 2015. All rights reserved.