Interface BgpPeerGroup

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

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

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

     grouping bgp-peer-group {
       list peer-group {
         key peer-group-name;
         leaf peer-group-name {
           type string;
         }
         uses bgp-neighbor-group;
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        @Nullable Map<PeerGroupKey,​PeerGroup> getPeerGroup()
        Return peerGroup, or null if it is not present.
             
                 List of BGP peer-groups configured on the local system - uniquely identified by
                 peer-group name
             
         
        Returns:
        Map<PeerGroupKey, PeerGroup> peerGroup, or null if it is not present.
      • nonnullPeerGroup

        default @NonNull Map<PeerGroupKey,​PeerGroup> nonnullPeerGroup()
        Return peerGroup, or an empty list if it is not present.
        Returns:
        Map<PeerGroupKey, PeerGroup> peerGroup, or an empty list if it is not present.