Interface RancidAdapterConfig

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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, String sysdescr)
      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,
                       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