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 SummaryNested Classes Modifier and Type Interface Description static classDevice.TypeCoarse classification of the type of the infrastructure device.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ChassisIdchassisId()Returns the device chassis id.java.lang.StringhwVersion()Returns the device hardware version.DeviceIdid()Returns the device identifier.java.lang.Stringmanufacturer()Returns the device manufacturer name.java.lang.StringserialNumber()Returns the device serial number.java.lang.StringswVersion()Returns the device software version.Device.Typetype()Returns the type of the infrastructure device.- 
Methods inherited from interface org.onosproject.net.Annotatedannotations
 - 
Methods inherited from interface org.onosproject.net.driver.Projectableas, is, project
 - 
Methods inherited from interface org.onosproject.net.ProvidedproviderId
 
- 
 
- 
- 
- 
Method Detail- 
idDeviceId id() Returns the device identifier.
 - 
typeDevice.Type type() Returns the type of the infrastructure device.- Returns:
- type of the device
 
 - 
manufacturerjava.lang.String manufacturer() Returns the device manufacturer name.- Returns:
- manufacturer name
 
 - 
hwVersionjava.lang.String hwVersion() Returns the device hardware version.- Returns:
- hardware version
 
 - 
swVersionjava.lang.String swVersion() Returns the device software version.- Returns:
- software version
 
 - 
serialNumberjava.lang.String serialNumber() Returns the device serial number.- Returns:
- serial number
 
 - 
chassisIdChassisId chassisId() Returns the device chassis id.- Returns:
- chassis id
 
 
- 
 
-