Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510
Interface OpenflowProviderConfig
- All Superinterfaces:
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
- All Known Implementing Classes:
OpenFlowProviderConfigImpl
@Generated("mdsal-binding-generator")
public interface OpenflowProviderConfig
extends org.opendaylight.yangtools.yang.binding.ChildOf<OpenflowProviderConfigData>, org.opendaylight.yangtools.yang.binding.Augmentable<OpenflowProviderConfig>
This class represents the following YANG schema fragment defined in module openflow-provider-config
container openflow-provider-config { leaf rpc-requests-quota { type non-zero-uint16-type; default 20000; } leaf switch-features-mandatory { type boolean; default false; } leaf global-notification-quota { type uint32; default 64000; } leaf is-statistics-polling-on { type boolean; default true; } leaf is-table-statistics-polling-on { type boolean; default true; } leaf is-flow-statistics-polling-on { type boolean; default true; } leaf is-group-statistics-polling-on { type boolean; default true; } leaf is-meter-statistics-polling-on { type boolean; default true; } leaf is-port-statistics-polling-on { type boolean; default true; } leaf is-queue-statistics-polling-on { type boolean; default true; } leaf is-statistics-rpc-enabled { status deprecated; type boolean; default false; } leaf barrier-interval-timeout-limit { type non-zero-uint32-type; default 500; } leaf barrier-count-limit { type non-zero-uint16-type; default 25600; } leaf echo-reply-timeout { type non-zero-uint32-type; default 2000; } leaf thread-pool-min-threads { type uint16; default 1; } leaf thread-pool-max-threads { type non-zero-uint16-type; default 32000; } leaf thread-pool-timeout { type uint32; default 60; } leaf enable-flow-removed-notification { type boolean; default true; } leaf skip-table-features { type boolean; default true; } leaf basic-timer-delay { type non-zero-uint32-type; default 3000; } leaf maximum-timer-delay { type non-zero-uint32-type; default 900000; } leaf use-single-layer-serialization { type boolean; default true; } leaf enable-equal-role { type boolean; default false; } leaf device-connection-rate-limit-per-min { type uint16; default 0; } leaf device-connection-hold-time-in-seconds { type uint16; default 0; } leaf device-datastore-removal-delay { type non-zero-uint32-type; default 500; } }
To create instances of this class use OpenflowProviderConfigBuilder
.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
bindingEquals
(@NonNull OpenflowProviderConfig thisObj, Object obj) Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode
(@NonNull OpenflowProviderConfig obj) Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString
(@NonNull OpenflowProviderConfig obj) Default implementation ofObject.toString()
contract for this interface.Return barrierCountLimit, ornull
if it is not present.Return barrierIntervalTimeoutLimit, ornull
if it is not present.Return basicTimerDelay, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
Return deviceConnectionHoldTimeInSeconds, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
Return deviceConnectionRateLimitPerMin, ornull
if it is not present.Return deviceDatastoreRemovalDelay, ornull
if it is not present.Return echoReplyTimeout, ornull
if it is not present.Return enableEqualRole, ornull
if it is not present.Return enableFlowRemovedNotification, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return globalNotificationQuota, ornull
if it is not present.Return isFlowStatisticsPollingOn, ornull
if it is not present.Return isGroupStatisticsPollingOn, ornull
if it is not present.Return isMeterStatisticsPollingOn, ornull
if it is not present.Return isPortStatisticsPollingOn, ornull
if it is not present.Return isQueueStatisticsPollingOn, ornull
if it is not present.Return isStatisticsPollingOn, ornull
if it is not present.Deprecated.Return isTableStatisticsPollingOn, ornull
if it is not present.Return maximumTimerDelay, ornull
if it is not present.Return rpcRequestsQuota, ornull
if it is not present.Return skipTableFeatures, ornull
if it is not present.Return switchFeaturesMandatory, ornull
if it is not present.Return threadPoolMaxThreads, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
Return threadPoolMinThreads, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return threadPoolTimeout, ornull
if it is not present.Return useSingleLayerSerialization, ornull
if it is not present.default Class<OpenflowProviderConfig>
default @NonNull NonZeroUint16Type
Return barrierCountLimit, guaranteed to be non-null.default @NonNull NonZeroUint32Type
Return barrierIntervalTimeoutLimit, guaranteed to be non-null.default @NonNull NonZeroUint32Type
Return basicTimerDelay, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
Return deviceConnectionHoldTimeInSeconds, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
Return deviceConnectionRateLimitPerMin, guaranteed to be non-null.default @NonNull NonZeroUint32Type
Return deviceDatastoreRemovalDelay, guaranteed to be non-null.default @NonNull NonZeroUint32Type
Return echoReplyTimeout, guaranteed to be non-null.default @NonNull Boolean
Return enableEqualRole, guaranteed to be non-null.default @NonNull Boolean
Return enableFlowRemovedNotification, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return globalNotificationQuota, guaranteed to be non-null.default @NonNull Boolean
Return isFlowStatisticsPollingOn, guaranteed to be non-null.default @NonNull Boolean
Return isGroupStatisticsPollingOn, guaranteed to be non-null.default @NonNull Boolean
Return isMeterStatisticsPollingOn, guaranteed to be non-null.default @NonNull Boolean
Return isPortStatisticsPollingOn, guaranteed to be non-null.default @NonNull Boolean
Return isQueueStatisticsPollingOn, guaranteed to be non-null.default @NonNull Boolean
Return isStatisticsPollingOn, guaranteed to be non-null.default @NonNull Boolean
Return isStatisticsRpcEnabled, guaranteed to be non-null.default @NonNull Boolean
Return isTableStatisticsPollingOn, guaranteed to be non-null.default @NonNull NonZeroUint32Type
Return maximumTimerDelay, guaranteed to be non-null.default @NonNull NonZeroUint16Type
Return rpcRequestsQuota, guaranteed to be non-null.default @NonNull Boolean
Return skipTableFeatures, guaranteed to be non-null.default @NonNull Boolean
Return switchFeaturesMandatory, guaranteed to be non-null.default @NonNull NonZeroUint16Type
Return threadPoolMaxThreads, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
Return threadPoolMinThreads, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return threadPoolTimeout, guaranteed to be non-null.default @NonNull Boolean
Return useSingleLayerSerialization, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
is null
-
bindingEquals
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
getRpcRequestsQuota
NonZeroUint16Type getRpcRequestsQuota()Return rpcRequestsQuota, ornull
if it is not present.Quota for maximum number of RPC requests
- Returns:
NonZeroUint16Type
rpcRequestsQuota, ornull
if it is not present.
-
requireRpcRequestsQuota
Return rpcRequestsQuota, guaranteed to be non-null.Quota for maximum number of RPC requests
- Returns:
NonZeroUint16Type
rpcRequestsQuota, guaranteed to be non-null.- Throws:
NoSuchElementException
- if rpcRequestsQuota is not present
-
getSwitchFeaturesMandatory
Boolean getSwitchFeaturesMandatory()Return switchFeaturesMandatory, ornull
if 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.
- Returns:
Boolean
switchFeaturesMandatory, ornull
if it is not present.
-
requireSwitchFeaturesMandatory
Return switchFeaturesMandatory, guaranteed to be non-null.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.
- Returns:
Boolean
switchFeaturesMandatory, guaranteed to be non-null.- Throws:
NoSuchElementException
- if switchFeaturesMandatory is not present
-
getGlobalNotificationQuota
org.opendaylight.yangtools.yang.common.Uint32 getGlobalNotificationQuota()Return globalNotificationQuota, ornull
if it is not present.Global notification quota
- Returns:
Uint32
globalNotificationQuota, ornull
if it is not present.
-
requireGlobalNotificationQuota
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireGlobalNotificationQuota()Return globalNotificationQuota, guaranteed to be non-null.Global notification quota
- Returns:
Uint32
globalNotificationQuota, guaranteed to be non-null.- Throws:
NoSuchElementException
- if globalNotificationQuota is not present
-
getIsStatisticsPollingOn
Boolean getIsStatisticsPollingOn()Return isStatisticsPollingOn, ornull
if it is not present.If enabled, periodic statistics gathering will be turned on. If false takes precedence over the per-capability configuration.
- Returns:
Boolean
isStatisticsPollingOn, ornull
if it is not present.
-
requireIsStatisticsPollingOn
Return isStatisticsPollingOn, guaranteed to be non-null.If enabled, periodic statistics gathering will be turned on. If false takes precedence over the per-capability configuration.
- Returns:
Boolean
isStatisticsPollingOn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isStatisticsPollingOn is not present
-
getIsTableStatisticsPollingOn
Boolean getIsTableStatisticsPollingOn()Return isTableStatisticsPollingOn, ornull
if it is not present.If enabled, periodic table statistics gathering will be turned on
- Returns:
Boolean
isTableStatisticsPollingOn, ornull
if it is not present.
-
requireIsTableStatisticsPollingOn
Return isTableStatisticsPollingOn, guaranteed to be non-null.If enabled, periodic table statistics gathering will be turned on
- Returns:
Boolean
isTableStatisticsPollingOn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isTableStatisticsPollingOn is not present
-
getIsFlowStatisticsPollingOn
Boolean getIsFlowStatisticsPollingOn()Return isFlowStatisticsPollingOn, ornull
if it is not present.If enabled, periodic flow statistics gathering will be turned on
- Returns:
Boolean
isFlowStatisticsPollingOn, ornull
if it is not present.
-
requireIsFlowStatisticsPollingOn
Return isFlowStatisticsPollingOn, guaranteed to be non-null.If enabled, periodic flow statistics gathering will be turned on
- Returns:
Boolean
isFlowStatisticsPollingOn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isFlowStatisticsPollingOn is not present
-
getIsGroupStatisticsPollingOn
Boolean getIsGroupStatisticsPollingOn()Return isGroupStatisticsPollingOn, ornull
if it is not present.If enabled, periodic group statistics gathering will be turned on
- Returns:
Boolean
isGroupStatisticsPollingOn, ornull
if it is not present.
-
requireIsGroupStatisticsPollingOn
Return isGroupStatisticsPollingOn, guaranteed to be non-null.If enabled, periodic group statistics gathering will be turned on
- Returns:
Boolean
isGroupStatisticsPollingOn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isGroupStatisticsPollingOn is not present
-
getIsMeterStatisticsPollingOn
Boolean getIsMeterStatisticsPollingOn()Return isMeterStatisticsPollingOn, ornull
if it is not present.If enabled, periodic meter statistics gathering will be turned on
- Returns:
Boolean
isMeterStatisticsPollingOn, ornull
if it is not present.
-
requireIsMeterStatisticsPollingOn
Return isMeterStatisticsPollingOn, guaranteed to be non-null.If enabled, periodic meter statistics gathering will be turned on
- Returns:
Boolean
isMeterStatisticsPollingOn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isMeterStatisticsPollingOn is not present
-
getIsPortStatisticsPollingOn
Boolean getIsPortStatisticsPollingOn()Return isPortStatisticsPollingOn, ornull
if it is not present.If enabled, periodic port statistics gathering will be turned on
- Returns:
Boolean
isPortStatisticsPollingOn, ornull
if it is not present.
-
requireIsPortStatisticsPollingOn
Return isPortStatisticsPollingOn, guaranteed to be non-null.If enabled, periodic port statistics gathering will be turned on
- Returns:
Boolean
isPortStatisticsPollingOn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isPortStatisticsPollingOn is not present
-
getIsQueueStatisticsPollingOn
Boolean getIsQueueStatisticsPollingOn()Return isQueueStatisticsPollingOn, ornull
if it is not present.If enabled, periodic queue statistics gathering will be turned on
- Returns:
Boolean
isQueueStatisticsPollingOn, ornull
if it is not present.
-
requireIsQueueStatisticsPollingOn
Return isQueueStatisticsPollingOn, guaranteed to be non-null.If enabled, periodic queue statistics gathering will be turned on
- Returns:
Boolean
isQueueStatisticsPollingOn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isQueueStatisticsPollingOn is not present
-
getIsStatisticsRpcEnabled
Deprecated.Return isStatisticsRpcEnabled, ornull
if it is not present.Expose backward compatible statistics rpcs providing result in form of async notification. This is deprecated, use direct statistics instead.
- Returns:
Boolean
isStatisticsRpcEnabled, ornull
if it is not present.
-
requireIsStatisticsRpcEnabled
Return isStatisticsRpcEnabled, guaranteed to be non-null.Expose backward compatible statistics rpcs providing result in form of async notification. This is deprecated, use direct statistics instead.
- Returns:
Boolean
isStatisticsRpcEnabled, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isStatisticsRpcEnabled is not present
-
getBarrierIntervalTimeoutLimit
NonZeroUint32Type getBarrierIntervalTimeoutLimit()Return barrierIntervalTimeoutLimit, ornull
if it is not present.Barrier timeout
- Returns:
NonZeroUint32Type
barrierIntervalTimeoutLimit, ornull
if it is not present.
-
requireBarrierIntervalTimeoutLimit
Return barrierIntervalTimeoutLimit, guaranteed to be non-null.Barrier timeout
- Returns:
NonZeroUint32Type
barrierIntervalTimeoutLimit, guaranteed to be non-null.- Throws:
NoSuchElementException
- if barrierIntervalTimeoutLimit is not present
-
getBarrierCountLimit
NonZeroUint16Type getBarrierCountLimit()Return barrierCountLimit, ornull
if it is not present.Barrier limit
- Returns:
NonZeroUint16Type
barrierCountLimit, ornull
if it is not present.
-
requireBarrierCountLimit
Return barrierCountLimit, guaranteed to be non-null.Barrier limit
- Returns:
NonZeroUint16Type
barrierCountLimit, guaranteed to be non-null.- Throws:
NoSuchElementException
- if barrierCountLimit is not present
-
getEchoReplyTimeout
NonZeroUint32Type getEchoReplyTimeout()Return echoReplyTimeout, ornull
if it is not present.How long we should wait for echo reply (value is in milliseconds
- Returns:
NonZeroUint32Type
echoReplyTimeout, ornull
if it is not present.
-
requireEchoReplyTimeout
Return echoReplyTimeout, guaranteed to be non-null.How long we should wait for echo reply (value is in milliseconds
- Returns:
NonZeroUint32Type
echoReplyTimeout, guaranteed to be non-null.- Throws:
NoSuchElementException
- if echoReplyTimeout is not present
-
getThreadPoolMinThreads
org.opendaylight.yangtools.yang.common.Uint16 getThreadPoolMinThreads()Return threadPoolMinThreads, ornull
if it is not present.Mininum (starting) number of threads in thread pool
- Returns:
Uint16
threadPoolMinThreads, ornull
if it is not present.
-
requireThreadPoolMinThreads
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireThreadPoolMinThreads()Return threadPoolMinThreads, guaranteed to be non-null.Mininum (starting) number of threads in thread pool
- Returns:
Uint16
threadPoolMinThreads, guaranteed to be non-null.- Throws:
NoSuchElementException
- if threadPoolMinThreads is not present
-
getThreadPoolMaxThreads
NonZeroUint16Type getThreadPoolMaxThreads()Return threadPoolMaxThreads, ornull
if it is not present.Maximum number of threads in thread pool
- Returns:
NonZeroUint16Type
threadPoolMaxThreads, ornull
if it is not present.
-
requireThreadPoolMaxThreads
Return threadPoolMaxThreads, guaranteed to be non-null.Maximum number of threads in thread pool
- Returns:
NonZeroUint16Type
threadPoolMaxThreads, guaranteed to be non-null.- Throws:
NoSuchElementException
- if threadPoolMaxThreads is not present
-
getThreadPoolTimeout
org.opendaylight.yangtools.yang.common.Uint32 getThreadPoolTimeout()Return threadPoolTimeout, ornull
if it is not present.After how much time (in seconds) of inactivity will be threads in pool terminated
- Returns:
Uint32
threadPoolTimeout, ornull
if it is not present.
-
requireThreadPoolTimeout
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireThreadPoolTimeout()Return threadPoolTimeout, guaranteed to be non-null.After how much time (in seconds) of inactivity will be threads in pool terminated
- Returns:
Uint32
threadPoolTimeout, guaranteed to be non-null.- Throws:
NoSuchElementException
- if threadPoolTimeout is not present
-
getEnableFlowRemovedNotification
Boolean getEnableFlowRemovedNotification()Return enableFlowRemovedNotification, ornull
if it is not present.Turning on flow removed notification
- Returns:
Boolean
enableFlowRemovedNotification, ornull
if it is not present.
-
requireEnableFlowRemovedNotification
Return enableFlowRemovedNotification, guaranteed to be non-null.Turning on flow removed notification
- Returns:
Boolean
enableFlowRemovedNotification, guaranteed to be non-null.- Throws:
NoSuchElementException
- if enableFlowRemovedNotification is not present
-
getSkipTableFeatures
Boolean getSkipTableFeatures()Return skipTableFeatures, ornull
if 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
- Returns:
Boolean
skipTableFeatures, ornull
if it is not present.
-
requireSkipTableFeatures
Return skipTableFeatures, guaranteed to be non-null.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
- Returns:
Boolean
skipTableFeatures, guaranteed to be non-null.- Throws:
NoSuchElementException
- if skipTableFeatures is not present
-
getBasicTimerDelay
NonZeroUint32Type getBasicTimerDelay()Return basicTimerDelay, ornull
if it is not present.Initial delay used in polling the statistics, value is in milliseconds
- Returns:
NonZeroUint32Type
basicTimerDelay, ornull
if it is not present.
-
requireBasicTimerDelay
Return basicTimerDelay, guaranteed to be non-null.Initial delay used in polling the statistics, value is in milliseconds
- Returns:
NonZeroUint32Type
basicTimerDelay, guaranteed to be non-null.- Throws:
NoSuchElementException
- if basicTimerDelay is not present
-
getMaximumTimerDelay
NonZeroUint32Type getMaximumTimerDelay()Return maximumTimerDelay, ornull
if it is not present.Maximum timer delay is the wait time to collect next statistics used in polling the statistics, value is in milliseconds
- Returns:
NonZeroUint32Type
maximumTimerDelay, ornull
if it is not present.
-
requireMaximumTimerDelay
Return maximumTimerDelay, guaranteed to be non-null.Maximum timer delay is the wait time to collect next statistics used in polling the statistics, value is in milliseconds
- Returns:
NonZeroUint32Type
maximumTimerDelay, guaranteed to be non-null.- Throws:
NoSuchElementException
- if maximumTimerDelay is not present
-
getUseSingleLayerSerialization
Boolean getUseSingleLayerSerialization()Return useSingleLayerSerialization, ornull
if 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.
- Returns:
Boolean
useSingleLayerSerialization, ornull
if it is not present.
-
requireUseSingleLayerSerialization
Return useSingleLayerSerialization, guaranteed to be non-null.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.
- Returns:
Boolean
useSingleLayerSerialization, guaranteed to be non-null.- Throws:
NoSuchElementException
- if useSingleLayerSerialization is not present
-
getEnableEqualRole
Boolean getEnableEqualRole()Return enableEqualRole, ornull
if 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.
- Returns:
Boolean
enableEqualRole, ornull
if it is not present.
-
requireEnableEqualRole
Return enableEqualRole, guaranteed to be non-null.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.
- Returns:
Boolean
enableEqualRole, guaranteed to be non-null.- Throws:
NoSuchElementException
- if enableEqualRole is not present
-
getDeviceConnectionRateLimitPerMin
org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionRateLimitPerMin()Return deviceConnectionRateLimitPerMin, ornull
if 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.
- Returns:
Uint16
deviceConnectionRateLimitPerMin, ornull
if it is not present.
-
requireDeviceConnectionRateLimitPerMin
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireDeviceConnectionRateLimitPerMin()Return deviceConnectionRateLimitPerMin, guaranteed to be non-null.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.
- Returns:
Uint16
deviceConnectionRateLimitPerMin, guaranteed to be non-null.- Throws:
NoSuchElementException
- if deviceConnectionRateLimitPerMin is not present
-
getDeviceConnectionHoldTimeInSeconds
org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionHoldTimeInSeconds()Return deviceConnectionHoldTimeInSeconds, ornull
if 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.
- Returns:
Uint16
deviceConnectionHoldTimeInSeconds, ornull
if it is not present.
-
requireDeviceConnectionHoldTimeInSeconds
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireDeviceConnectionHoldTimeInSeconds()Return deviceConnectionHoldTimeInSeconds, guaranteed to be non-null.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.
- Returns:
Uint16
deviceConnectionHoldTimeInSeconds, guaranteed to be non-null.- Throws:
NoSuchElementException
- if deviceConnectionHoldTimeInSeconds is not present
-
getDeviceDatastoreRemovalDelay
NonZeroUint32Type getDeviceDatastoreRemovalDelay()Return deviceDatastoreRemovalDelay, ornull
if 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.
- Returns:
NonZeroUint32Type
deviceDatastoreRemovalDelay, ornull
if it is not present.
-
requireDeviceDatastoreRemovalDelay
Return deviceDatastoreRemovalDelay, guaranteed to be non-null.Delay (in milliseconds) before device is removed from the operational data store in the event of device disconnection from the controller.
- Returns:
NonZeroUint32Type
deviceDatastoreRemovalDelay, guaranteed to be non-null.- Throws:
NoSuchElementException
- if deviceDatastoreRemovalDelay is not present
-