Interface SystemSshServerConfig
-
- All Superinterfaces:
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 configurationThis 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; }The schema path to identify an instance is openconfig-system-terminalsystem-ssh-server-config
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSystemSshServerConfig.ProtocolVersion
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BooleangetEnable()Return enable, ornullif it is not present.SystemSshServerConfig.ProtocolVersiongetProtocolVersion()Return protocolVersion, ornullif it is not present.Class<? extends SystemSshServerConfig>implementedInterface()default @NonNull BooleanrequireEnable()Return enable, guaranteed to be non-null.default @NonNull SystemSshServerConfig.ProtocolVersionrequireProtocolVersion()Return 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
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends SystemSshServerConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
default @NonNull Boolean 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
default @NonNull SystemSshServerConfig.ProtocolVersion 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
-
-