org.opennms.netmgt.linkd.snmp
Class IpRouteTableEntry

java.lang.Object
  extended by org.opennms.netmgt.snmp.AbstractSnmpStore
      extended by org.opennms.netmgt.capsd.snmp.SnmpStore
          extended by org.opennms.netmgt.capsd.snmp.SnmpTableEntry
              extended by org.opennms.netmgt.linkd.snmp.IpRouteTableEntry

public final class IpRouteTableEntry
extends SnmpTableEntry

The IpRouteTableEntry class is designed to hold all the MIB-II information for one entry in the ipRouteTable. The table effectively contains a list of these entries, each entry having information about ip route. The entry contains: ipRouteDest, ipRouteIfIndex, ipRouteMetric1, ipRouteMetric2, ipRouteMetric3, ipRouteMetric4, ipRouteNextHop, ipRouteType, ipRouteProto, ipRouteAge, ipRouteMask, ipRouteMetric5, ipRouteInfo.

This object is used by the IpRouteTable to hold infomation single entries in the table. See the IpRouteTable documentation form more information.

Author:
Antonio, Sowmya, Weave, Jon Whetzel, OpenNMS
See Also:
IpRouteTable, RFC1213

Field Summary
static String IP_ROUTE_AGE
           
static String IP_ROUTE_DEST
           
static String IP_ROUTE_IFINDEX
           
static String IP_ROUTE_INFO
           
static String IP_ROUTE_MASK
           
static String IP_ROUTE_METRIC1
           
static String IP_ROUTE_METRIC2
           
static String IP_ROUTE_METRIC3
           
static String IP_ROUTE_METRIC4
           
static String IP_ROUTE_METRIC5
           
static String IP_ROUTE_NXTHOP
           
static String IP_ROUTE_PROTO
           
static String IP_ROUTE_TYPE
           
static NamedSnmpVar[] ms_elemList
          The keys that will be supported by default from the TreeMap base class.
static String TABLE_OID
          The TABLE_OID is the object identifier that represents the root of the IP ROUTE table in the MIB forest.
 
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
 
Constructor Summary
IpRouteTableEntry()
          Creates a default instance of the ipROUTE table entry map.
 
Method Summary
 int getIpRouteAge()
           
 InetAddress getIpRouteDest()
           
 int getIpRouteIfIndex()
           
 String getIpRouteInfo()
           
 InetAddress getIpRouteMask()
           
 int getIpRouteMetric1()
           
 int getIpRouteMetric2()
           
 int getIpRouteMetric3()
           
 int getIpRouteMetric4()
           
 int getIpRouteMetric5()
           
 InetAddress getIpRouteNextHop()
           
 int getIpRouteProto()
           
 int getIpRouteType()
           
 
Methods inherited from class org.opennms.netmgt.capsd.snmp.SnmpStore
getElementListSize, getElements, log, storeResult
 
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IP_ROUTE_DEST

public static final String IP_ROUTE_DEST
See Also:
Constant Field Values

IP_ROUTE_IFINDEX

public static final String IP_ROUTE_IFINDEX
See Also:
Constant Field Values

IP_ROUTE_METRIC1

public static final String IP_ROUTE_METRIC1
See Also:
Constant Field Values

IP_ROUTE_METRIC2

public static final String IP_ROUTE_METRIC2
See Also:
Constant Field Values

IP_ROUTE_METRIC3

public static final String IP_ROUTE_METRIC3
See Also:
Constant Field Values

IP_ROUTE_METRIC4

public static final String IP_ROUTE_METRIC4
See Also:
Constant Field Values

IP_ROUTE_NXTHOP

public static final String IP_ROUTE_NXTHOP
See Also:
Constant Field Values

IP_ROUTE_TYPE

public static final String IP_ROUTE_TYPE
See Also:
Constant Field Values

IP_ROUTE_PROTO

public static final String IP_ROUTE_PROTO
See Also:
Constant Field Values

IP_ROUTE_AGE

public static final String IP_ROUTE_AGE
See Also:
Constant Field Values

IP_ROUTE_MASK

public static final String IP_ROUTE_MASK
See Also:
Constant Field Values

IP_ROUTE_METRIC5

public static final String IP_ROUTE_METRIC5
See Also:
Constant Field Values

IP_ROUTE_INFO

public static final String IP_ROUTE_INFO
See Also:
Constant Field Values

ms_elemList

public static NamedSnmpVar[] ms_elemList

The keys that will be supported by default from the TreeMap base class. Each of the elements in the list are an instance of the IpRoutetable. Objects in this list should be used by multiple instances of this class.


TABLE_OID

public static final String TABLE_OID

The TABLE_OID is the object identifier that represents the root of the IP ROUTE table in the MIB forest.

See Also:
Constant Field Values
Constructor Detail

IpRouteTableEntry

public IpRouteTableEntry()

Creates a default instance of the ipROUTE table entry map. The map represents a singular instance of the routing table. Each column in the table for the loaded instance may be retreived either through its name or object identifier.

The initial table is constructied with zero elements in the map.

Method Detail

getIpRouteDest

public InetAddress getIpRouteDest()

getIpRouteIfIndex

public int getIpRouteIfIndex()

getIpRouteMetric1

public int getIpRouteMetric1()

getIpRouteMetric2

public int getIpRouteMetric2()

getIpRouteMetric3

public int getIpRouteMetric3()

getIpRouteMetric4

public int getIpRouteMetric4()

getIpRouteNextHop

public InetAddress getIpRouteNextHop()

getIpRouteType

public int getIpRouteType()

getIpRouteProto

public int getIpRouteProto()

getIpRouteAge

public int getIpRouteAge()

getIpRouteMask

public InetAddress getIpRouteMask()

getIpRouteMetric5

public int getIpRouteMetric5()

getIpRouteInfo

public String getIpRouteInfo()


Copyright © 2009. All Rights Reserved.