Interface Ipv4PrefixAndPathId
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,PathIdGrouping
- All Known Subinterfaces:
Ipv4Prefixes
,Ipv4Prefixes
,Nlri
,WithdrawnRoutes
@Generated("mdsal-binding-generator")
public interface Ipv4PrefixAndPathId
extends org.opendaylight.yangtools.yang.binding.DataObject, PathIdGrouping
This class represents the following YANG schema fragment defined in module bgp-message
grouping ipv4-prefix-and-path-id { leaf prefix { type inet:ipv4-prefix; } uses path-id-grouping; }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
Return prefix, ornull
if it is not present.Class<? extends Ipv4PrefixAndPathId>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
Return prefix, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathIdGrouping
getPathId, requirePathId
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends Ipv4PrefixAndPathId> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfacePathIdGrouping
-
getPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix getPrefix()Return prefix, ornull
if it is not present.- Returns:
Ipv4Prefix
prefix, ornull
if it is not present.
-
requirePrefix
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix requirePrefix()Return prefix, guaranteed to be non-null.- Returns:
Ipv4Prefix
prefix, guaranteed to be non-null.- Throws:
NoSuchElementException
- if prefix is not present
-