Class OltPollingTask

java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.app.exec.scheduler.Task
org.bgerp.plugin.bgb.getolt.exec.OltPollingTask
All Implemented Interfaces:
Runnable, Title

public class OltPollingTask extends Task
Scheduled task for polling OLT devices via Telnet and storing results in DB. Configuration in scheduler:
 scheduler.task.oltPoll.class=OltPollingTask
 scheduler.task.oltPoll.minutes=0,30
 scheduler.task.oltPoll.batchSize=10
 scheduler.task.oltPoll.staleMinutes=60
 scheduler.task.oltPoll.telnetTimeout=30000
 
  • Constructor Details

    • OltPollingTask

      public OltPollingTask(ConfigMap config)
  • Method Details

    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Title
      Overrides:
      getTitle in class Task
    • run

      public void run()
    • runBillingMapping

      public static void runBillingMapping()
      Fetch MAC→subscriber mappings from all billing systems and update ONU records. Can be called manually from action or by scheduler.