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:
State

@Generated("mdsal-binding-generator") public interface AggregationLogicalState extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state data for aggregate interfaces

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

 grouping aggregation-logical-state {
   leaf lag-speed {
     type uint32;
     units Mbps;
   }
   leaf-list member {
     when "../../config/lag-type = 'STATIC'" {
     }
     type oc-if:base-interface-ref;
   }
 }
 
  • 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 lagSpeed, or null if it is not present.
    @Nullable Set<String>
    Return member, or null if it is not present.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return lagSpeed, guaranteed to be non-null.
    default @NonNull Set<String>
    Return member, 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 AggregationLogicalState> 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
    • getLagSpeed

      org.opendaylight.yangtools.yang.common.Uint32 getLagSpeed()
      Return lagSpeed, or null if it is not present.
           
               Reports effective speed of the aggregate interface, based on speed of active
               member interfaces
           
       
      Returns:
      Uint32 lagSpeed, or null if it is not present.
    • requireLagSpeed

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLagSpeed()
      Return lagSpeed, guaranteed to be non-null.
           
               Reports effective speed of the aggregate interface, based on speed of active
               member interfaces
           
       
      Returns:
      Uint32 lagSpeed, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if lagSpeed is not present
    • getMember

      @Nullable Set<String> getMember()
      Return member, or null if it is not present.
           
               List of current member interfaces for the aggregate, expressed as references to
               existing interfaces
           
       
      Returns:
      Set<String> member, or null if it is not present.
    • requireMember

      default @NonNull Set<String> requireMember()
      Return member, guaranteed to be non-null.
           
               List of current member interfaces for the aggregate, expressed as references to
               existing interfaces
           
       
      Returns:
      Set<String> member, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if member is not present