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:
Config1, State1

@Generated("mdsal-binding-generator") public interface EthernetIfAggregationConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Adds configuration items for Ethernet interfaces belonging to a logical aggregate / LAG

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

 grouping ethernet-if-aggregation-config {
   leaf aggregate-id {
     type leafref {
       path /oc-if:interfaces/oc-if:interface/oc-if:name;
     }
   }
 }
 
  • 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 aggregateId, or null if it is not present.
     
    default @NonNull String
    Return aggregateId, 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 EthernetIfAggregationConfig> 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
    • getAggregateId

      String getAggregateId()
      Return aggregateId, or null if it is not present.
           
               Specify the logical aggregate interface to which this interface belongs
           
       
      Returns:
      String aggregateId, or null if it is not present.
    • requireAggregateId

      default @NonNull String requireAggregateId()
      Return aggregateId, guaranteed to be non-null.
           
               Specify the logical aggregate interface to which this interface belongs
           
       
      Returns:
      String aggregateId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if aggregateId is not present