public abstract class IfLabel extends Object
Constructor and Description |
---|
IfLabel() |
Modifier and Type | Method and Description |
---|---|
static String |
getIfLabel(int nodeId,
String ipAddr)
getIfLabel
|
static String |
getIfLabel(String name,
String descr,
String physAddr)
getIfLabel
|
static String |
getIfLabelfromIfIndex(int nodeId,
String ipAddr,
int ifIndex)
getIfLabelfromIfIndex
|
static String |
getIfLabelfromSnmpIfIndex(int nodeId,
int ifIndex)
Return the ifLabel as a string for the given node and ifIndex.
|
static String[] |
getIfLabels(int nodeId)
Get the interface labels for each interface on a given node.
|
static Map<String,String> |
getInterfaceInfoFromIfLabel(int nodeId,
String ifLabel)
Return a map of useful SNMP information for the interface specified by
the nodeId and ifLabel.
|
public static Map<String,String> getInterfaceInfoFromIfLabel(int nodeId, String ifLabel)
nodeId
- Node idifLabel
- Interface label of format: SQLException
- if error occurs accessing the database.public static String[] getIfLabels(int nodeId) throws SQLException
nodeId
- a int.String
objects.SQLException
- if any.public static String getIfLabelfromIfIndex(int nodeId, String ipAddr, int ifIndex)
getIfLabelfromIfIndex
public static String getIfLabelfromSnmpIfIndex(int nodeId, int ifIndex)
nodeId
- a int.ifIndex
- a int.Copyright © 2017. All rights reserved.