Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329
Interface MpCapabilities
- 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:
CParameters1
,CParameters1
@Generated("mdsal-binding-generator")
public interface MpCapabilities
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bgp-multiprotocol
grouping mp-capabilities { container multiprotocol-capability { uses bgp-table-type; } container graceful-restart-capability { presence "indicates a graceful restart capability"; leaf restart-flags { type bits { bit restart-state { position 0; } } } leaf restart-time { type uint16 { range 0..4095; } units seconds; default 0; } list tables { uses bgp-table-type; key "afi safi"; leaf afi-flags { type bits { bit forwarding-state { position 0; } } } } } container ll-graceful-restart-capability { list tables { uses bgp-table-type; key "afi safi"; leaf afi-flags { type bits { bit forwarding-state { position 0; } } } leaf long-lived-stale-time { type rt-types:uint24; units seconds; default 0; } } } container add-path-capability { list address-families { uses bgp-add-path-table-type; } } container route-refresh-capability { presence "Route refresh capability"; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn addPathCapability, ornull
if it is not present.Return gracefulRestartCapability, ornull
if it is not present.Return llGracefulRestartCapability, ornull
if it is not present.Return multiprotocolCapability, ornull
if it is not present.Return routeRefreshCapability, ornull
if it is not present.@NonNull AddPathCapability
Return addPathCapability, or an empty instance if it is not present.@NonNull LlGracefulRestartCapability
Return llGracefulRestartCapability, or an empty instance if it is not present.@NonNull MultiprotocolCapability
Return multiprotocolCapability, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getMultiprotocolCapability
MultiprotocolCapability getMultiprotocolCapability()Return multiprotocolCapability, ornull
if it is not present.- Returns:
MultiprotocolCapability
multiprotocolCapability, ornull
if it is not present.
-
nonnullMultiprotocolCapability
@NonNull MultiprotocolCapability nonnullMultiprotocolCapability()Return multiprotocolCapability, or an empty instance if it is not present.- Returns:
MultiprotocolCapability
multiprotocolCapability, or an empty instance if it is not present.
-
getGracefulRestartCapability
GracefulRestartCapability getGracefulRestartCapability()Return gracefulRestartCapability, ornull
if it is not present.- Returns:
GracefulRestartCapability
gracefulRestartCapability, ornull
if it is not present.
-
getLlGracefulRestartCapability
LlGracefulRestartCapability getLlGracefulRestartCapability()Return llGracefulRestartCapability, ornull
if it is not present.- Returns:
LlGracefulRestartCapability
llGracefulRestartCapability, ornull
if it is not present.
-
nonnullLlGracefulRestartCapability
@NonNull LlGracefulRestartCapability nonnullLlGracefulRestartCapability()Return llGracefulRestartCapability, or an empty instance if it is not present.- Returns:
LlGracefulRestartCapability
llGracefulRestartCapability, or an empty instance if it is not present.
-
getAddPathCapability
AddPathCapability getAddPathCapability()Return addPathCapability, ornull
if it is not present.- Returns:
AddPathCapability
addPathCapability, ornull
if it is not present.
-
nonnullAddPathCapability
@NonNull AddPathCapability nonnullAddPathCapability()Return addPathCapability, or an empty instance if it is not present.- Returns:
AddPathCapability
addPathCapability, or an empty instance if it is not present.
-
getRouteRefreshCapability
RouteRefreshCapability getRouteRefreshCapability()Return routeRefreshCapability, ornull
if it is not present.- Returns:
RouteRefreshCapability
routeRefreshCapability, ornull
if it is not present.
-