Interface AggregationLogicalState
- 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
- All Known Subinterfaces:
State
@Generated("mdsal-binding-generator")
public interface AggregationLogicalState
extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state data for aggregate interfaces
This class represents the following YANG schema fragment defined in module openconfig-if-aggregate
grouping aggregation-logical-state {
leaf lag-speed {
type uint32;
units Mbps;
}
leaf-list member {
when "../../config/lag-type = 'STATIC'" {
}
type oc-if:base-interface-ref;
}
}
-
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 TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32Return lagSpeed, ornullif it is not present.Return member, ornullif it is not present.Class<? extends AggregationLogicalState>default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return lagSpeed, guaranteed to be non-null.Return member, 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 AggregationLogicalState> 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
-
getLagSpeed
org.opendaylight.yangtools.yang.common.Uint32 getLagSpeed()Return lagSpeed, ornullif it is not present.Reports effective speed of the aggregate interface, based on speed of active member interfaces- Returns:
Uint32lagSpeed, ornullif it is not present.
-
requireLagSpeed
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLagSpeed()Return lagSpeed, guaranteed to be non-null.Reports effective speed of the aggregate interface, based on speed of active member interfaces- Returns:
Uint32lagSpeed, guaranteed to be non-null.- Throws:
NoSuchElementException- if lagSpeed is not present
-
getMember
Return member, ornullif it is not present.List of current member interfaces for the aggregate, expressed as references to existing interfaces- Returns:
Set<String>member, ornullif it is not present.
-
requireMember
Return member, guaranteed to be non-null.List of current member interfaces for the aggregate, expressed as references to existing interfaces- Returns:
Set<String>member, guaranteed to be non-null.- Throws:
NoSuchElementException- if member is not present
-