Class OpenFlowProviderConfigImpl
java.lang.Object
org.opendaylight.yangtools.yang.binding.AbstractAugmentable<OpenflowProviderConfig>
org.opendaylight.openflowplugin.impl.configuration.OpenFlowProviderConfigImpl
- All Implemented Interfaces:
OpenflowProviderConfig,org.opendaylight.yangtools.yang.binding.Augmentable<OpenflowProviderConfig>,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,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 org.opendaylight.yangtools.yang.binding.AbstractAugmentable<OpenflowProviderConfig>
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 -
Method Summary
Modifier and TypeMethodDescriptionReturn barrierCountLimit, ornullif it is not present.Return barrierIntervalTimeoutLimit, ornullif it is not present.Return basicTimerDelay, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return deviceConnectionHoldTimeInSeconds, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return deviceConnectionRateLimitPerMin, ornullif it is not present.Return deviceDatastoreRemovalDelay, ornullif it is not present.Return echoReplyTimeout, ornullif it is not present.Return enableEqualRole, ornullif it is not present.Return enableFlowRemovedNotification, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return globalNotificationQuota, ornullif it is not present.Return isFlowStatisticsPollingOn, ornullif it is not present.Return isGroupStatisticsPollingOn, ornullif it is not present.Return isMeterStatisticsPollingOn, ornullif it is not present.Return isPortStatisticsPollingOn, ornullif it is not present.Return isQueueStatisticsPollingOn, ornullif it is not present.Return isStatisticsPollingOn, ornullif it is not present.Return isStatisticsRpcEnabled, ornullif it is not present.Return isTableStatisticsPollingOn, ornullif it is not present.Return maximumTimerDelay, ornullif it is not present.Return rpcRequestsQuota, ornullif it is not present.Return skipTableFeatures, ornullif it is not present.Return switchFeaturesMandatory, ornullif it is not present.Return threadPoolMaxThreads, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return threadPoolMinThreads, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return threadPoolTimeout, ornullif it is not present.Return useSingleLayerSerialization, ornullif it is not present.Methods inherited from class org.opendaylight.yangtools.yang.binding.AbstractAugmentable
augmentation, augmentationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentationsMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.OpenflowProviderConfig
implementedInterface, requireBarrierCountLimit, requireBarrierIntervalTimeoutLimit, requireBasicTimerDelay, requireDeviceConnectionHoldTimeInSeconds, requireDeviceConnectionRateLimitPerMin, requireDeviceDatastoreRemovalDelay, requireEchoReplyTimeout, requireEnableEqualRole, requireEnableFlowRemovedNotification, requireGlobalNotificationQuota, requireIsFlowStatisticsPollingOn, requireIsGroupStatisticsPollingOn, requireIsMeterStatisticsPollingOn, requireIsPortStatisticsPollingOn, requireIsQueueStatisticsPollingOn, requireIsStatisticsPollingOn, requireIsStatisticsRpcEnabled, requireIsTableStatisticsPollingOn, requireMaximumTimerDelay, requireRpcRequestsQuota, requireSkipTableFeatures, requireSwitchFeaturesMandatory, requireThreadPoolMaxThreads, requireThreadPoolMinThreads, requireThreadPoolTimeout, requireUseSingleLayerSerialization
-
Constructor Details
-
OpenFlowProviderConfigImpl
-
-
Method Details
-
getRpcRequestsQuota
Description copied from interface:OpenflowProviderConfigReturn rpcRequestsQuota, ornullif it is not present.Quota for maximum number of RPC requests- Specified by:
getRpcRequestsQuotain interfaceOpenflowProviderConfig- Returns:
NonZeroUint16TyperpcRequestsQuota, ornullif it is not present.
-
getSwitchFeaturesMandatory
Description copied from interface:OpenflowProviderConfigReturn switchFeaturesMandatory, ornullif it is not present.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:
getSwitchFeaturesMandatoryin interfaceOpenflowProviderConfig- Returns:
BooleanswitchFeaturesMandatory, ornullif it is not present.
-
getGlobalNotificationQuota
public org.opendaylight.yangtools.yang.common.Uint32 getGlobalNotificationQuota()Description copied from interface:OpenflowProviderConfigReturn globalNotificationQuota, ornullif it is not present.Global notification quota- Specified by:
getGlobalNotificationQuotain interfaceOpenflowProviderConfig- Returns:
Uint32globalNotificationQuota, ornullif it is not present.
-
getIsStatisticsPollingOn
Description copied from interface:OpenflowProviderConfigReturn isStatisticsPollingOn, ornullif it is not present.If enabled, periodic statistics gathering will be turned on. If false takes precedence over the per-capability configuration.- Specified by:
getIsStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
BooleanisStatisticsPollingOn, ornullif it is not present.
-
getIsTableStatisticsPollingOn
Description copied from interface:OpenflowProviderConfigReturn isTableStatisticsPollingOn, ornullif it is not present.If enabled, periodic table statistics gathering will be turned on- Specified by:
getIsTableStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
BooleanisTableStatisticsPollingOn, ornullif it is not present.
-
getIsFlowStatisticsPollingOn
Description copied from interface:OpenflowProviderConfigReturn isFlowStatisticsPollingOn, ornullif it is not present.If enabled, periodic flow statistics gathering will be turned on- Specified by:
getIsFlowStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
BooleanisFlowStatisticsPollingOn, ornullif it is not present.
-
getIsGroupStatisticsPollingOn
Description copied from interface:OpenflowProviderConfigReturn isGroupStatisticsPollingOn, ornullif it is not present.If enabled, periodic group statistics gathering will be turned on- Specified by:
getIsGroupStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
BooleanisGroupStatisticsPollingOn, ornullif it is not present.
-
getIsMeterStatisticsPollingOn
Description copied from interface:OpenflowProviderConfigReturn isMeterStatisticsPollingOn, ornullif it is not present.If enabled, periodic meter statistics gathering will be turned on- Specified by:
getIsMeterStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
BooleanisMeterStatisticsPollingOn, ornullif it is not present.
-
getIsQueueStatisticsPollingOn
Description copied from interface:OpenflowProviderConfigReturn isQueueStatisticsPollingOn, ornullif it is not present.If enabled, periodic queue statistics gathering will be turned on- Specified by:
getIsQueueStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
BooleanisQueueStatisticsPollingOn, ornullif it is not present.
-
getIsPortStatisticsPollingOn
Description copied from interface:OpenflowProviderConfigReturn isPortStatisticsPollingOn, ornullif it is not present.If enabled, periodic port statistics gathering will be turned on- Specified by:
getIsPortStatisticsPollingOnin interfaceOpenflowProviderConfig- Returns:
BooleanisPortStatisticsPollingOn, ornullif it is not present.
-
getIsStatisticsRpcEnabled
Description copied from interface:OpenflowProviderConfigReturn isStatisticsRpcEnabled, ornullif it is not present.Expose backward compatible statistics rpcs providing result in form of async notification. This is deprecated, use direct statistics instead.- Specified by:
getIsStatisticsRpcEnabledin interfaceOpenflowProviderConfig- Returns:
BooleanisStatisticsRpcEnabled, ornullif it is not present.
-
getBarrierIntervalTimeoutLimit
Description copied from interface:OpenflowProviderConfigReturn barrierIntervalTimeoutLimit, ornullif it is not present.Barrier timeout- Specified by:
getBarrierIntervalTimeoutLimitin interfaceOpenflowProviderConfig- Returns:
NonZeroUint32TypebarrierIntervalTimeoutLimit, ornullif it is not present.
-
getBarrierCountLimit
Description copied from interface:OpenflowProviderConfigReturn barrierCountLimit, ornullif it is not present.Barrier limit- Specified by:
getBarrierCountLimitin interfaceOpenflowProviderConfig- Returns:
NonZeroUint16TypebarrierCountLimit, ornullif it is not present.
-
getEchoReplyTimeout
Description copied from interface:OpenflowProviderConfigReturn echoReplyTimeout, ornullif it is not present.How long we should wait for echo reply (value is in milliseconds- Specified by:
getEchoReplyTimeoutin interfaceOpenflowProviderConfig- Returns:
NonZeroUint32TypeechoReplyTimeout, ornullif it is not present.
-
getThreadPoolMinThreads
public org.opendaylight.yangtools.yang.common.Uint16 getThreadPoolMinThreads()Description copied from interface:OpenflowProviderConfigReturn threadPoolMinThreads, ornullif it is not present.Mininum (starting) number of threads in thread pool- Specified by:
getThreadPoolMinThreadsin interfaceOpenflowProviderConfig- Returns:
Uint16threadPoolMinThreads, ornullif it is not present.
-
getThreadPoolMaxThreads
Description copied from interface:OpenflowProviderConfigReturn threadPoolMaxThreads, ornullif it is not present.Maximum number of threads in thread pool- Specified by:
getThreadPoolMaxThreadsin interfaceOpenflowProviderConfig- Returns:
NonZeroUint16TypethreadPoolMaxThreads, ornullif it is not present.
-
getThreadPoolTimeout
public org.opendaylight.yangtools.yang.common.Uint32 getThreadPoolTimeout()Description copied from interface:OpenflowProviderConfigReturn threadPoolTimeout, ornullif it is not present.After how much time (in seconds) of inactivity will be threads in pool terminated- Specified by:
getThreadPoolTimeoutin interfaceOpenflowProviderConfig- Returns:
Uint32threadPoolTimeout, ornullif it is not present.
-
getEnableFlowRemovedNotification
Description copied from interface:OpenflowProviderConfigReturn enableFlowRemovedNotification, ornullif it is not present.Turning on flow removed notification- Specified by:
getEnableFlowRemovedNotificationin interfaceOpenflowProviderConfig- Returns:
BooleanenableFlowRemovedNotification, ornullif it is not present.
-
getSkipTableFeatures
Description copied from interface:OpenflowProviderConfigReturn skipTableFeatures, ornullif it is not present.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:
getSkipTableFeaturesin interfaceOpenflowProviderConfig- Returns:
BooleanskipTableFeatures, ornullif it is not present.
-
getEnableEqualRole
Description copied from interface:OpenflowProviderConfigReturn enableEqualRole, ornullif it is not present.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:
getEnableEqualRolein interfaceOpenflowProviderConfig- Returns:
BooleanenableEqualRole, ornullif it is not present.
-
getBasicTimerDelay
Description copied from interface:OpenflowProviderConfigReturn basicTimerDelay, ornullif it is not present.Initial delay used in polling the statistics, value is in milliseconds- Specified by:
getBasicTimerDelayin interfaceOpenflowProviderConfig- Returns:
NonZeroUint32TypebasicTimerDelay, ornullif it is not present.
-
getMaximumTimerDelay
Description copied from interface:OpenflowProviderConfigReturn maximumTimerDelay, ornullif it is not present.Maximum timer delay is the wait time to collect next statistics used in polling the statistics, value is in milliseconds- Specified by:
getMaximumTimerDelayin interfaceOpenflowProviderConfig- Returns:
NonZeroUint32TypemaximumTimerDelay, ornullif it is not present.
-
getUseSingleLayerSerialization
Description copied from interface:OpenflowProviderConfigReturn useSingleLayerSerialization, ornullif it is not present.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:
getUseSingleLayerSerializationin interfaceOpenflowProviderConfig- Returns:
BooleanuseSingleLayerSerialization, ornullif it is not present.
-
getDeviceConnectionRateLimitPerMin
public org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionRateLimitPerMin()Description copied from interface:OpenflowProviderConfigReturn deviceConnectionRateLimitPerMin, ornullif it is not present.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:
getDeviceConnectionRateLimitPerMinin interfaceOpenflowProviderConfig- Returns:
Uint16deviceConnectionRateLimitPerMin, ornullif it is not present.
-
getDeviceConnectionHoldTimeInSeconds
public org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionHoldTimeInSeconds()Description copied from interface:OpenflowProviderConfigReturn deviceConnectionHoldTimeInSeconds, ornullif it is not present.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:
getDeviceConnectionHoldTimeInSecondsin interfaceOpenflowProviderConfig- Returns:
Uint16deviceConnectionHoldTimeInSeconds, ornullif it is not present.
-
getDeviceDatastoreRemovalDelay
Description copied from interface:OpenflowProviderConfigReturn deviceDatastoreRemovalDelay, ornullif it is not present.Delay (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:
NonZeroUint32TypedeviceDatastoreRemovalDelay, ornullif it is not present.
-