- openflowplugin
committers:
- <<: *odl_openflowplugin_ptl
- - name: 'Shuva Jyoti Kar'
- email: 'shukar@cisco.com'
- company: 'cisco'
- id: 'SHUVA JYOTI KAR'
- timezone: 'Unknown/Unknown'
- - name: 'Jozef Bacigal'
- email: 'jozef.bacigal@pantheon.tech'
- company: 'pantheon'
- id: 'batky'
- timezone: 'Unknown/Unknown'
- - name: 'Michal Rehak'
- email: 'lagosaurus.42@gmail.com'
- company: ''
- id: 'michal.rehak'
- timezone: 'Unknown/Unknown'
- - name: 'Ed Warnicke'
- email: 'hagbard@gmail.com'
- company: ''
- id: 'hagbard'
- timezone: 'Unknown/Unknown'
- - name: 'Prasanna Huddar'
- email: 'prasanna.k.huddar@gmail.com'
- company: ''
- id: 'prasannakh'
- timezone: 'Unknown/Unknown'
- - name: 'Anil Vishnoi'
- email: 'avishnoi@redhat.com'
- company: 'Redhat'
- id: 'Avishnoi'
- timezone: 'Unknown/Unknown'
- - name: 'Jozef Bacigál'
- email: 'jozef.bacigal@me.com'
- company: 'me'
- id: 'jbacigal'
- timezone: 'Unknown/Unknown'
- - name: 'Abhijit Kumbhare'
- email: 'abhijitkoss@gmail.com'
- company: ''
- id: 'abhijit2511'
- timezone: 'Unknown/Unknown'
- - name: 'Shuva Kar'
- email: 'shuva.jyoti.kar.87@gmail.com'
- company: ''
- id: 'shuvajyotikar'
- timezone: 'Unknown/Unknown'
- - name: 'Hema Gopalakrishnan'
- email: 'hema.gopalkrishnan@ericsson.com'
- company: 'Ericsson'
- id: 'Hematg'
- timezone: 'Unknown/Unknown'
- name: 'Gobinath Suganthan'
email: 'gobinath@ericsson.com'
company: 'Ericsson'
public class ForwardingRulesManagerImpl implements ForwardingRulesManager {
private static final Logger LOG = LoggerFactory.getLogger(ForwardingRulesManagerImpl.class);
- static final int STARTUP_LOOP_TICK = 500;
- static final int STARTUP_LOOP_MAX_RETRIES = 8;
+ static final int STARTUP_LOOP_TICK = 1000;
+ static final int STARTUP_LOOP_MAX_RETRIES = 240;
private static final int FRM_RECONCILIATION_PRIORITY = Integer.getInteger("frm.reconciliation.priority", 1);
private static final String SERVICE_NAME = "FRM";
@Singleton
public class ListenerRegistrationHelper {
private static final Logger LOG = LoggerFactory.getLogger(ListenerRegistrationHelper.class);
- private final long inventoryCheckTimer = 1;
+ private static final long INVENTORY_CHECK_TIMER = 1;
private final String operational = "OPERATIONAL";
private final ListeningExecutorService listeningExecutorService;
private final DataBroker dataBroker;
while (! getInventoryConfigDataStoreStatus().equals(operational)) {
try {
LOG.debug("Retrying for datastore to become operational for listener {}", listener);
- Thread.sleep(inventoryCheckTimer * 1000);
+ Thread.sleep(INVENTORY_CHECK_TIMER * 1000);
} catch (InterruptedException e) {
LOG.info("registerDataTreeChangeListener thread is interrupted");
Thread.currentThread().interrupt();