Device.Typeid| 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 |
|---|---|
org.onlab.packet.ChassisId |
chassisId()
Returns the device chassis id.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
hwVersion()
Returns the device hardware version.
|
DeviceId |
id()
Returns the device identifier.
|
String |
manufacturer()
Returns the device manufacturer name.
|
String |
serialNumber()
Returns the device serial number.
|
String |
swVersion()
Returns the device software version.
|
String |
toString() |
Device.Type |
type()
Returns the type of the infrastructure device.
|
providerIdannotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationsproviderIdpublic DefaultDevice(ProviderId providerId, DeviceId id, Device.Type type, String manufacturer, String hwVersion, String swVersion, String serialNumber, org.onlab.packet.ChassisId chassisId, Annotations... annotations)
providerId - identity of the providerid - device identifiertype - device typemanufacturer - device manufacturerhwVersion - device HW versionswVersion - device SW versionserialNumber - device serial numberchassisId - chasis idannotations - optional key/value annotationspublic Device.Type type()
Devicepublic String manufacturer()
Devicemanufacturer in interface Devicepublic String hwVersion()
Devicepublic String swVersion()
Devicepublic String serialNumber()
DeviceserialNumber in interface Devicepublic org.onlab.packet.ChassisId chassisId()
DeviceCopyright © 2015. All rights reserved.