Interface Peers

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Router

    @Generated("mdsal-binding-generator")
    public interface Peers
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module bmp-monitor

     grouping peers {
       list peer {
         key peer-id;
         leaf peer-id {
           type rib:peer-id;
         }
         uses bmp-msg:peer;
         leaf router-distinguisher {
           type string;
         }
         container peer-session {
           uses bmp-msg:peer-up;
           leaf status {
             type status;
           }
           uses bmp-msg:timestamp;
         }
         container stats {
           leaf rejected-prefixes {
             type yang:counter32;
           }
           leaf duplicate-prefix-advertisements {
             type yang:counter32;
           }
           leaf duplicate-withdraws {
             type yang:counter32;
           }
           leaf invalidated-cluster-list-loop {
             type yang:counter32;
           }
           leaf invalidated-as-path-loop {
             type yang:counter32;
           }
           leaf invalidated-originator-id {
             type yang:counter32;
           }
           leaf invalidated-as-confed-loop {
             type yang:counter32;
           }
           leaf adj-ribs-in-routes {
             type yang:gauge64;
           }
           leaf loc-rib-routes {
             type yang:gauge64;
           }
           container per-afi-safi-adj-rib-in-routes {
             uses afi-safi-route-counter;
           }
           container per-afi-safi-loc-rib-routes {
             uses afi-safi-route-counter;
           }
           leaf updates-treated-as-withdraw {
             type yang:counter32;
           }
           leaf prefixes-treated-as-withdraw {
             type yang:counter32;
           }
           leaf duplicate-updates {
             type yang:counter32;
           }
           uses bmp-msg:timestamp;
         }
         container pre-policy-rib {
           uses rib:rib;
         }
         container post-policy-rib {
           uses rib:rib;
         }
         container mirrors {
           leaf information {
             type bmp-msg:mirror-information-code;
           }
           uses bmp-msg:timestamp;
         }
       }
     }
     
    The schema path to identify an instance is bmp-monitorpeers
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<PeerKey,​Peer> getPeer()
        Return peer, or null if it is not present.
        Returns:
        Map<PeerKey, Peer> peer, or null if it is not present.
      • nonnullPeer

        default @NonNull Map<PeerKey,​Peer> nonnullPeer()
        Return peer, or an empty list if it is not present.
        Returns:
        Map<PeerKey, Peer> peer, or an empty list if it is not present.