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.Uint32Return totalPaths, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return totalPrefixes, ornullif it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return totalPaths, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return 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, ornullif it is not present.Total number of BGP paths within the context- Returns:
Uint32totalPaths, ornullif 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:
Uint32totalPaths, guaranteed to be non-null.- Throws:
NoSuchElementException- if totalPaths is not present
-
getTotalPrefixes
org.opendaylight.yangtools.yang.common.Uint32 getTotalPrefixes()Return totalPrefixes, ornullif it is not present.- Returns:
Uint32totalPrefixes, ornullif it is not present.
-
requireTotalPrefixes
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireTotalPrefixes()Return totalPrefixes, guaranteed to be non-null.- Returns:
Uint32totalPrefixes, guaranteed to be non-null.- Throws:
NoSuchElementException- if totalPrefixes is not present
-