org.opennms.netmgt.config
Interface RancidAdapterConfig

All Known Implementing Classes:
RancidAdapterConfigFactory, RancidAdapterConfigManager

public interface RancidAdapterConfig

RancidAdapterConfig interface.

Version:
$Id: $
Author:
ranger

Method Summary
 long getDelay(String ipaddress)
          return the delay time for the specified address the delay time is the time in msec that represents a delay in the execution of a RancidAdapter execution
 int getRetries(String ipaddress)
          return the number of retries in case of failure for the specified address
 String getType(String sysoid)
          return the Rancid Type String
 boolean isCurTimeInSchedule(String ipaddress)
          Return if current time is ready to be scheduled.
 boolean useCategories(String ipaddress)
          return if is to be used the opennms categories to get rancid device type
 

Method Detail

getDelay

long getDelay(String ipaddress)
return the delay time for the specified address the delay time is the time in msec that represents a delay in the execution of a RancidAdapter execution

Parameters:
ipaddress - the ipaddress of the node
Returns:
the delay time

getRetries

int getRetries(String ipaddress)
return the number of retries in case of failure for the specified address

Parameters:
ipaddress - the ipaddress of the node
Returns:
the number of retries

useCategories

boolean useCategories(String ipaddress)
return if is to be used the opennms categories to get rancid device type

Parameters:
ipaddress - the ipaddress of the node
Returns:
true if use opennms category

getType

String getType(String sysoid)
return the Rancid Type String

Parameters:
sysoid - the system OID identifier of the node
Returns:
RancidType String

isCurTimeInSchedule

boolean isCurTimeInSchedule(String ipaddress)
Return if current time is ready to be scheduled.

Parameters:
ipaddress - the ipaddress of the node
Returns:
true if current time is in a schedules under policy manage


Copyright © 2011. All Rights Reserved.