Interface PrefixIdentifiers
- 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:
PrefixDescriptors
@Generated("mdsal-binding-generator")
public interface PrefixIdentifiers
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bgp-linkstate
grouping prefix-identifiers { leaf multi-topology-id { type topology-identifier; } leaf ospf-route-type { when "../../protocol-id[ .='ospf' or .='ospf-v3' ]"; type ospf-route-type; } leaf ip-reachability-information { type inet:ip-prefix; } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
Return ipReachabilityInformation, ornull
if it is not present.Return multiTopologyId, ornull
if it is not present.Return ospfRouteType, ornull
if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
Return ipReachabilityInformation, guaranteed to be non-null.default @NonNull TopologyIdentifier
Return multiTopologyId, guaranteed to be non-null.default @NonNull OspfRouteType
Return ospfRouteType, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getMultiTopologyId
TopologyIdentifier getMultiTopologyId()Return multiTopologyId, ornull
if it is not present.- Returns:
TopologyIdentifier
multiTopologyId, ornull
if it is not present.
-
requireMultiTopologyId
Return multiTopologyId, guaranteed to be non-null.- Returns:
TopologyIdentifier
multiTopologyId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if multiTopologyId is not present
-
getOspfRouteType
OspfRouteType getOspfRouteType()Return ospfRouteType, ornull
if it is not present.- Returns:
OspfRouteType
ospfRouteType, ornull
if it is not present.
-
requireOspfRouteType
Return ospfRouteType, guaranteed to be non-null.- Returns:
OspfRouteType
ospfRouteType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ospfRouteType is not present
-
getIpReachabilityInformation
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getIpReachabilityInformation()Return ipReachabilityInformation, ornull
if it is not present.- Returns:
IpPrefix
ipReachabilityInformation, ornull
if it is not present.
-
requireIpReachabilityInformation
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix requireIpReachabilityInformation()Return ipReachabilityInformation, guaranteed to be non-null.- Returns:
IpPrefix
ipReachabilityInformation, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipReachabilityInformation is not present
-