public interface IDevice
| Modifier and Type | Method and Description |
|---|---|
SwitchPort[] |
getAttachmentPoints()
Get all unique attachment points associated with the device.
|
SwitchPort[] |
getAttachmentPoints(boolean includeError)
Get all unique attachment points associated with the device.
|
Long |
getDeviceKey()
Get the primary key for this device.
|
IEntityClass |
getEntityClass()
Get the entity class for the device.
|
Integer[] |
getIPv4Addresses()
Get all unique IPv4 addresses associated with the device.
|
Date |
getLastSeen()
Get the most recent timestamp for this device
|
long |
getMACAddress()
Get the MAC address of the device as a Long value.
|
String |
getMACAddressString()
Get the MAC address of the device as a String value.
|
SwitchPort[] |
getOldAP()
Get all old attachment points associated with the device. this is used in
host movement scenario.
|
Short[] |
getSwitchPortVlanIds(SwitchPort swp)
Returns all unique VLAN IDs for the device that were observed on the
given switch port
|
Short[] |
getVlanId()
Get all unique VLAN IDs for the device.
|
boolean |
isStaticHost() |
void |
setStaticHost(boolean isStatic) |
HostNodeConnector |
toHostNodeConnector() |
Long getDeviceKey()
long getMACAddress()
String getMACAddressString()
Short[] getVlanId()
Integer[] getIPv4Addresses()
SwitchPort[] getAttachmentPoints()
SwitchPort[] getOldAP()
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 userShort[] getSwitchPortVlanIds(SwitchPort swp)
swp - the switch port to queryDate getLastSeen()
IEntityClass getEntityClass()
IEntityClassifierServiceboolean isStaticHost()
void setStaticHost(boolean isStatic)
HostNodeConnector toHostNodeConnector()
Copyright © 2015. All Rights Reserved.