Interface BgpContextPfxPathCountersCommon

  • All Superinterfaces:
    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;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-operationalbgp-context-pfx-path-counters_common
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends BgpContextPfxPathCountersCommon> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getTotalPaths

        org.opendaylight.yangtools.yang.common.Uint32 getTotalPaths()
        Return totalPaths, or null if it is not present.
             
                 Total number of BGP paths within the context
             
         
        Returns:
        Uint32 totalPaths, or null 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, or null if it is not present.
             
                 
             
         
        Returns:
        Uint32 totalPrefixes, or null 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