Package org.onosproject.net.device
Interface DeviceDescription
-
- All Superinterfaces:
Annotated,Description
- All Known Implementing Classes:
DefaultDeviceDescription
public interface DeviceDescription extends Description
Carrier of immutable information about a device.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChassisIdchassisId()Returns a device chassis id.URIdeviceUri()Protocol/provider specific URI that can be used to encode the identity information required to communicate with the device externally, e.g.StringhwVersion()Returns the device hardware version.booleanisDefaultAvailable()Return whether device should be made available by default.Stringmanufacturer()Returns the device manufacturer name.StringserialNumber()Returns the device serial number.StringswVersion()Returns the device software version.Device.Typetype()Returns the type of the infrastructure device.-
Methods inherited from interface org.onosproject.net.Description
annotations
-
-
-
-
Method Detail
-
deviceUri
URI deviceUri()
Protocol/provider specific URI that can be used to encode the identity information required to communicate with the device externally, e.g. datapath ID.- Returns:
- provider specific URI for the device
-
type
Device.Type type()
Returns the type of the infrastructure device.- Returns:
- type of the device
-
manufacturer
String manufacturer()
Returns the device manufacturer name.- Returns:
- manufacturer name
-
hwVersion
String hwVersion()
Returns the device hardware version.- Returns:
- hardware version
-
swVersion
String swVersion()
Returns the device software version.- Returns:
- software version
-
serialNumber
String serialNumber()
Returns the device serial number.- Returns:
- serial number
-
chassisId
ChassisId chassisId()
Returns a device chassis id.- Returns:
- chassis id
-
isDefaultAvailable
boolean isDefaultAvailable()
Return whether device should be made available by default.- Returns:
- default availability
-
-