Interface Bgp

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

    public interface Bgp
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpTop>, org.opendaylight.yangtools.yang.binding.Augmentable<Bgp>
    Top-level configuration and state for the BGP router

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

     container bgp {
       presence "Container for BGP protocol hierarchy";
       container global {
         uses bgp-global-base;
         uses rpol:apply-policy-group;
       }
       container neighbors {
         uses bgp-neighbors;
       }
       container peer-groups {
         uses bgp-peer-group;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp/bgp-top/bgp

    To create instances of this class use BgpBuilder.

    See Also:
    BgpBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Bgp> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getGlobal

        @Nullable Global getGlobal()
        Global configuration for the BGP router
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.top.bgp.Global global, or null if not present
      • getNeighbors

        @Nullable Neighbors getNeighbors()
        Configuration for BGP neighbors
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.top.bgp.Neighbors neighbors, or null if not present
      • getPeerGroups

        @Nullable PeerGroups getPeerGroups()
        Configuration for BGP peer-groups
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.top.bgp.PeerGroups peerGroups, or null if not present