Interface EthernetIfAggregationConfig
-
- All Superinterfaces:
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 / LAGThis 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; } } }The schema path to identify an instance is openconfig-if-aggregateethernet-if-aggregation-config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetAggregateId()Return aggregateId, ornullif it is not present.Class<? extends EthernetIfAggregationConfig>implementedInterface()default @NonNull StringrequireAggregateId()Return aggregateId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends EthernetIfAggregationConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
default @NonNull String 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
-
-