Interface SystemSshServerConfig
- 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
@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;
}
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThis class represents the following YANG schema fragment defined in module openconfig-system-terminal -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn enable, ornullif it is not present.Return protocolVersion, ornullif it is not present.Class<? extends SystemSshServerConfig>default @NonNull BooleanReturn enable, guaranteed to be non-null.default @NonNull SystemSshServerConfig.ProtocolVersionReturn protocolVersion, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.system.terminal.rev181121.SystemTerminalCommonConfig
getRateLimit, getSessionLimit, getTimeout, requireRateLimit, requireSessionLimit, requireTimeout
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends SystemSshServerConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceSystemTerminalCommonConfig
-
getEnable
Boolean getEnable()Return enable, ornullif it is not present.Enables the ssh server. The ssh server is enabled by default.- Returns:
Booleanenable, ornullif it is not present.
-
requireEnable
Return enable, guaranteed to be non-null.Enables the ssh server. The ssh server is enabled by default.- Returns:
Booleanenable, guaranteed to be non-null.- Throws:
NoSuchElementException- if enable is not present
-
getProtocolVersion
SystemSshServerConfig.ProtocolVersion getProtocolVersion()Return protocolVersion, ornullif it is not present.Set the protocol version for SSH connections to the system- Returns:
ProtocolVersionprotocolVersion, ornullif it is not present.
-
requireProtocolVersion
Return protocolVersion, guaranteed to be non-null.Set the protocol version for SSH connections to the system- Returns:
ProtocolVersionprotocolVersion, guaranteed to be non-null.- Throws:
NoSuchElementException- if protocolVersion is not present
-