Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.labeled.unicast.rev180329
Interface LabeledUnicast
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
CLabeledUnicastDestination
,L3vpn
,LabeledUnicastRoute
,VpnDestination
,VpnRoute
@Generated("mdsal-binding-generator") public interface LabeledUnicast extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bgp-labeled-unicast
grouping labeled-unicast { list label-stack { uses label; ordered-by user; } leaf prefix { type inet:ip-prefix; } }
The schema path to identify an instance is bgp-labeled-unicast/labeled-unicast
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<LabelStack>
getLabelStack()
Return labelStack, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
getPrefix()
Return prefix, ornull
if it is not present.Class<? extends LabeledUnicast>
implementedInterface()
default @NonNull List<LabelStack>
nonnullLabelStack()
Return labelStack, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
Class<? extends LabeledUnicast> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLabelStack
@Nullable List<LabelStack> getLabelStack()
Return labelStack, ornull
if it is not present.The Label field carries one or more labels (that corresponds to the stack of labels). Each label is encoded as 3 octets, where the high-order 20 bits contain the label value, and the low order bit contains 'Bottom of Stack'.
- Returns:
java.util.List
labelStack, ornull
if it is not present.
-
nonnullLabelStack
default @NonNull List<LabelStack> nonnullLabelStack()
Return labelStack, or an empty list if it is not present.- Returns:
java.util.List
labelStack, or an empty list if it is not present.
-
getPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()
Return prefix, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
prefix, ornull
if it is not present.
-
-