Interface BgpContextPfxPathCountersCommon
- 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
- All Known Subinterfaces:
BgpGlobalAfiSafiState
,BgpGlobalState
,BgpPeerGroupState
,GlobalAfiSafiStateAugmentation
,PeerGroupStateAugmentation
,State
,State1
,State13
@Generated("mdsal-binding-generator")
public interface BgpContextPfxPathCountersCommon
extends org.opendaylight.yangtools.yang.binding.DataObject
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; } }
-
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.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.Class<? extends BgpContextPfxPathCountersCommon>
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.
-
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 BgpContextPfxPathCountersCommon> 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
-
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
-