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 class
Device.Type
Coarse classification of the type of the infrastructure device.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChassisId
chassisId()
Returns the device chassis id.java.lang.String
hwVersion()
Returns the device hardware version.DeviceId
id()
Returns the device identifier.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.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
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 the device chassis id.- Returns:
- chassis id
-
-