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

    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-bgp/bgp-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 List<Neighbor> getNeighbor()
        List of BGP neighbors configured on the local system, uniquely identified by peer IPv[46] address
        Returns:
        java.util.List neighbor, or null if not present
      • nonnullNeighbor

        default @NonNull List<Neighbor> nonnullNeighbor()
        Returns:
        java.util.List neighbor, or an empty list if it is not present