Class OpenFlowProviderConfigImpl

java.lang.Object
org.opendaylight.yangtools.binding.lib.AbstractAugmentable<OpenflowProviderConfig>
org.opendaylight.openflowplugin.impl.configuration.OpenFlowProviderConfigImpl
All Implemented Interfaces:
OpenflowProviderConfig, org.opendaylight.yangtools.binding.Augmentable<OpenflowProviderConfig>, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.ChildOf<OpenflowProviderConfigData>, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject

public class OpenFlowProviderConfigImpl extends org.opendaylight.yangtools.binding.lib.AbstractAugmentable<OpenflowProviderConfig> implements OpenflowProviderConfig
  • Constructor Details

  • Method Details

    • getRpcRequestsQuota

      public NonZeroUint16Type getRpcRequestsQuota()
      Description copied from interface: OpenflowProviderConfig
      Return rpcRequestsQuota, or null if it is not present.
           
               Quota for maximum number of RPC requests
           
       
      Specified by:
      getRpcRequestsQuota in interface OpenflowProviderConfig
      Returns:
      NonZeroUint16Type rpcRequestsQuota, or null if it is not present.
    • getSwitchFeaturesMandatory

      public Boolean getSwitchFeaturesMandatory()
      Description copied from interface: OpenflowProviderConfig
      Return switchFeaturesMandatory, or null 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.
           
       
      Specified by:
      getSwitchFeaturesMandatory in interface OpenflowProviderConfig
      Returns:
      Boolean switchFeaturesMandatory, or null if it is not present.
    • getGlobalNotificationQuota

      public org.opendaylight.yangtools.yang.common.Uint32 getGlobalNotificationQuota()
      Description copied from interface: OpenflowProviderConfig
      Return globalNotificationQuota, or null if it is not present.
           
               Global notification quota
           
       
      Specified by:
      getGlobalNotificationQuota in interface OpenflowProviderConfig
      Returns:
      Uint32 globalNotificationQuota, or null if it is not present.
    • getIsStatisticsPollingOn

      public Boolean getIsStatisticsPollingOn()
      Description copied from interface: OpenflowProviderConfig
      Return isStatisticsPollingOn, or null if it is not present.
           
               If enabled, periodic statistics gathering will be turned on. If false takes
               precedence over the per-capability configuration.
           
       
      Specified by:
      getIsStatisticsPollingOn in interface OpenflowProviderConfig
      Returns:
      Boolean isStatisticsPollingOn, or null if it is not present.
    • getIsTableStatisticsPollingOn

      public Boolean getIsTableStatisticsPollingOn()
      Description copied from interface: OpenflowProviderConfig
      Return isTableStatisticsPollingOn, or null if it is not present.
           
               If enabled, periodic table statistics gathering will be turned on
           
       
      Specified by:
      getIsTableStatisticsPollingOn in interface OpenflowProviderConfig
      Returns:
      Boolean isTableStatisticsPollingOn, or null if it is not present.
    • getIsFlowStatisticsPollingOn

      public Boolean getIsFlowStatisticsPollingOn()
      Description copied from interface: OpenflowProviderConfig
      Return isFlowStatisticsPollingOn, or null if it is not present.
           
               If enabled, periodic flow statistics gathering will be turned on
           
       
      Specified by:
      getIsFlowStatisticsPollingOn in interface OpenflowProviderConfig
      Returns:
      Boolean isFlowStatisticsPollingOn, or null if it is not present.
    • getIsGroupStatisticsPollingOn

      public Boolean getIsGroupStatisticsPollingOn()
      Description copied from interface: OpenflowProviderConfig
      Return isGroupStatisticsPollingOn, or null if it is not present.
           
               If enabled, periodic group statistics gathering will be turned on
           
       
      Specified by:
      getIsGroupStatisticsPollingOn in interface OpenflowProviderConfig
      Returns:
      Boolean isGroupStatisticsPollingOn, or null if it is not present.
    • getIsMeterStatisticsPollingOn

      public Boolean getIsMeterStatisticsPollingOn()
      Description copied from interface: OpenflowProviderConfig
      Return isMeterStatisticsPollingOn, or null if it is not present.
           
               If enabled, periodic meter statistics gathering will be turned on
           
       
      Specified by:
      getIsMeterStatisticsPollingOn in interface OpenflowProviderConfig
      Returns:
      Boolean isMeterStatisticsPollingOn, or null if it is not present.
    • getIsQueueStatisticsPollingOn

      public Boolean getIsQueueStatisticsPollingOn()
      Description copied from interface: OpenflowProviderConfig
      Return isQueueStatisticsPollingOn, or null if it is not present.
           
               If enabled, periodic queue statistics gathering will be turned on
           
       
      Specified by:
      getIsQueueStatisticsPollingOn in interface OpenflowProviderConfig
      Returns:
      Boolean isQueueStatisticsPollingOn, or null if it is not present.
    • getIsPortStatisticsPollingOn

      public Boolean getIsPortStatisticsPollingOn()
      Description copied from interface: OpenflowProviderConfig
      Return isPortStatisticsPollingOn, or null if it is not present.
           
               If enabled, periodic port statistics gathering will be turned on
           
       
      Specified by:
      getIsPortStatisticsPollingOn in interface OpenflowProviderConfig
      Returns:
      Boolean isPortStatisticsPollingOn, or null if it is not present.
    • getIsStatisticsRpcEnabled

      public Boolean getIsStatisticsRpcEnabled()
      Description copied from interface: OpenflowProviderConfig
      Return isStatisticsRpcEnabled, or null if 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:
      getIsStatisticsRpcEnabled in interface OpenflowProviderConfig
      Returns:
      Boolean isStatisticsRpcEnabled, or null if it is not present.
    • getBarrierIntervalTimeoutLimit

      public NonZeroUint32Type getBarrierIntervalTimeoutLimit()
      Description copied from interface: OpenflowProviderConfig
      Return barrierIntervalTimeoutLimit, or null if it is not present.
           
               Barrier timeout
           
       
      Specified by:
      getBarrierIntervalTimeoutLimit in interface OpenflowProviderConfig
      Returns:
      NonZeroUint32Type barrierIntervalTimeoutLimit, or null if it is not present.
    • getBarrierCountLimit

      public NonZeroUint16Type getBarrierCountLimit()
      Description copied from interface: OpenflowProviderConfig
      Return barrierCountLimit, or null if it is not present.
           
               Barrier limit
           
       
      Specified by:
      getBarrierCountLimit in interface OpenflowProviderConfig
      Returns:
      NonZeroUint16Type barrierCountLimit, or null if it is not present.
    • getEchoReplyTimeout

      public NonZeroUint32Type getEchoReplyTimeout()
      Description copied from interface: OpenflowProviderConfig
      Return echoReplyTimeout, or null if it is not present.
           
               How long we should wait for echo reply (value is in milliseconds
           
       
      Specified by:
      getEchoReplyTimeout in interface OpenflowProviderConfig
      Returns:
      NonZeroUint32Type echoReplyTimeout, or null if it is not present.
    • getThreadPoolMinThreads

      public org.opendaylight.yangtools.yang.common.Uint16 getThreadPoolMinThreads()
      Description copied from interface: OpenflowProviderConfig
      Return threadPoolMinThreads, or null if it is not present.
           
               Mininum (starting) number of threads in thread pool
           
       
      Specified by:
      getThreadPoolMinThreads in interface OpenflowProviderConfig
      Returns:
      Uint16 threadPoolMinThreads, or null if it is not present.
    • getThreadPoolMaxThreads

      public NonZeroUint16Type getThreadPoolMaxThreads()
      Description copied from interface: OpenflowProviderConfig
      Return threadPoolMaxThreads, or null if it is not present.
           
               Maximum number of threads in thread pool
           
       
      Specified by:
      getThreadPoolMaxThreads in interface OpenflowProviderConfig
      Returns:
      NonZeroUint16Type threadPoolMaxThreads, or null if it is not present.
    • getThreadPoolTimeout

      public org.opendaylight.yangtools.yang.common.Uint32 getThreadPoolTimeout()
      Description copied from interface: OpenflowProviderConfig
      Return threadPoolTimeout, or null if it is not present.
           
               After how much time (in seconds) of inactivity will be threads in pool
               terminated
           
       
      Specified by:
      getThreadPoolTimeout in interface OpenflowProviderConfig
      Returns:
      Uint32 threadPoolTimeout, or null if it is not present.
    • getEnableFlowRemovedNotification

      public Boolean getEnableFlowRemovedNotification()
      Description copied from interface: OpenflowProviderConfig
      Return enableFlowRemovedNotification, or null if it is not present.
           
               Turning on flow removed notification
           
       
      Specified by:
      getEnableFlowRemovedNotification in interface OpenflowProviderConfig
      Returns:
      Boolean enableFlowRemovedNotification, or null if it is not present.
    • getSkipTableFeatures

      public Boolean getSkipTableFeatures()
      Description copied from interface: OpenflowProviderConfig
      Return skipTableFeatures, or null 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
           
       
      Specified by:
      getSkipTableFeatures in interface OpenflowProviderConfig
      Returns:
      Boolean skipTableFeatures, or null if it is not present.
    • getEnableEqualRole

      public Boolean getEnableEqualRole()
      Description copied from interface: OpenflowProviderConfig
      Return enableEqualRole, or null 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.
           
       
      Specified by:
      getEnableEqualRole in interface OpenflowProviderConfig
      Returns:
      Boolean enableEqualRole, or null if it is not present.
    • getBasicTimerDelay

      public NonZeroUint32Type getBasicTimerDelay()
      Description copied from interface: OpenflowProviderConfig
      Return basicTimerDelay, or null if it is not present.
           
               Initial delay used in polling the statistics, value is in milliseconds
           
       
      Specified by:
      getBasicTimerDelay in interface OpenflowProviderConfig
      Returns:
      NonZeroUint32Type basicTimerDelay, or null if it is not present.
    • getMaximumTimerDelay

      public NonZeroUint32Type getMaximumTimerDelay()
      Description copied from interface: OpenflowProviderConfig
      Return maximumTimerDelay, or null 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
           
       
      Specified by:
      getMaximumTimerDelay in interface OpenflowProviderConfig
      Returns:
      NonZeroUint32Type maximumTimerDelay, or null if it is not present.
    • getUseSingleLayerSerialization

      public Boolean getUseSingleLayerSerialization()
      Description copied from interface: OpenflowProviderConfig
      Return useSingleLayerSerialization, or null 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.
           
       
      Specified by:
      getUseSingleLayerSerialization in interface OpenflowProviderConfig
      Returns:
      Boolean useSingleLayerSerialization, or null if it is not present.
    • getDeviceConnectionRateLimitPerMin

      public org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionRateLimitPerMin()
      Description copied from interface: OpenflowProviderConfig
      Return deviceConnectionRateLimitPerMin, or null 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.
           
       
      Specified by:
      getDeviceConnectionRateLimitPerMin in interface OpenflowProviderConfig
      Returns:
      Uint16 deviceConnectionRateLimitPerMin, or null if it is not present.
    • getDeviceConnectionHoldTimeInSeconds

      public org.opendaylight.yangtools.yang.common.Uint16 getDeviceConnectionHoldTimeInSeconds()
      Description copied from interface: OpenflowProviderConfig
      Return deviceConnectionHoldTimeInSeconds, or null 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.
           
       
      Specified by:
      getDeviceConnectionHoldTimeInSeconds in interface OpenflowProviderConfig
      Returns:
      Uint16 deviceConnectionHoldTimeInSeconds, or null if it is not present.
    • getDeviceDatastoreRemovalDelay

      public NonZeroUint32Type getDeviceDatastoreRemovalDelay()
      Description copied from interface: OpenflowProviderConfig
      Return deviceDatastoreRemovalDelay, or null 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.
           
       
      Specified by:
      getDeviceDatastoreRemovalDelay in interface OpenflowProviderConfig
      Returns:
      NonZeroUint32Type deviceDatastoreRemovalDelay, or null if it is not present.
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.opendaylight.yangtools.binding.lib.AbstractAugmentable<OpenflowProviderConfig>
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class org.opendaylight.yangtools.binding.lib.AbstractAugmentable<OpenflowProviderConfig>
    • toString

      public String toString()
      Specified by:
      toString in class org.opendaylight.yangtools.binding.lib.AbstractAugmentable<OpenflowProviderConfig>