Interface BfdConfig

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

    public interface BfdConfig
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BfdData>, org.opendaylight.yangtools.yang.binding.Augmentable<BfdConfig>

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

     container bfd-config {
       leaf bfd-enabled {
         type boolean;
         default false;
       }
       leaf detect-mult {
         type uint32;
         default 3;
       }
       leaf min-rx {
         type uint32 {
           range 50..50000;
         }
         default 500;
       }
       leaf min-tx {
         type uint32 {
           range "1000 .. 60000";
         }
         default 6000;
       }
       leaf multihop {
         type boolean;
         default true;
       }
     }
     
    The schema path to identify an instance is bfd/bfd-config

    To create instances of this class use BfdConfigBuilder.

    See Also:
    BfdConfigBuilder
    • 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.Uint32 getDetectMult()
      The number of packets that have to be missed in a row to declare the session to be down.
      @Nullable org.opendaylight.yangtools.yang.common.Uint32 getMinRx()
      The shortest interval, in milli-seconds, at which this BFD session offers to receive BFD control messages.
      @Nullable org.opendaylight.yangtools.yang.common.Uint32 getMinTx()
      The shortest interval, in milli-seconds, at which this BFD session is willing to transmit BFD control messages.
      default java.lang.Class<BfdConfig> implementedInterface()  
      @Nullable java.lang.Boolean isBfdEnabled()
      is BFD enabled
      @Nullable java.lang.Boolean isMultihop()
      Value of True indicates suppport for BFD multihop
      • Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable

        augmentation
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.lang.Boolean isBfdEnabled()
        is BFD enabled
        Returns:
        java.lang.Boolean bfdEnabled, or null if not present
      • getDetectMult

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getDetectMult()
        The number of packets that have to be missed in a row to declare the session to be down.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 detectMult, or null if not present
      • getMinRx

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getMinRx()
        The shortest interval, in milli-seconds, at which this BFD session offers to receive BFD control messages. Defaults to 500
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 minRx, or null if not present
      • getMinTx

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getMinTx()
        The shortest interval, in milli-seconds, at which this BFD session is willing to transmit BFD control messages. Defaults to 6000
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 minTx, or null if not present
      • isMultihop

        @Nullable java.lang.Boolean isMultihop()
        Value of True indicates suppport for BFD multihop
        Returns:
        java.lang.Boolean multihop, or null if not present