Class OpenFlowProviderConfigImpl

    • Constructor Detail

    • Method Detail

      • getRpcRequestsQuota

        public NonZeroUint16Type getRpcRequestsQuota()
        Description copied from interface: OpenflowProviderConfig
        Quota for maximum number of RPC requests
        Specified by:
        getRpcRequestsQuota in interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint16Type rpcRequestsQuota, or null 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 interface OpenflowProviderConfig
        Returns:
        java.lang.Boolean switchFeaturesMandatory, or null if not present
      • getGlobalNotificationQuota

        public org.opendaylight.yangtools.yang.common.Uint32 getGlobalNotificationQuota()
        Description copied from interface: OpenflowProviderConfig
        Global notification quota
        Specified by:
        getGlobalNotificationQuota in interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 globalNotificationQuota, or null 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 interface OpenflowProviderConfig
        Returns:
        java.lang.Boolean isStatisticsPollingOn, or null 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 interface OpenflowProviderConfig
        Returns:
        java.lang.Boolean isStatisticsRpcEnabled, or null 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 interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type echoReplyTimeout, or null 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 interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 threadPoolMinThreads, or null if not present
      • getThreadPoolMaxThreads

        public NonZeroUint16Type getThreadPoolMaxThreads()
        Description copied from interface: OpenflowProviderConfig
        Maximum number of threads in thread pool
        Specified by:
        getThreadPoolMaxThreads in interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint16Type threadPoolMaxThreads, or null 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 interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 threadPoolTimeout, or null 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 interface OpenflowProviderConfig
        Returns:
        java.lang.Boolean skipTableFeatures, or null 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 interface OpenflowProviderConfig
        Returns:
        java.lang.Boolean enableEqualRole, or null 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 interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type basicTimerDelay, or null 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 interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type maximumTimerDelay, or null 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 interface OpenflowProviderConfig
        Returns:
        java.lang.Boolean useSingleLayerSerialization, or null if not present
      • augmentation

        public <E extends org.opendaylight.yangtools.yang.binding.Augmentation<OpenflowProviderConfig>> E augmentation​(Class<E> augmentationType)
        Specified by:
        augmentation in interface org.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 interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 deviceConnectionRateLimitPerMin, or null 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 interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 deviceConnectionHoldTimeInSeconds, or null 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 interface OpenflowProviderConfig
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.NonZeroUint32Type deviceDatastoreRemovalDelay, or null 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 interface OpenflowProviderConfig
        Returns:
        java.lang.Boolean enableCustomTrustManager, or null if not present