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)
NonZeroUint16Type
getBarrierCountLimit()
Barrier limitNonZeroUint32Type
getBarrierIntervalTimeoutLimit()
Barrier timeoutNonZeroUint32Type
getBasicTimerDelay()
Initial delay used in polling the statistics, value is in millisecondsorg.opendaylight.yangtools.yang.common.Uint16
getDeviceConnectionHoldTimeInSeconds()
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.Uint16
getDeviceConnectionRateLimitPerMin()
To limit the number of datapath nodes connecting to odl controller instance per minute.NonZeroUint32Type
getDeviceDatastoreRemovalDelay()
Delay (in milliseconds) before device is removed from the operational data store in the event of device disconnection from the controller.NonZeroUint32Type
getEchoReplyTimeout()
How long we should wait for echo reply (value is in millisecondsorg.opendaylight.yangtools.yang.common.Uint32
getGlobalNotificationQuota()
Global notification quotaNonZeroUint32Type
getMaximumTimerDelay()
Maximum timer delay is the wait time to collect next statistics used in polling the statistics, value is in millisecondsNonZeroUint16Type
getRpcRequestsQuota()
Quota for maximum number of RPC requestsNonZeroUint16Type
getThreadPoolMaxThreads()
Maximum number of threads in thread poolorg.opendaylight.yangtools.yang.common.Uint16
getThreadPoolMinThreads()
Mininum (starting) number of threads in thread poolorg.opendaylight.yangtools.yang.common.Uint32
getThreadPoolTimeout()
After how much time (in seconds) of inactivity will be threads in pool terminatedBoolean
isEnableCustomTrustManager()
When true would use customtrustmanager to get switch certificate for TLS authentication failure notification.Boolean
isEnableEqualRole()
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.Boolean
isEnableFlowRemovedNotification()
Turning on flow removed notificationBoolean
isIsFlowStatisticsPollingOn()
If enabled, periodic flow statistics gathering will be turned onBoolean
isIsGroupStatisticsPollingOn()
If enabled, periodic group statistics gathering will be turned onBoolean
isIsMeterStatisticsPollingOn()
If enabled, periodic meter statistics gathering will be turned onBoolean
isIsPortStatisticsPollingOn()
If enabled, periodic port statistics gathering will be turned onBoolean
isIsQueueStatisticsPollingOn()
If enabled, periodic queue statistics gathering will be turned onBoolean
isIsStatisticsPollingOn()
If enabled, periodic statistics gathering will be turned on.Boolean
isIsStatisticsRpcEnabled()
Expose backward compatible statistics rpcs providing result in form of async notification.Boolean
isIsTableStatisticsPollingOn()
If enabled, periodic table statistics gathering will be turned onBoolean
isSkipTableFeatures()
Ability to skip pulling and storing of large table features.Boolean
isSwitchFeaturesMandatory()
This parameter indicates whether it is mandatory for switch to support OF1.3 features : table, flow, meter,group.Boolean
isUseSingleLayerSerialization()
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:OpenflowProviderConfig
Quota for maximum number of RPC requests- Specified by:
getRpcRequestsQuota
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint16Type
rpcRequestsQuota
, ornull
if not present
-
isSwitchFeaturesMandatory
public Boolean isSwitchFeaturesMandatory()
Description copied from interface:OpenflowProviderConfig
This 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:
isSwitchFeaturesMandatory
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
switchFeaturesMandatory
, ornull
if not present
-
getGlobalNotificationQuota
public org.opendaylight.yangtools.yang.common.Uint32 getGlobalNotificationQuota()
Description copied from interface:OpenflowProviderConfig
Global notification quota- Specified by:
getGlobalNotificationQuota
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
globalNotificationQuota
, ornull
if not present
-
isIsStatisticsPollingOn
public Boolean isIsStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfig
If enabled, periodic statistics gathering will be turned on. If false takes precedence over the per-capability configuration.- Specified by:
isIsStatisticsPollingOn
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
isStatisticsPollingOn
, ornull
if not present
-
isIsTableStatisticsPollingOn
public Boolean isIsTableStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfig
If enabled, periodic table statistics gathering will be turned on- Specified by:
isIsTableStatisticsPollingOn
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
isTableStatisticsPollingOn
, ornull
if not present
-
isIsFlowStatisticsPollingOn
public Boolean isIsFlowStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfig
If enabled, periodic flow statistics gathering will be turned on- Specified by:
isIsFlowStatisticsPollingOn
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
isFlowStatisticsPollingOn
, ornull
if not present
-
isIsGroupStatisticsPollingOn
public Boolean isIsGroupStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfig
If enabled, periodic group statistics gathering will be turned on- Specified by:
isIsGroupStatisticsPollingOn
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
isGroupStatisticsPollingOn
, ornull
if not present
-
isIsMeterStatisticsPollingOn
public Boolean isIsMeterStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfig
If enabled, periodic meter statistics gathering will be turned on- Specified by:
isIsMeterStatisticsPollingOn
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
isMeterStatisticsPollingOn
, ornull
if not present
-
isIsQueueStatisticsPollingOn
public Boolean isIsQueueStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfig
If enabled, periodic queue statistics gathering will be turned on- Specified by:
isIsQueueStatisticsPollingOn
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
isQueueStatisticsPollingOn
, ornull
if not present
-
isIsPortStatisticsPollingOn
public Boolean isIsPortStatisticsPollingOn()
Description copied from interface:OpenflowProviderConfig
If enabled, periodic port statistics gathering will be turned on- Specified by:
isIsPortStatisticsPollingOn
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
isPortStatisticsPollingOn
, ornull
if not present
-
isIsStatisticsRpcEnabled
public Boolean isIsStatisticsRpcEnabled()
Description copied from interface:OpenflowProviderConfig
Expose backward compatible statistics rpcs providing result in form of async notification. This is deprecated, use direct statistics instead.- Specified by:
isIsStatisticsRpcEnabled
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
isStatisticsRpcEnabled
, ornull
if not present
-
getBarrierIntervalTimeoutLimit
public NonZeroUint32Type getBarrierIntervalTimeoutLimit()
Description copied from interface:OpenflowProviderConfig
Barrier timeout- Specified by:
getBarrierIntervalTimeoutLimit
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type
barrierIntervalTimeoutLimit
, ornull
if not present
-
getBarrierCountLimit
public NonZeroUint16Type getBarrierCountLimit()
Description copied from interface:OpenflowProviderConfig
Barrier limit- Specified by:
getBarrierCountLimit
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint16Type
barrierCountLimit
, ornull
if not present
-
getEchoReplyTimeout
public NonZeroUint32Type getEchoReplyTimeout()
Description copied from interface:OpenflowProviderConfig
How long we should wait for echo reply (value is in milliseconds- Specified by:
getEchoReplyTimeout
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type
echoReplyTimeout
, ornull
if not present
-
getThreadPoolMinThreads
public org.opendaylight.yangtools.yang.common.Uint16 getThreadPoolMinThreads()
Description copied from interface:OpenflowProviderConfig
Mininum (starting) number of threads in thread pool- Specified by:
getThreadPoolMinThreads
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
threadPoolMinThreads
, ornull
if not present
-
getThreadPoolMaxThreads
public NonZeroUint16Type getThreadPoolMaxThreads()
Description copied from interface:OpenflowProviderConfig
Maximum number of threads in thread pool- Specified by:
getThreadPoolMaxThreads
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint16Type
threadPoolMaxThreads
, ornull
if not present
-
getThreadPoolTimeout
public org.opendaylight.yangtools.yang.common.Uint32 getThreadPoolTimeout()
Description copied from interface:OpenflowProviderConfig
After how much time (in seconds) of inactivity will be threads in pool terminated- Specified by:
getThreadPoolTimeout
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
threadPoolTimeout
, ornull
if not present
-
isEnableFlowRemovedNotification
public Boolean isEnableFlowRemovedNotification()
Description copied from interface:OpenflowProviderConfig
Turning on flow removed notification- Specified by:
isEnableFlowRemovedNotification
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
enableFlowRemovedNotification
, ornull
if not present
-
isSkipTableFeatures
public Boolean isSkipTableFeatures()
Description copied from interface:OpenflowProviderConfig
Ability 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:
isSkipTableFeatures
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
skipTableFeatures
, ornull
if not present
-
isEnableEqualRole
public Boolean isEnableEqualRole()
Description copied from interface:OpenflowProviderConfig
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. 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:
isEnableEqualRole
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
enableEqualRole
, ornull
if not present
-
getBasicTimerDelay
public NonZeroUint32Type getBasicTimerDelay()
Description copied from interface:OpenflowProviderConfig
Initial delay used in polling the statistics, value is in milliseconds- Specified by:
getBasicTimerDelay
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type
basicTimerDelay
, ornull
if not present
-
getMaximumTimerDelay
public NonZeroUint32Type getMaximumTimerDelay()
Description copied from interface:OpenflowProviderConfig
Maximum timer delay is the wait time to collect next statistics used in polling the statistics, value is in milliseconds- Specified by:
getMaximumTimerDelay
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type
maximumTimerDelay
, ornull
if not present
-
isUseSingleLayerSerialization
public Boolean isUseSingleLayerSerialization()
Description copied from interface:OpenflowProviderConfig
When 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:
isUseSingleLayerSerialization
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
useSingleLayerSerialization
, ornull
if not present
-
augmentation
public <E extends org.opendaylight.yangtools.yang.binding.Augmentation<OpenflowProviderConfig>> E augmentation(Class<E> augmentationType)
- Specified by:
augmentation
in interfaceorg.opendaylight.yangtools.yang.binding.Augmentable<OpenflowProviderConfig>
-
getDeviceConnectionRateLimitPerMin
public org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionRateLimitPerMin()
Description copied from interface:OpenflowProviderConfig
To 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:
getDeviceConnectionRateLimitPerMin
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
deviceConnectionRateLimitPerMin
, ornull
if not present
-
getDeviceConnectionHoldTimeInSeconds
public org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionHoldTimeInSeconds()
Description copied from interface:OpenflowProviderConfig
device 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:
getDeviceConnectionHoldTimeInSeconds
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
deviceConnectionHoldTimeInSeconds
, ornull
if not present
-
getDeviceDatastoreRemovalDelay
public NonZeroUint32Type getDeviceDatastoreRemovalDelay()
Description copied from interface:OpenflowProviderConfig
Delay (in milliseconds) before device is removed from the operational data store in the event of device disconnection from the controller.- Specified by:
getDeviceDatastoreRemovalDelay
in interfaceOpenflowProviderConfig
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type
deviceDatastoreRemovalDelay
, ornull
if not present
-
isEnableCustomTrustManager
public Boolean isEnableCustomTrustManager()
Description copied from interface:OpenflowProviderConfig
When true would use customtrustmanager to get switch certificate for TLS authentication failure notification.- Specified by:
isEnableCustomTrustManager
in interfaceOpenflowProviderConfig
- Returns:
java.lang.Boolean
enableCustomTrustManager
, ornull
if not present
-
-