Package org.onosproject.net
Interface Device
-
- All Superinterfaces:
Annotated,Element,Projectable,Provided
- All Known Subinterfaces:
ForwardingDevice
- All Known Implementing Classes:
DefaultDevice
public interface Device extends Element
Representation of a network infrastructure device.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDevice.TypeCoarse classification of the type of the infrastructure device.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChassisIdchassisId()Returns the device chassis id.StringhwVersion()Returns the device hardware version.DeviceIdid()Returns the device identifier.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.Annotated
annotations
-
Methods inherited from interface org.onosproject.net.driver.Projectable
as, is, project
-
Methods inherited from interface org.onosproject.net.Provided
providerId
-
-
-
-
Method Detail
-
id
DeviceId id()
Returns the device identifier.
-
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 the device chassis id.- Returns:
- chassis id
-
-