Interface SystemTelnetServerConfig
-
- 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 SystemTelnetServerConfig extends org.opendaylight.yangtools.yang.binding.DataObject, SystemTerminalCommonConfig
Configuration data for telnet serverThis 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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BooleangetEnable()Return enable, ornullif it is not present.Class<? extends SystemTelnetServerConfig>implementedInterface()default @NonNull BooleanrequireEnable()Return enable, 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 SystemTelnetServerConfig> 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 telnet server. Telnet is disabled by default- Returns:
Booleanenable, ornullif 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:
Booleanenable, guaranteed to be non-null.- Throws:
NoSuchElementException- if enable is not present
-
-