Interface AggregationLogicalConfig
-
- 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 AggregationLogicalConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for aggregate interfacesThis class represents the following YANG schema fragment defined in module openconfig-if-aggregate
grouping aggregation-logical-config { leaf lag-type { type aggregation-type; } leaf min-links { type uint16; } }The schema path to identify an instance is openconfig-if-aggregateaggregation-logical-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 AggregationTypegetLagType()Return lagType, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getMinLinks()Return minLinks, ornullif it is not present.Class<? extends AggregationLogicalConfig>implementedInterface()default @NonNull AggregationTyperequireLagType()Return lagType, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16requireMinLinks()Return minLinks, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AggregationLogicalConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLagType
AggregationType getLagType()
Return lagType, ornullif it is not present.Sets the type of LAG, i.e., how it is configured / maintained- Returns:
AggregationTypelagType, ornullif it is not present.
-
requireLagType
default @NonNull AggregationType requireLagType()
Return lagType, guaranteed to be non-null.Sets the type of LAG, i.e., how it is configured / maintained- Returns:
AggregationTypelagType, guaranteed to be non-null.- Throws:
NoSuchElementException- if lagType is not present
-
getMinLinks
org.opendaylight.yangtools.yang.common.Uint16 getMinLinks()
Return minLinks, ornullif it is not present.Specifies the mininum number of member interfaces that must be active for the aggregate interface to be available- Returns:
Uint16minLinks, ornullif it is not present.
-
requireMinLinks
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireMinLinks()
Return minLinks, guaranteed to be non-null.Specifies the mininum number of member interfaces that must be active for the aggregate interface to be available- Returns:
Uint16minLinks, guaranteed to be non-null.- Throws:
NoSuchElementException- if minLinks is not present
-
-