Interface Prefixes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Prefixes>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<BgpNeighborPrefixCountersState>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Prefixes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpNeighborPrefixCountersState>, org.opendaylight.yangtools.yang.binding.Augmentable<Prefixes>
    Prefix counters for the BGP session

    This class represents the following YANG schema fragment defined in module openconfig-bgp-operational

     container prefixes {
       leaf received {
         type uint32;
       }
       leaf sent {
         type uint32;
       }
       leaf installed {
         type uint32;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-operational/bgp-neighbor-prefix-counters_state/prefixes

    To create instances of this class use PrefixesBuilder.

    See Also:
    PrefixesBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      org.opendaylight.yangtools.yang.common.Uint32 getInstalled()
      The number of advertised prefixes installed in the Loc-RIB
      org.opendaylight.yangtools.yang.common.Uint32 getReceived()
      The number of prefixes received from the neighbor
      org.opendaylight.yangtools.yang.common.Uint32 getSent()
      The number of prefixes advertised to the neighbor
      default Class<Prefixes> implementedInterface()  
      • Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable

        augmentation
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Prefixes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getReceived

        org.opendaylight.yangtools.yang.common.Uint32 getReceived()
        The number of prefixes received from the neighbor
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 received, or null if not present
      • getSent

        org.opendaylight.yangtools.yang.common.Uint32 getSent()
        The number of prefixes advertised to the neighbor
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 sent, or null if not present
      • getInstalled

        org.opendaylight.yangtools.yang.common.Uint32 getInstalled()
        The number of advertised prefixes installed in the Loc-RIB
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 installed, or null if not present