Interface EthernetIfAggregationConfig
- 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
@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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn aggregateId, ornullif it is not present.Class<? extends EthernetIfAggregationConfig>default @NonNull StringReturn aggregateId, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends EthernetIfAggregationConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAggregateId
String getAggregateId()Return aggregateId, ornullif it is not present.Specify the logical aggregate interface to which this interface belongs- Returns:
StringaggregateId, ornullif it is not present.
-
requireAggregateId
Return aggregateId, guaranteed to be non-null.Specify the logical aggregate interface to which this interface belongs- Returns:
StringaggregateId, guaranteed to be non-null.- Throws:
NoSuchElementException- if aggregateId is not present
-