public interface IDevice
Modifier and Type | Method and Description |
---|---|
SwitchPort[] |
getAttachmentPoints()
Gets all unique attachment points associated with the device.
|
SwitchPort[] |
getAttachmentPoints(boolean includeError)
Gets all unique attachment points associated with the device.
|
java.lang.Long |
getDeviceKey()
Gets the primary key for this device.
|
IEntityClass |
getEntityClass()
Gets the entity class for the device.
|
java.lang.Integer[] |
getIPv4Addresses()
Gets all unique IPv4 addresses associated with the device.
|
java.util.Date |
getLastSeen()
Gets the most recent timestamp for this device.
|
long |
getMACAddress()
Gets the MAC address of the device as a Long value.
|
java.lang.String |
getMACAddressString()
Gets the MAC address of the device as a String value.
|
java.lang.Short[] |
getSwitchPortVlanIds(SwitchPort swp)
Returns all unique VLAN IDs for the device that were observed on
the given switch port.
|
java.lang.Short[] |
getVlanId()
Gets all unique VLAN IDs for the device.
|
java.lang.Long getDeviceKey()
long getMACAddress()
java.lang.String getMACAddressString()
java.lang.Short[] getVlanId()
java.lang.Integer[] getIPv4Addresses()
SwitchPort[] getAttachmentPoints()
SwitchPort[] getAttachmentPoints(boolean includeError)
includeError
- whether to include blocked attachment points.
Blocked attachment points should not be used for forwarding,
but could be useful to show to a userjava.lang.Short[] getSwitchPortVlanIds(SwitchPort swp)
swp
- the switch port to queryjava.util.Date getLastSeen()
IEntityClass getEntityClass()
IEntityClassifierService