Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120
Interface PrefixSidTlv
- 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:
PrefixSid
,PrefixSidTlv
,SrPrefix
@Generated("mdsal-binding-generator")
public interface PrefixSidTlv
extends org.opendaylight.yangtools.binding.Grouping, SidLabelIndex
This class represents the following YANG schema fragment defined in module bgp-segment-routing
grouping prefix-sid-tlv { choice flags { case isis-prefix-flags-case { container isis-prefix-flags { uses prefix-flags; leaf readvertisement { type boolean; } leaf node-sid { type boolean; } } } case ospf-prefix-flags-case { container ospf-prefix-flags { uses prefix-flags; leaf mapping-server { type boolean; } } } } leaf algorithm { type algorithm; } uses sid-label-index; }
-
Method Summary
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
-
getFlags
Flags getFlags()Return flags, ornull
if it is not present.- Returns:
Flags
flags, ornull
if it is not present.
-
getAlgorithm
Algorithm getAlgorithm()Return algorithm, ornull
if it is not present.- Returns:
Algorithm
algorithm, ornull
if it is not present.
-
requireAlgorithm
Return algorithm, guaranteed to be non-null.- Returns:
Algorithm
algorithm, guaranteed to be non-null.- Throws:
NoSuchElementException
- if algorithm is not present
-