Class OpenFlowProviderConfigImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.configuration.OpenFlowProviderConfigImpl
-
- All Implemented Interfaces:
OpenflowProviderConfig,org.opendaylight.yangtools.yang.binding.Augmentable<OpenflowProviderConfig>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.ChildOf<OpenflowProviderConfigData>,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
public class OpenFlowProviderConfigImpl extends Object implements OpenflowProviderConfig
-
-
Field Summary
-
Fields inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.OpenflowProviderConfig
QNAME
-
-
Constructor Summary
Constructors Constructor Description OpenFlowProviderConfigImpl(ConfigurationService service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <E extends org.opendaylight.yangtools.yang.binding.Augmentation<OpenflowProviderConfig>>
Eaugmentation(Class<E> augmentationType)NonZeroUint16TypegetBarrierCountLimit()Barrier limitNonZeroUint32TypegetBarrierIntervalTimeoutLimit()Barrier timeoutNonZeroUint32TypegetBasicTimerDelay()Initial delay used in polling the statistics, value is in millisecondsorg.opendaylight.yangtools.yang.common.Uint16getDeviceConnectionHoldTimeInSeconds()device connection hold time is the least time delay in seconds a device has to maintain between its consecutive connection attempts.org.opendaylight.yangtools.yang.common.Uint16getDeviceConnectionRateLimitPerMin()To limit the number of datapath nodes connecting to odl controller instance per minute.NonZeroUint32TypegetDeviceDatastoreRemovalDelay()Delay (in milliseconds) before device is removed from the operational data store in the event of device disconnection from the controller.NonZeroUint32TypegetEchoReplyTimeout()How long we should wait for echo reply (value is in millisecondsorg.opendaylight.yangtools.yang.common.Uint32getGlobalNotificationQuota()Global notification quotaNonZeroUint32TypegetMaximumTimerDelay()Maximum timer delay is the wait time to collect next statistics used in polling the statistics, value is in millisecondsNonZeroUint16TypegetRpcRequestsQuota()Quota for maximum number of RPC requestsNonZeroUint16TypegetThreadPoolMaxThreads()Maximum number of threads in thread poolorg.opendaylight.yangtools.yang.common.Uint16getThreadPoolMinThreads()Mininum (starting) number of threads in thread poolorg.opendaylight.yangtools.yang.common.Uint32getThreadPoolTimeout()After how much time (in seconds) of inactivity will be threads in pool terminatedBooleanisEnableCustomTrustManager()When true would use customtrustmanager to get switch certificate for TLS authentication failure notification.BooleanisEnableEqualRole()When true, openflowplugin won't send any specific role request down to the switch after plugin internally decides the ownership of the device using Entity Ownership Service.BooleanisEnableFlowRemovedNotification()Turning on flow removed notificationBooleanisIsFlowStatisticsPollingOn()If enabled, periodic flow statistics gathering will be turned onBooleanisIsGroupStatisticsPollingOn()If enabled, periodic group statistics gathering will be turned onBooleanisIsMeterStatisticsPollingOn()If enabled, periodic meter statistics gathering will be turned onBooleanisIsPortStatisticsPollingOn()If enabled, periodic port statistics gathering will be turned onBooleanisIsQueueStatisticsPollingOn()If enabled, periodic queue statistics gathering will be turned onBooleanisIsStatisticsPollingOn()If enabled, periodic statistics gathering will be turned on.BooleanisIsStatisticsRpcEnabled()Expose backward compatible statistics rpcs providing result in form of async notification.BooleanisIsTableStatisticsPollingOn()If enabled, periodic table statistics gathering will be turned onBooleanisSkipTableFeatures()Ability to skip pulling and storing of large table features.BooleanisSwitchFeaturesMandatory()This parameter indicates whether it is mandatory for switch to support OF1.3 features : table, flow, meter,group.BooleanisUseSingleLayerSerialization()When true, Yang models are serialized and deserialized directly to and from format supported by device, so serialization and deserialization is faster.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.OpenflowProviderConfig
implementedInterface
-
-
-
-
Constructor Detail
-
OpenFlowProviderConfigImpl
public OpenFlowProviderConfigImpl(ConfigurationService service)
-
-
Method Detail
-
getRpcRequestsQuota
public NonZeroUint16Type getRpcRequestsQuota()
Description copied from interface:OpenflowProviderConfigQuota for maximum number of RPC requests- Specified by:
getRpcRequestsQuotain interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint16TyperpcRequestsQuota, ornullif not present
-
isSwitchFeaturesMandatory
public Boolean isSwitchFeaturesMandatory()
Description copied from interface:OpenflowProviderConfigThis parameter indicates whether it is mandatory for switch to support OF1.3 features : table, flow, meter,group. If this is set to true and switch doesn't support these features its connection will be denied.- Specified by:
isSwitchFeaturesMandatoryin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanswitchFeaturesMandatory, ornullif not present
-
getGlobalNotificationQuota
public org.opendaylight.yangtools.yang.common.Uint32 getGlobalNotificationQuota()
Description copied from interface:OpenflowProviderConfigGlobal notification quota- Specified by:
getGlobalNotificationQuotain interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yangtools.yang.common.Uint32globalNotificationQuota, ornullif not present
-
isIsStatisticsPollingOn
public Boolean isIsStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfigIf enabled, periodic statistics gathering will be turned on. If false takes precedence over the per-capability configuration.- Specified by:
isIsStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanisStatisticsPollingOn, ornullif not present
-
isIsTableStatisticsPollingOn
public Boolean isIsTableStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfigIf enabled, periodic table statistics gathering will be turned on- Specified by:
isIsTableStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanisTableStatisticsPollingOn, ornullif not present
-
isIsFlowStatisticsPollingOn
public Boolean isIsFlowStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfigIf enabled, periodic flow statistics gathering will be turned on- Specified by:
isIsFlowStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanisFlowStatisticsPollingOn, ornullif not present
-
isIsGroupStatisticsPollingOn
public Boolean isIsGroupStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfigIf enabled, periodic group statistics gathering will be turned on- Specified by:
isIsGroupStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanisGroupStatisticsPollingOn, ornullif not present
-
isIsMeterStatisticsPollingOn
public Boolean isIsMeterStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfigIf enabled, periodic meter statistics gathering will be turned on- Specified by:
isIsMeterStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanisMeterStatisticsPollingOn, ornullif not present
-
isIsQueueStatisticsPollingOn
public Boolean isIsQueueStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfigIf enabled, periodic queue statistics gathering will be turned on- Specified by:
isIsQueueStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanisQueueStatisticsPollingOn, ornullif not present
-
isIsPortStatisticsPollingOn
public Boolean isIsPortStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfigIf enabled, periodic port statistics gathering will be turned on- Specified by:
isIsPortStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanisPortStatisticsPollingOn, ornullif not present
-
isIsStatisticsRpcEnabled
public Boolean isIsStatisticsRpcEnabled()
Description copied from interface:OpenflowProviderConfigExpose backward compatible statistics rpcs providing result in form of async notification. This is deprecated, use direct statistics instead.- Specified by:
isIsStatisticsRpcEnabledin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanisStatisticsRpcEnabled, ornullif not present
-
getBarrierIntervalTimeoutLimit
public NonZeroUint32Type getBarrierIntervalTimeoutLimit()
Description copied from interface:OpenflowProviderConfigBarrier timeout- Specified by:
getBarrierIntervalTimeoutLimitin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32TypebarrierIntervalTimeoutLimit, ornullif not present
-
getBarrierCountLimit
public NonZeroUint16Type getBarrierCountLimit()
Description copied from interface:OpenflowProviderConfigBarrier limit- Specified by:
getBarrierCountLimitin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint16TypebarrierCountLimit, ornullif not present
-
getEchoReplyTimeout
public NonZeroUint32Type getEchoReplyTimeout()
Description copied from interface:OpenflowProviderConfigHow long we should wait for echo reply (value is in milliseconds- Specified by:
getEchoReplyTimeoutin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32TypeechoReplyTimeout, ornullif not present
-
getThreadPoolMinThreads
public org.opendaylight.yangtools.yang.common.Uint16 getThreadPoolMinThreads()
Description copied from interface:OpenflowProviderConfigMininum (starting) number of threads in thread pool- Specified by:
getThreadPoolMinThreadsin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yangtools.yang.common.Uint16threadPoolMinThreads, ornullif not present
-
getThreadPoolMaxThreads
public NonZeroUint16Type getThreadPoolMaxThreads()
Description copied from interface:OpenflowProviderConfigMaximum number of threads in thread pool- Specified by:
getThreadPoolMaxThreadsin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint16TypethreadPoolMaxThreads, ornullif not present
-
getThreadPoolTimeout
public org.opendaylight.yangtools.yang.common.Uint32 getThreadPoolTimeout()
Description copied from interface:OpenflowProviderConfigAfter how much time (in seconds) of inactivity will be threads in pool terminated- Specified by:
getThreadPoolTimeoutin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yangtools.yang.common.Uint32threadPoolTimeout, ornullif not present
-
isEnableFlowRemovedNotification
public Boolean isEnableFlowRemovedNotification()
Description copied from interface:OpenflowProviderConfigTurning on flow removed notification- Specified by:
isEnableFlowRemovedNotificationin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanenableFlowRemovedNotification, ornullif not present
-
isSkipTableFeatures
public Boolean isSkipTableFeatures()
Description copied from interface:OpenflowProviderConfigAbility to skip pulling and storing of large table features. These features are still available via rpc but if set to true then maintenance in DS will be omitted- Specified by:
isSkipTableFeaturesin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanskipTableFeatures, ornullif not present
-
isEnableEqualRole
public Boolean isEnableEqualRole()
Description copied from interface:OpenflowProviderConfigWhen true, openflowplugin won't send any specific role request down to the switch after plugin internally decides the ownership of the device using Entity Ownership Service. In this scenario, controller connection for the device will be in equal role. The behavior will be same for single node setup and clustered setup. In clustered scenario, all the controller will be in equal role for the device. In this case device will send all asynchronous event messages (e.g packet_in) to all the controllers, but openflowplugin will drop these events for the controller instances that is internally not owning the device.- Specified by:
isEnableEqualRolein interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanenableEqualRole, ornullif not present
-
getBasicTimerDelay
public NonZeroUint32Type getBasicTimerDelay()
Description copied from interface:OpenflowProviderConfigInitial delay used in polling the statistics, value is in milliseconds- Specified by:
getBasicTimerDelayin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32TypebasicTimerDelay, ornullif not present
-
getMaximumTimerDelay
public NonZeroUint32Type getMaximumTimerDelay()
Description copied from interface:OpenflowProviderConfigMaximum timer delay is the wait time to collect next statistics used in polling the statistics, value is in milliseconds- Specified by:
getMaximumTimerDelayin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32TypemaximumTimerDelay, ornullif not present
-
isUseSingleLayerSerialization
public Boolean isUseSingleLayerSerialization()
Description copied from interface:OpenflowProviderConfigWhen true, Yang models are serialized and deserialized directly to and from format supported by device, so serialization and deserialization is faster. Otherwise, models are first serialized to Openflow specification models and then to format supported by device, and reversed when deserializing.- Specified by:
isUseSingleLayerSerializationin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanuseSingleLayerSerialization, ornullif not present
-
augmentation
public <E extends org.opendaylight.yangtools.yang.binding.Augmentation<OpenflowProviderConfig>> E augmentation(Class<E> augmentationType)
- Specified by:
augmentationin interfaceorg.opendaylight.yangtools.yang.binding.Augmentable<OpenflowProviderConfig>
-
getDeviceConnectionRateLimitPerMin
public org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionRateLimitPerMin()
Description copied from interface:OpenflowProviderConfigTo limit the number of datapath nodes connecting to odl controller instance per minute. Default value 0 indicates that the device connection rate limiter will be disabled.- Specified by:
getDeviceConnectionRateLimitPerMinin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yangtools.yang.common.Uint16deviceConnectionRateLimitPerMin, ornullif not present
-
getDeviceConnectionHoldTimeInSeconds
public org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionHoldTimeInSeconds()
Description copied from interface:OpenflowProviderConfigdevice connection hold time is the least time delay in seconds a device has to maintain between its consecutive connection attempts. If time delay between the previous connection and the current connection is within device connection hold time, the device will not be allowed to connect to the controller. Default value of the device connection hold time is 0 second.- Specified by:
getDeviceConnectionHoldTimeInSecondsin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yangtools.yang.common.Uint16deviceConnectionHoldTimeInSeconds, ornullif not present
-
getDeviceDatastoreRemovalDelay
public NonZeroUint32Type getDeviceDatastoreRemovalDelay()
Description copied from interface:OpenflowProviderConfigDelay (in milliseconds) before device is removed from the operational data store in the event of device disconnection from the controller.- Specified by:
getDeviceDatastoreRemovalDelayin interfaceOpenflowProviderConfig- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32TypedeviceDatastoreRemovalDelay, ornullif not present
-
isEnableCustomTrustManager
public Boolean isEnableCustomTrustManager()
Description copied from interface:OpenflowProviderConfigWhen true would use customtrustmanager to get switch certificate for TLS authentication failure notification.- Specified by:
isEnableCustomTrustManagerin interfaceOpenflowProviderConfig- Returns:
java.lang.BooleanenableCustomTrustManager, ornullif not present
-
-