Interface PrefixState
- 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
- All Known Subinterfaces:
PrefixAttributes
@Generated("mdsal-binding-generator")
public interface PrefixState
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bgp-linkstate
grouping prefix-state { container igp-bits { uses igp-bits; } leaf-list route-tags { type route-tag; } leaf-list extended-tags { type extended-route-tag; } leaf prefix-metric { type netc:igp-metric; } leaf ospf-forwarding-address { type inet:ip-address-no-zone; } container sr-prefix { uses bgp-sr:prefix-sid-tlv; } container sr-range { uses bgp-sr:range-tlv; } container flex-algo-prefix-metric { uses bgp-sr:flex-algo-prefix-metric; } container srv6-locator { uses bgp-sr:srv6-locator; } container attribute-flags { uses bgp-sr:prefix-attribute-flags; } leaf source-router-id { type inet:ip-address-no-zone; } leaf source-ospf-router-id { type inet:ipv4-address-no-zone; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn attributeFlags, ornull
if it is not present.@Nullable Set
<ExtendedRouteTag> Return extendedTags, ornull
if it is not present.Return flexAlgoPrefixMetric, ornull
if it is not present.Return igpBits, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
Return ospfForwardingAddress, ornull
if it is not present.Return prefixMetric, ornull
if it is not present.Return routeTags, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
Return sourceOspfRouterId, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
Return sourceRouterId, ornull
if it is not present.Return srPrefix, ornull
if it is not present.Return srRange, ornull
if it is not present.Return srv6Locator, ornull
if it is not present.@NonNull AttributeFlags
Return attributeFlags, or an empty instance if it is not present.@NonNull FlexAlgoPrefixMetric
Return flexAlgoPrefixMetric, or an empty instance if it is not present.@NonNull IgpBits
Return igpBits, or an empty instance if it is not present.@NonNull SrPrefix
Return srPrefix, or an empty instance if it is not present.@NonNull SrRange
Return srRange, or an empty instance if it is not present.@NonNull Srv6Locator
Return srv6Locator, or an empty instance if it is not present.default @NonNull Set
<ExtendedRouteTag> Return extendedTags, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
Return ospfForwardingAddress, guaranteed to be non-null.default @NonNull IgpMetric
Return prefixMetric, guaranteed to be non-null.Return routeTags, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
Return sourceOspfRouterId, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
Return sourceRouterId, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getIgpBits
IgpBits getIgpBits()Return igpBits, ornull
if it is not present.- Returns:
IgpBits
igpBits, ornull
if it is not present.
-
nonnullIgpBits
@NonNull IgpBits nonnullIgpBits()Return igpBits, or an empty instance if it is not present.- Returns:
IgpBits
igpBits, or an empty instance if it is not present.
-
getRouteTags
Return routeTags, ornull
if it is not present.- Returns:
Set<RouteTag>
routeTags, ornull
if it is not present.
-
requireRouteTags
Return routeTags, guaranteed to be non-null.- Returns:
Set<RouteTag>
routeTags, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routeTags is not present
-
getExtendedTags
@Nullable Set<ExtendedRouteTag> getExtendedTags()Return extendedTags, ornull
if it is not present.- Returns:
Set<ExtendedRouteTag>
extendedTags, ornull
if it is not present.
-
requireExtendedTags
Return extendedTags, guaranteed to be non-null.- Returns:
Set<ExtendedRouteTag>
extendedTags, guaranteed to be non-null.- Throws:
NoSuchElementException
- if extendedTags is not present
-
getPrefixMetric
IgpMetric getPrefixMetric()Return prefixMetric, ornull
if it is not present.- Returns:
IgpMetric
prefixMetric, ornull
if it is not present.
-
requirePrefixMetric
Return prefixMetric, guaranteed to be non-null.- Returns:
IgpMetric
prefixMetric, guaranteed to be non-null.- Throws:
NoSuchElementException
- if prefixMetric is not present
-
getOspfForwardingAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone getOspfForwardingAddress()Return ospfForwardingAddress, ornull
if it is not present.- Returns:
IpAddressNoZone
ospfForwardingAddress, ornull
if it is not present.
-
requireOspfForwardingAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone requireOspfForwardingAddress()Return ospfForwardingAddress, guaranteed to be non-null.- Returns:
IpAddressNoZone
ospfForwardingAddress, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ospfForwardingAddress is not present
-
getSrPrefix
SrPrefix getSrPrefix()Return srPrefix, ornull
if it is not present.- Returns:
SrPrefix
srPrefix, ornull
if it is not present.
-
nonnullSrPrefix
@NonNull SrPrefix nonnullSrPrefix()Return srPrefix, or an empty instance if it is not present.- Returns:
SrPrefix
srPrefix, or an empty instance if it is not present.
-
getSrRange
SrRange getSrRange()Return srRange, ornull
if it is not present.- Returns:
SrRange
srRange, ornull
if it is not present.
-
nonnullSrRange
@NonNull SrRange nonnullSrRange()Return srRange, or an empty instance if it is not present.- Returns:
SrRange
srRange, or an empty instance if it is not present.
-
getFlexAlgoPrefixMetric
FlexAlgoPrefixMetric getFlexAlgoPrefixMetric()Return flexAlgoPrefixMetric, ornull
if it is not present.- Returns:
FlexAlgoPrefixMetric
flexAlgoPrefixMetric, ornull
if it is not present.
-
nonnullFlexAlgoPrefixMetric
@NonNull FlexAlgoPrefixMetric nonnullFlexAlgoPrefixMetric()Return flexAlgoPrefixMetric, or an empty instance if it is not present.- Returns:
FlexAlgoPrefixMetric
flexAlgoPrefixMetric, or an empty instance if it is not present.
-
getSrv6Locator
Srv6Locator getSrv6Locator()Return srv6Locator, ornull
if it is not present.- Returns:
Srv6Locator
srv6Locator, ornull
if it is not present.
-
nonnullSrv6Locator
@NonNull Srv6Locator nonnullSrv6Locator()Return srv6Locator, or an empty instance if it is not present.- Returns:
Srv6Locator
srv6Locator, or an empty instance if it is not present.
-
getAttributeFlags
AttributeFlags getAttributeFlags()Return attributeFlags, ornull
if it is not present.- Returns:
AttributeFlags
attributeFlags, ornull
if it is not present.
-
nonnullAttributeFlags
@NonNull AttributeFlags nonnullAttributeFlags()Return attributeFlags, or an empty instance if it is not present.- Returns:
AttributeFlags
attributeFlags, or an empty instance if it is not present.
-
getSourceRouterId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone getSourceRouterId()Return sourceRouterId, ornull
if it is not present.- Returns:
IpAddressNoZone
sourceRouterId, ornull
if it is not present.
-
requireSourceRouterId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone requireSourceRouterId()Return sourceRouterId, guaranteed to be non-null.- Returns:
IpAddressNoZone
sourceRouterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sourceRouterId is not present
-
getSourceOspfRouterId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone getSourceOspfRouterId()Return sourceOspfRouterId, ornull
if it is not present.- Returns:
Ipv4AddressNoZone
sourceOspfRouterId, ornull
if it is not present.
-
requireSourceOspfRouterId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone requireSourceOspfRouterId()Return sourceOspfRouterId, guaranteed to be non-null.- Returns:
Ipv4AddressNoZone
sourceOspfRouterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sourceOspfRouterId is not present
-