All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint32
    Return down, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return up, or null if it is not present.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return down, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return up, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends InterfacePhysHoldtimeConfig> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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