Interface EthernetIfAggregationConfig

  • All Superinterfaces:
    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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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