Interface BgpContextPfxPathCountersCommon
- 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:
BgpGlobalAfiSafiState
,BgpGlobalState
,BgpPeerGroupState
,GlobalAfiSafiStateAugmentation
,PeerGroupStateAugmentation
,State
,State1
,State13
@Generated("mdsal-binding-generator")
public interface BgpContextPfxPathCountersCommon
extends org.opendaylight.yangtools.binding.Grouping
Grouping containing common counters relating to prefixes and paths
This class represents the following YANG schema fragment defined in module openconfig-bgp-operational
grouping bgp-context-pfx-path-counters_common { leaf total-paths { type uint32; } leaf total-prefixes { type uint32; } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32
Return totalPaths, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return totalPrefixes, ornull
if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return totalPaths, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return totalPrefixes, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getTotalPaths
org.opendaylight.yangtools.yang.common.Uint32 getTotalPaths()Return totalPaths, ornull
if it is not present.Total number of BGP paths within the context
- Returns:
Uint32
totalPaths, ornull
if it is not present.
-
requireTotalPaths
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireTotalPaths()Return totalPaths, guaranteed to be non-null.Total number of BGP paths within the context
- Returns:
Uint32
totalPaths, guaranteed to be non-null.- Throws:
NoSuchElementException
- if totalPaths is not present
-
getTotalPrefixes
org.opendaylight.yangtools.yang.common.Uint32 getTotalPrefixes()Return totalPrefixes, ornull
if it is not present.- Returns:
Uint32
totalPrefixes, ornull
if it is not present.
-
requireTotalPrefixes
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireTotalPrefixes()Return totalPrefixes, guaranteed to be non-null.- Returns:
Uint32
totalPrefixes, guaranteed to be non-null.- Throws:
NoSuchElementException
- if totalPrefixes is not present
-