Interface InterfacePhysHoldtimeConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config, State

    @Generated("mdsal-binding-generator")
    public interface InterfacePhysHoldtimeConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration data for interface hold-time settings -- applies to physical interfaces.

    This class represents the following YANG schema fragment defined in module openconfig-interfaces

     grouping interface-phys-holdtime-config {
       leaf up {
         type uint32;
         units milliseconds;
         default 0;
       }
       leaf down {
         type uint32;
         units milliseconds;
         default 0;
       }
     }
     
    The schema path to identify an instance is openconfig-interfacesinterface-phys-holdtime-config
    • 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

        Class<? extends InterfacePhysHoldtimeConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getUp

        org.opendaylight.yangtools.yang.common.Uint32 getUp()
        Return up, or null if it is not present.
             
                 Dampens advertisement when the interface transitions from down to up. A zero
                 value means dampening is turned off, i.e., immediate notification.
             
         
        Returns:
        Uint32 up, or null if it is not present.
      • requireUp

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireUp()
        Return up, guaranteed to be non-null.
             
                 Dampens advertisement when the interface transitions from down to up. A zero
                 value means dampening is turned off, i.e., immediate notification.
             
         
        Returns:
        Uint32 up, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if up is not present
      • getDown

        org.opendaylight.yangtools.yang.common.Uint32 getDown()
        Return down, or null if it is not present.
             
                 Dampens advertisement when the interface transitions from up to down. A zero
                 value means dampening is turned off, i.e., immediate notification.
             
         
        Returns:
        Uint32 down, or null if it is not present.
      • requireDown

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDown()
        Return down, guaranteed to be non-null.
             
                 Dampens advertisement when the interface transitions from up to down. A zero
                 value means dampening is turned off, i.e., immediate notification.
             
         
        Returns:
        Uint32 down, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if down is not present