Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120
Interface EpeAdjSidTlv
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
,SidLabelIndex
- All Known Subinterfaces:
AdjSidTlv
,PeerAdjSid
,PeerNodeSid
,PeerSetSids
,SrAdjIds
@Generated("mdsal-binding-generator")
public interface EpeAdjSidTlv
extends org.opendaylight.yangtools.binding.Grouping, SidLabelIndex
This class represents the following YANG schema fragment defined in module bgp-segment-routing
grouping epe-adj-sid-tlv { leaf weight { type weight; } uses sid-label-index; }
-
Method Summary
Modifier and TypeMethodDescriptionReturn weight, ornull
if it is not present.default @NonNull Weight
Return weight, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120.SidLabelIndex
getSidLabelIndex
-
Method Details
-
getWeight
Weight getWeight()Return weight, ornull
if it is not present.- Returns:
Weight
weight, ornull
if it is not present.
-
requireWeight
Return weight, guaranteed to be non-null.- Returns:
Weight
weight, guaranteed to be non-null.- Throws:
NoSuchElementException
- if weight is not present
-