public interface IfLabel
Modifier and Type | Field and Description |
---|---|
static String |
NO_IFLABEL |
Modifier and Type | Method and Description |
---|---|
String |
getIfLabel(int nodeId,
InetAddress ipAddr)
getIfLabel
|
String |
getIfLabel(String name,
String descr,
String physAddr)
getIfLabel
|
String |
getIfLabelfromIfIndex(int nodeId,
InetAddress ipAddr,
int ifIndex)
getIfLabelfromIfIndex
|
String |
getIfLabelfromSnmpIfIndex(int nodeId,
int ifIndex)
Return the ifLabel as a string for the given node and ifIndex.
|
Map<String,String> |
getInterfaceInfoFromIfLabel(int nodeId,
String ifLabel)
Return a map of useful SNMP information for the interface specified by
the nodeId and ifLabel.
|
void |
setSnmpInterfaceDao(SnmpInterfaceDao snmpInterfaceDao) |
static final String NO_IFLABEL
Map<String,String> getInterfaceInfoFromIfLabel(int nodeId, String ifLabel)
nodeId
- Node idifLabel
- Interface label of format: SQLException
- if error occurs accessing the database.String getIfLabel(int nodeId, InetAddress ipAddr)
getIfLabel
String getIfLabelfromIfIndex(int nodeId, InetAddress ipAddr, int ifIndex)
getIfLabelfromIfIndex
String getIfLabelfromSnmpIfIndex(int nodeId, int ifIndex)
nodeId
- a int.ifIndex
- a int.void setSnmpInterfaceDao(SnmpInterfaceDao snmpInterfaceDao)
Copyright © 2021. All rights reserved.