Interface BgpNeighbors

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

    @Generated("mdsal-binding-generator")
    public interface BgpNeighbors
    extends org.opendaylight.yangtools.yang.binding.DataObject
    BGP neighbors configured on the local system

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

     grouping bgp-neighbors {
       list neighbor {
         key neighbor-address;
         leaf neighbor-address {
           type inet:ip-address;
         }
         uses bgp-neighbor-group;
       }
     }
     
    The schema path to identify an instance is openconfig-bgpbgp-neighbors
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<NeighborKey,​Neighbor> getNeighbor()
        Return neighbor, or null if it is not present.
             
                 List of BGP neighbors configured on the local system, uniquely identified by
                 peer IPv[46] address
             
         
        Returns:
        Map<NeighborKey, Neighbor> neighbor, or null if it is not present.
      • nonnullNeighbor

        default @NonNull Map<NeighborKey,​Neighbor> nonnullNeighbor()
        Return neighbor, or an empty list if it is not present.
        Returns:
        Map<NeighborKey, Neighbor> neighbor, or an empty list if it is not present.