Interface QosalertConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<QosalertConfig>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<QosalertConfigData>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface QosalertConfig extends org.opendaylight.yangtools.yang.binding.ChildOf<QosalertConfigData>, org.opendaylight.yangtools.yang.binding.Augmentable<QosalertConfig>
This class represents the following YANG schema fragment defined in module qosalert-config
container qosalert-config { leaf qos-alert-enabled { type boolean; default false; } leaf qos-drop-packet-threshold { type uint8 { range 1..100; } default 5; } leaf qos-alert-poll-interval { type uint16 { range 1..3600; } default 2; } }
The schema path to identify an instance is qosalert-config/qosalert-configTo create instances of this class use
QosalertConfigBuilder
.- See Also:
QosalertConfigBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint16
getQosAlertPollInterval()
Polling interval in minutes@Nullable org.opendaylight.yangtools.yang.common.Uint8
getQosDropPacketThreshold()
QoS Packet drop threshold config.default java.lang.Class<QosalertConfig>
implementedInterface()
@Nullable java.lang.Boolean
isQosAlertEnabled()
QoS alert enable-disable config knob
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<QosalertConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
isQosAlertEnabled
@Nullable java.lang.Boolean isQosAlertEnabled()
QoS alert enable-disable config knob- Returns:
java.lang.Boolean
qosAlertEnabled
, ornull
if not present
-
getQosDropPacketThreshold
@Nullable org.opendaylight.yangtools.yang.common.Uint8 getQosDropPacketThreshold()
QoS Packet drop threshold config. Specified as packet drop %- Returns:
org.opendaylight.yangtools.yang.common.Uint8
qosDropPacketThreshold
, ornull
if not present
-
getQosAlertPollInterval
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getQosAlertPollInterval()
Polling interval in minutes- Returns:
org.opendaylight.yangtools.yang.common.Uint16
qosAlertPollInterval
, ornull
if not present
-
-