Interface BgpNeighborPeerGroupConfig

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

    @Generated("mdsal-binding-generator")
    public interface BgpNeighborPeerGroupConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration parameters indicating whether the specified peer is to be considered as part of a peer-group - and therefore inherit its configuration

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

     grouping bgp-neighbor-peer-group_config {
       leaf peer-group {
         type leafref {
           path /bgp:bgp/bgp:peer-groups/bgp:peer-group/bgp:peer-group-name;
         }
       }
     }
     
    • 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 BgpNeighborPeerGroupConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPeerGroup

        String getPeerGroup()
        Return peerGroup, or null if it is not present.
             
                 The peer-group with which this neighbor is associated
             
         
        Returns:
        String peerGroup, or null if it is not present.
      • requirePeerGroup

        default @NonNull String requirePeerGroup()
        Return peerGroup, guaranteed to be non-null.
             
                 The peer-group with which this neighbor is associated
             
         
        Returns:
        String peerGroup, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if peerGroup is not present