Interface AggregationLogicalConfig
- 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 AggregationLogicalConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for aggregate interfaces
This 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;
}
}
-
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 lagType, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16Return minLinks, ornullif it is not present.Class<? extends AggregationLogicalConfig>default @NonNull AggregationTypeReturn lagType, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16Return minLinks, 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 AggregationLogicalConfig> 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
-
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
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
-