Interface BgpNeighborPeerGroupConfig

All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return peerGroup, or null if it is not present.
     
    default @NonNull String
    Return peerGroup, guaranteed to be non-null.
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends BgpNeighborPeerGroupConfig> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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