Package org.opennms.netmgt.config
Interface RancidAdapterConfig
-
- All Known Implementing Classes:
RancidAdapterConfigFactory
,RancidAdapterConfigManager
public interface RancidAdapterConfig
RancidAdapterConfig interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getDelay(java.lang.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 executionint
getRetries(java.lang.String ipaddress)
return the number of retries in case of failure for the specified addressjava.lang.String
getType(java.lang.String sysoid, java.lang.String sysdescr)
return the Rancid Type Stringboolean
isCurTimeInSchedule(java.lang.String ipaddress)
Return if current time is ready to be scheduled.boolean
useCategories(java.lang.String ipaddress)
return if is to be used the opennms categories to get rancid device type
-
-
-
Method Detail
-
getDelay
long getDelay(java.lang.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(java.lang.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(java.lang.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
java.lang.String getType(java.lang.String sysoid, java.lang.String sysdescr)
return the Rancid Type String- Parameters:
sysoid
- the system OID identifier of the node- Returns:
- RancidType String
-
isCurTimeInSchedule
boolean isCurTimeInSchedule(java.lang.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
-
-