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 AggregationLogicalConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for aggregate interfaces

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

 grouping aggregation-logical-config {
   leaf lag-type {
     type aggregation-type;
   }
   leaf min-links {
     type uint16;
   }
 }
 
  • 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
    Return lagType, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return minLinks, or null if it is not present.
     
    default @NonNull AggregationType
    Return lagType, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return minLinks, 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 AggregationLogicalConfig> 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
    • getLagType

      AggregationType getLagType()
      Return lagType, or null if it is not present.
           
               Sets the type of LAG, i.e., how it is configured / maintained
           
       
      Returns:
      AggregationType lagType, or null if it is not present.
    • requireLagType

      default @NonNull AggregationType requireLagType()
      Return lagType, guaranteed to be non-null.
           
               Sets the type of LAG, i.e., how it is configured / maintained
           
       
      Returns:
      AggregationType lagType, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if lagType is not present
    • getMinLinks

      org.opendaylight.yangtools.yang.common.Uint16 getMinLinks()
      Return minLinks, or null if it is not present.
           
               Specifies the mininum number of member interfaces that must be active for the
               aggregate interface to be available
           
       
      Returns:
      Uint16 minLinks, or null if it is not present.
    • requireMinLinks

      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireMinLinks()
      Return minLinks, guaranteed to be non-null.
           
               Specifies the mininum number of member interfaces that must be active for the
               aggregate interface to be available
           
       
      Returns:
      Uint16 minLinks, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if minLinks is not present