Interface AggregationLogicalConfig

  • 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 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;
       }
     }
     
    The schema path to identify an instance is openconfig-if-aggregateaggregation-logical-config
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends AggregationLogicalConfig> implementedInterface()
        Specified by:
        implementedInterface in interface 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