org.opennms.netmgt.linkd.snmp
Class InetCidrRouteTableEntry

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.IpRouteCollectorEntry
                  extended by org.opennms.netmgt.linkd.snmp.InetCidrRouteTableEntry

public final class InetCidrRouteTableEntry
extends IpRouteCollectorEntry

The InetCidrRouteTableEntry 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 the InetCidrRouteTable documentation form more information.

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

Field Summary
static String IP_ROUTE_PFX_LEN
           
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
InetCidrRouteTableEntry()
          Creates a default instance of the ipROUTE table entry map.
 
Method Summary
 int getInetCidrRouteAge()
           
 InetAddress getInetCidrRouteDest()
           
 int getInetCidrRouteIfIndex()
           
 String getInetCidrRouteInfo()
           
 InetAddress getInetCidrRouteMask()
           
 int getInetCidrRouteMetric1()
           
 int getInetCidrRouteMetric2()
           
 int getInetCidrRouteMetric3()
           
 int getInetCidrRouteMetric4()
           
 int getInetCidrRouteMetric5()
           
 InetAddress getInetCidrRouteNextHop()
           
 int getInetCidrRouteProto()
           
 int getInetCidrRouteType()
           
 
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_PFX_LEN

public static final String IP_ROUTE_PFX_LEN
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 InetCidrRoutetable. 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

InetCidrRouteTableEntry

public InetCidrRouteTableEntry()

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

getInetCidrRouteDest

public InetAddress getInetCidrRouteDest()

getInetCidrRouteIfIndex

public int getInetCidrRouteIfIndex()

getInetCidrRouteMetric1

public int getInetCidrRouteMetric1()

getInetCidrRouteMetric2

public int getInetCidrRouteMetric2()

getInetCidrRouteMetric3

public int getInetCidrRouteMetric3()

getInetCidrRouteMetric4

public int getInetCidrRouteMetric4()

getInetCidrRouteNextHop

public InetAddress getInetCidrRouteNextHop()

getInetCidrRouteType

public int getInetCidrRouteType()

getInetCidrRouteProto

public int getInetCidrRouteProto()

getInetCidrRouteAge

public int getInetCidrRouteAge()

getInetCidrRouteMask

public InetAddress getInetCidrRouteMask()
                                 throws UnknownHostException
Throws:
UnknownHostException

getInetCidrRouteMetric5

public int getInetCidrRouteMetric5()

getInetCidrRouteInfo

public String getInetCidrRouteInfo()


Copyright © 2011. All Rights Reserved.