Interface SystemTelnetServerConfig
- 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 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 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.Class<? extends SystemTelnetServerConfig>default @NonNull BooleanReturn 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
-
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 SystemTelnetServerConfig> 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 telnet server. Telnet is disabled by default- Returns:
Booleanenable, ornullif it is not present.
-
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
-