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 ChassisId
chassisId()
Returns a device chassis id.java.net.URI
deviceUri()
Protocol/provider specific URI that can be used to encode the identity information required to communicate with the device externally, e.g.java.lang.String
hwVersion()
Returns the device hardware version.boolean
isDefaultAvailable()
Return whether device should be made available by default.java.lang.String
manufacturer()
Returns the device manufacturer name.java.lang.String
serialNumber()
Returns the device serial number.java.lang.String
swVersion()
Returns the device software version.Device.Type
type()
Returns the type of the infrastructure device.-
Methods inherited from interface org.onosproject.net.Description
annotations
-
-
-
-
Method Detail
-
deviceUri
java.net.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
java.lang.String manufacturer()
Returns the device manufacturer name.- Returns:
- manufacturer name
-
hwVersion
java.lang.String hwVersion()
Returns the device hardware version.- Returns:
- hardware version
-
swVersion
java.lang.String swVersion()
Returns the device software version.- Returns:
- software version
-
serialNumber
java.lang.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
-
-