Package org.opennms.netmgt.config
Interface RancidAdapterConfig
-
- All Known Implementing Classes:
RancidAdapterConfigFactory,RancidAdapterConfigManager
public interface RancidAdapterConfigRancidAdapterConfig interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetDelay(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 executionintgetRetries(String ipaddress)return the number of retries in case of failure for the specified addressStringgetType(String sysoid, String sysdescr)return the Rancid Type StringbooleanisCurTimeInSchedule(String ipaddress)Return if current time is ready to be scheduled.booleanuseCategories(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, String sysdescr)
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
-
-