Interface Neighbor

  • All Superinterfaces:
    ApplyPolicyGroup, org.opendaylight.yangtools.yang.binding.Augmentable<Neighbor>, BgpGracefulRestart, BgpNeighborGroup, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<BgpNeighbors>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<NeighborKey>

    public interface Neighbor
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpNeighbors>, org.opendaylight.yangtools.yang.binding.Augmentable<Neighbor>, BgpNeighborGroup, org.opendaylight.yangtools.yang.binding.Identifiable<NeighborKey>
    List of BGP neighbors configured on the local system, uniquely identified by peer IPv[46] address

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

     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/neighbor

    To create instances of this class use NeighborBuilder.

    See Also:
    NeighborBuilder, NeighborKey
    • Field Detail

      • QNAME

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

      • getNeighborAddress

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getNeighborAddress()
        Reference to the address of the BGP neighbor used as a key in the neighbor list
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress neighborAddress, or null if not present
      • key

        NeighborKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<NeighborKey>