Interface SystemTerminalCommonConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Config,Config,Config,State,State,State,SystemSshServerConfig,SystemTelnetServerConfig
@Generated("mdsal-binding-generator") public interface SystemTerminalCommonConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Common configuration data for terminal servicesThis class represents the following YANG schema fragment defined in module openconfig-system-terminal
grouping system-terminal-common-config { leaf timeout { type uint16; units seconds; } leaf rate-limit { type uint16; units conn/min; } leaf session-limit { type uint16; } }
-
-
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 org.opendaylight.yangtools.yang.common.Uint16getRateLimit()Return rateLimit, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getSessionLimit()Return sessionLimit, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getTimeout()Return timeout, ornullif it is not present.Class<? extends SystemTerminalCommonConfig>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint16requireRateLimit()Return rateLimit, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16requireSessionLimit()Return sessionLimit, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16requireTimeout()Return timeout, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends SystemTerminalCommonConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTimeout
org.opendaylight.yangtools.yang.common.Uint16 getTimeout()
Return timeout, ornullif it is not present.Set the idle timeout in seconds on terminal connections to the system for the protocol.- Returns:
Uint16timeout, ornullif it is not present.
-
requireTimeout
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireTimeout()
Return timeout, guaranteed to be non-null.Set the idle timeout in seconds on terminal connections to the system for the protocol.- Returns:
Uint16timeout, guaranteed to be non-null.- Throws:
NoSuchElementException- if timeout is not present
-
getRateLimit
org.opendaylight.yangtools.yang.common.Uint16 getRateLimit()
Return rateLimit, ornullif it is not present.Set a limit on the number of connection attempts per minute to the system for the protocol.- Returns:
Uint16rateLimit, ornullif it is not present.
-
requireRateLimit
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireRateLimit()
Return rateLimit, guaranteed to be non-null.Set a limit on the number of connection attempts per minute to the system for the protocol.- Returns:
Uint16rateLimit, guaranteed to be non-null.- Throws:
NoSuchElementException- if rateLimit is not present
-
getSessionLimit
org.opendaylight.yangtools.yang.common.Uint16 getSessionLimit()
Return sessionLimit, ornullif it is not present.Set a limit on the number of simultaneous active terminal sessions to the system for the protocol (e.g., ssh, telnet, ...)- Returns:
Uint16sessionLimit, ornullif it is not present.
-
requireSessionLimit
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireSessionLimit()
Return sessionLimit, guaranteed to be non-null.Set a limit on the number of simultaneous active terminal sessions to the system for the protocol (e.g., ssh, telnet, ...)- Returns:
Uint16sessionLimit, guaranteed to be non-null.- Throws:
NoSuchElementException- if sessionLimit is not present
-
-