private static final Logger LOG = LoggerFactory.getLogger(OpenFlowPluginProviderImpl.class);
private static final MessageIntelligenceAgency messageIntelligenceAgency = new MessageIntelligenceAgencyImpl();
private static final int TICKS_PER_WHEEL = 500;
- private static final long TICK_DURATION = 10; // 0.5 sec.
+ // 0.5 sec.
+ private static final long TICK_DURATION = 10;
private final HashedWheelTimer hashedWheelTimer = new HashedWheelTimer(TICK_DURATION, TimeUnit.MILLISECONDS, TICKS_PER_WHEEL);
private boolean isStatisticsPollingOff = false;
private boolean isStatisticsRpcEnabled;
private boolean isNotificationFlowRemovedOff = false;
+ private boolean skipTableFeatures = true;
+
private final ThreadPoolExecutor threadPool;
private ClusterSingletonServiceProvider singletonServicesProvider;
this.isNotificationFlowRemovedOff = isNotificationFlowRemovedOff;
}
+ @Override
public void setClusteringSingletonServicesProvider(ClusterSingletonServiceProvider singletonServicesProvider) {
this.singletonServicesProvider = singletonServicesProvider;
}
+ @Override
+ public void setSkipTableFeatures(final boolean skipTableFeatures){
+ this.skipTableFeatures = skipTableFeatures;
+ }
+
@Override
public void setSwitchFeaturesMandatory(final boolean switchFeaturesMandatory) {
this.switchFeaturesMandatory = switchFeaturesMandatory;
barrierCountLimit,
getMessageIntelligenceAgency(),
isNotificationFlowRemovedOff,
-
singletonServicesProvider,
notificationPublishService,
hashedWheelTimer,
- convertorManager);
+ convertorManager,
+ skipTableFeatures);
((ExtensionConverterProviderKeeper) deviceManager).setExtensionConverterProvider(extensionConverterManager);
if(deviceManager != null && props.containsKey("notification-flow-removed-off")) {
deviceManager.setIsNotificationFlowRemovedOff(Boolean.valueOf(props.get("notification-flow-removed-off").toString()));
}
+ if(deviceManager != null && props.containsKey("skip-table-features")) {
+ deviceManager.setSkipTableFeatures(Boolean.valueOf(props.get("skip-table-features").toString()));
+ }
+ if(rpcManager != null && props.containsKey("is-statistics-rpc-enabled")){
+ rpcManager.setStatisticsRpcEnabled(Boolean.valueOf((props.get("is-statistics-rpc-enabled").toString())));
+ }
}
private static void registerMXBean(final MessageIntelligenceAgency messageIntelligenceAgency) {