Interface L3vpnMcastRoute
- 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
,RouteDistinguisherGrouping
- All Known Subinterfaces:
L3vpnMcastDestination
,L3vpnMcastRoute
@Generated("mdsal-binding-generator")
public interface L3vpnMcastRoute
extends org.opendaylight.yangtools.binding.Grouping, RouteDistinguisherGrouping
This class represents the following YANG schema fragment defined in module bgp-l3vpn-mcast
grouping l3vpn-mcast-route { leaf prefix { type inet:ip-prefix; } uses bgp-t:route-distinguisher-grouping; }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
Return prefix, 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 prefix, guaranteed to be non-null.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.types.rev200120.RouteDistinguisherGrouping
getRouteDistinguisher, requireRouteDistinguisher
-
Method Details
-
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:
IpPrefix
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.IpPrefix requirePrefix()Return prefix, guaranteed to be non-null.- Returns:
IpPrefix
prefix, guaranteed to be non-null.- Throws:
NoSuchElementException
- if prefix is not present
-