org.opennms.netmgt.linkd.snmp
Class IpCidrRouteTableEntry

java.lang.Object
  extended by org.opennms.netmgt.snmp.AbstractSnmpStore
      extended by org.opennms.netmgt.capsd.snmp.SnmpStore
          extended by org.opennms.netmgt.linkd.snmp.IpRouteCollectorEntry
              extended by org.opennms.netmgt.linkd.snmp.IpCidrRouteTableEntry

public final class IpCidrRouteTableEntry
extends IpRouteCollectorEntry

The IpCidrRouteTableEntry 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:

This object is used by the InetCidrRouteTable to hold information single entries in the table. See InetCidrRouteTable for more information.

Author:
Antonio
See Also:
InetCidrRouteTable, RFC1213

Field Summary
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.linkd.snmp.IpRouteCollectorEntry
IP_ROUTE_AGE, IP_ROUTE_DEST, IP_ROUTE_IFINDEX, IP_ROUTE_INFO, IP_ROUTE_MASK, IP_ROUTE_METRIC1, IP_ROUTE_METRIC2, IP_ROUTE_METRIC3, IP_ROUTE_METRIC4, IP_ROUTE_METRIC5, IP_ROUTE_NXTHOP, IP_ROUTE_PROTO, IP_ROUTE_TYPE
 
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
 
Constructor Summary
IpCidrRouteTableEntry()
          Creates a default instance of the ipROUTE table entry map.
 
Method Summary
 int getIpCidrRouteAge()
           
 InetAddress getIpCidrRouteDest()
           
 int getIpCidrRouteIfIndex()
           
 String getIpCidrRouteInfo()
           
 InetAddress getIpCidrRouteMask()
           
 int getIpCidrRouteMetric1()
           
 int getIpCidrRouteMetric2()
           
 int getIpCidrRouteMetric3()
           
 int getIpCidrRouteMetric4()
           
 int getIpCidrRouteMetric5()
           
 InetAddress getIpCidrRouteNextHop()
           
 int getIpCidrRouteProto()
           
 int getIpCidrRouteType()
           
 
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

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

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 IpCidrRoutetable. Objects in this list should be used by multiple instances of this class.

Constructor Detail

IpCidrRouteTableEntry

public IpCidrRouteTableEntry()

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

getIpCidrRouteDest

public InetAddress getIpCidrRouteDest()

getIpCidrRouteIfIndex

public int getIpCidrRouteIfIndex()

getIpCidrRouteMetric1

public int getIpCidrRouteMetric1()

getIpCidrRouteMetric2

public int getIpCidrRouteMetric2()

getIpCidrRouteMetric3

public int getIpCidrRouteMetric3()

getIpCidrRouteMetric4

public int getIpCidrRouteMetric4()

getIpCidrRouteNextHop

public InetAddress getIpCidrRouteNextHop()

getIpCidrRouteType

public int getIpCidrRouteType()

getIpCidrRouteProto

public int getIpCidrRouteProto()

getIpCidrRouteAge

public int getIpCidrRouteAge()

getIpCidrRouteMask

public InetAddress getIpCidrRouteMask()

getIpCidrRouteMetric5

public int getIpCidrRouteMetric5()

getIpCidrRouteInfo

public String getIpCidrRouteInfo()


Copyright © 2011. All Rights Reserved.