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 SystemSshServerConfig extends org.opendaylight.yangtools.yang.binding.DataObject, SystemTerminalCommonConfig
Configuration data for system ssh configuration

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

 grouping system-ssh-server-config {
   leaf enable {
     type boolean;
     default true;
   }
   leaf protocol-version {
     type enumeration {
       enum V2 {
       }
       enum V1 {
       }
       enum V1_V2 {
       }
     }
     default V2;
   }
   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 SystemSshServerConfig> 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 ssh server. The ssh server is enabled 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 ssh server. The ssh server is enabled by default.
           
       
      Returns:
      Boolean enable, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if enable is not present
    • getProtocolVersion

      Return protocolVersion, or null if it is not present.
           
               Set the protocol version for SSH connections to the system
           
       
      Returns:
      ProtocolVersion protocolVersion, or null if it is not present.
    • requireProtocolVersion

      default @NonNull SystemSshServerConfig.ProtocolVersion requireProtocolVersion()
      Return protocolVersion, guaranteed to be non-null.
           
               Set the protocol version for SSH connections to the system
           
       
      Returns:
      ProtocolVersion protocolVersion, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if protocolVersion is not present