Interface BgpPeers

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

    public interface BgpPeers
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpAfVpnInstanceConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<BgpPeers>

    This class represents the following YANG schema fragment defined in module l3vpn

     container bgpPeers {
       list bgpPeer {
         key peerAddr;
         leaf peerAddr {
           type inet:ip-address;
         }
         leaf groupName {
           type string {
             length 1..47;
           }
         }
         leaf remoteAs {
           type string {
             length 1..11;
           }
         }
         leaf description {
           type string {
             length 1..80;
             pattern ([^?]*);
           }
         }
         leaf soo {
           type string {
             length 3..21;
           }
         }
         leaf substituteAsEnable {
           type boolean;
           default false;
         }
       }
     }
     
    The schema path to identify an instance is l3vpn/bgp-af-vpn-instance-config/bgpPeers

    To create instances of this class use BgpPeersBuilder.

    See Also:
    BgpPeersBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<BgpPeers> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getBgpPeer

        @Nullable java.util.List<BgpPeer> getBgpPeer()
        BGP Peer configure class
        Returns:
        java.util.List bgpPeer, or null if not present
      • nonnullBgpPeer

        default @NonNull java.util.List<BgpPeer> nonnullBgpPeer()
        Returns:
        java.util.List bgpPeer, or an empty list if it is not present