Interface BgpNeighborLoggingOptionsConfig

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

    @Generated("mdsal-binding-generator")
    public interface BgpNeighborLoggingOptionsConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration parameters specifying the logging behaviour for BGP sessions to the peer

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

     grouping bgp-neighbor-logging-options_config {
       leaf log-neighbor-state-changes {
         type boolean;
         default true;
       }
     }
     
    The schema path to identify an instance is openconfig-bgpbgp-neighbor-logging-options_config
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Boolean getLogNeighborStateChanges()
        Return logNeighborStateChanges, or null if it is not present.
             
                 Configure logging of peer state changes. Default is to enable logging of peer
                 state changes.
             
         
        Returns:
        Boolean logNeighborStateChanges, or null if it is not present.
      • requireLogNeighborStateChanges

        default @NonNull Boolean requireLogNeighborStateChanges()
        Return logNeighborStateChanges, guaranteed to be non-null.
             
                 Configure logging of peer state changes. Default is to enable logging of peer
                 state changes.
             
         
        Returns:
        Boolean logNeighborStateChanges, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if logNeighborStateChanges is not present