Interface BgpPeerGroupPeerGroupNameConfig

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

    @Generated("mdsal-binding-generator")
    public interface BgpPeerGroupPeerGroupNameConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration options relating to the BGP peer-group name

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

     grouping bgp-peer-group-peer-group-name_config {
       leaf peer-group-name {
         type string;
       }
     }
     
    • 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 BgpPeerGroupPeerGroupNameConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPeerGroupName

        String getPeerGroupName()
        Return peerGroupName, or null if it is not present.
             
                 Name of the BGP peer-group
             
         
        Returns:
        String peerGroupName, or null if it is not present.
      • requirePeerGroupName

        default @NonNull String requirePeerGroupName()
        Return peerGroupName, guaranteed to be non-null.
             
                 Name of the BGP peer-group
             
         
        Returns:
        String peerGroupName, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if peerGroupName is not present