Interface AggregationLogicalState

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

      • QNAME

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

      • implementedInterface

        Class<? extends AggregationLogicalState> implementedInterface()
        Specified by:
        implementedInterface in interface 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 List<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:
        List<String> member, or null if it is not present.
      • requireMember

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