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, SystemTerminalCommonConfig
All Known Subinterfaces:
Config, State

@Generated("mdsal-binding-generator") public interface SystemTelnetServerConfig extends org.opendaylight.yangtools.yang.binding.DataObject, SystemTerminalCommonConfig
Configuration data for telnet server

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

 grouping system-telnet-server-config {
   leaf enable {
     type boolean;
     default false;
   }
   uses system-terminal-common-config;
 }
 
  • 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 SystemTelnetServerConfig> 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
      Specified by:
      implementedInterface in interface SystemTerminalCommonConfig
    • getEnable

      Boolean getEnable()
      Return enable, or null if it is not present.
           
               Enables the telnet server. Telnet is disabled by default
           
       
      Returns:
      Boolean enable, or null if it is not present.
    • requireEnable

      default @NonNull Boolean requireEnable()
      Return enable, guaranteed to be non-null.
           
               Enables the telnet server. Telnet is disabled by default
           
       
      Returns:
      Boolean enable, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if enable is not present