Class AbstractDeviceInitializer
java.lang.Object
org.opendaylight.openflowplugin.impl.device.initialization.AbstractDeviceInitializer
- Direct Known Subclasses:
OF10DeviceInitializer
,OF13DeviceInitializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninitialize
(@NonNull DeviceContext deviceContext, boolean switchFeaturesMandatory, boolean skipTableFeatures, @Nullable MultipartWriterProvider multipartWriterProvider, @Nullable ConvertorExecutor convertorExecutor) Perform initial information gathering and store them to operational datastore.initializeNodeInformation
(@NonNull DeviceContext deviceContext, boolean switchFeaturesMandatory, boolean skipTableFeatures, @Nullable MultipartWriterProvider multipartWriterProvider, @Nullable ConvertorExecutor convertorExecutor)
-
Constructor Details
-
AbstractDeviceInitializer
public AbstractDeviceInitializer()
-
-
Method Details
-
initialize
public Future<Void> initialize(@NonNull DeviceContext deviceContext, boolean switchFeaturesMandatory, boolean skipTableFeatures, @Nullable MultipartWriterProvider multipartWriterProvider, @Nullable ConvertorExecutor convertorExecutor) Perform initial information gathering and store them to operational datastore.- Parameters:
deviceContext
- device contextswitchFeaturesMandatory
- is switch features mandatoryskipTableFeatures
- skip collecting of table featuresmultipartWriterProvider
- multipart writer providerconvertorExecutor
- convertor executor
-
initializeNodeInformation
protected abstract Future<Void> initializeNodeInformation(@NonNull DeviceContext deviceContext, boolean switchFeaturesMandatory, boolean skipTableFeatures, @Nullable MultipartWriterProvider multipartWriterProvider, @Nullable ConvertorExecutor convertorExecutor)
-