Interface AggregationLogicalState
-
- All Superinterfaces:
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 interfacesThis 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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32getLagSpeed()Return lagSpeed, ornullif it is not present.@Nullable Set<String>getMember()Return member, ornullif it is not present.Class<? extends AggregationLogicalState>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireLagSpeed()Return lagSpeed, guaranteed to be non-null.default @NonNull Set<String>requireMember()Return member, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AggregationLogicalState> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
@Nullable Set<String> 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
default @NonNull Set<String> 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
-
-