Interface Detection

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Detection>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<SlowPeerConfig>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Detection
    extends org.opendaylight.yangtools.yang.binding.ChildOf<SlowPeerConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<Detection>

    This class represents the following YANG schema fragment defined in module bgp

     container detection {
       leaf enable {
         type boolean;
         default true;
       }
       leaf threshold {
         type uint16 {
           range 120..3600;
         }
       }
     }
     
    The schema path to identify an instance is bgp/slow-peer-config/detection

    To create instances of this class use DetectionBuilder.

    See Also:
    DetectionBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<Detection> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • isEnable

        @Nullable java.lang.Boolean isEnable()
        Returns:
        java.lang.Boolean enable, or null if not present
      • getThreshold

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getThreshold()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 threshold, or null if not present