Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR tty-server package configuration.
This module contains definitions for the following management objects:
tty: TTY Line Configuration
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type Tty
- type Tty_TtyLines
- type Tty_TtyLines_TtyLine
- type Tty_TtyLines_TtyLine_Aaa
- type Tty_TtyLines_TtyLine_Aaa_Accounting
- type Tty_TtyLines_TtyLine_Aaa_Authentication
- type Tty_TtyLines_TtyLine_Aaa_Authorization
- type Tty_TtyLines_TtyLine_Aaa_UserGroups
- type Tty_TtyLines_TtyLine_Aaa_UserGroups_UserGroup
- type Tty_TtyLines_TtyLine_Connection
- type Tty_TtyLines_TtyLine_Connection_SessionTimeout
- type Tty_TtyLines_TtyLine_Connection_TransportInput
- type Tty_TtyLines_TtyLine_Connection_TransportOutput
- type Tty_TtyLines_TtyLine_Exec
- type Tty_TtyLines_TtyLine_ExecMode
- type Tty_TtyLines_TtyLine_Exec_Timeout
- type Tty_TtyLines_TtyLine_General
- type Tty_TtyLines_TtyLine_Telnet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tty ¶
type Tty struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // TTY templates. TtyLines Tty_TtyLines }
Tty TTY Line Configuration
func (*Tty) GetEntityData ¶
func (tty *Tty) GetEntityData() *types.CommonEntityData
type Tty_TtyLines ¶
type Tty_TtyLines struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // TTY Line,Use string 'console' to configure a console line,Use string // 'default' to configure a default line,Use any string to configure a user // defined template. The type is slice of Tty_TtyLines_TtyLine. TtyLine []*Tty_TtyLines_TtyLine }
Tty_TtyLines TTY templates
func (*Tty_TtyLines) GetEntityData ¶
func (ttyLines *Tty_TtyLines) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine ¶
type Tty_TtyLines_TtyLine struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Name of the template. The type is string with // pattern: [\w\-\.:,_@#%$\+=\|;]+. Name interface{} // TTY line general configuration. General Tty_TtyLines_TtyLine_General // Telnet protocol-specific configuration. Telnet Tty_TtyLines_TtyLine_Telnet // Container class for AAA related TTY configuration. Aaa Tty_TtyLines_TtyLine_Aaa // EXEC timeout and timestamp configurtion. Exec Tty_TtyLines_TtyLine_Exec // Management connection configuration. Connection Tty_TtyLines_TtyLine_Connection // Exec Mode Pager configurtion. ExecMode Tty_TtyLines_TtyLine_ExecMode }
Tty_TtyLines_TtyLine TTY Line,Use string 'console' to configure a console line,Use string 'default' to configure a default line,Use any string to configure a user defined template
func (*Tty_TtyLines_TtyLine) GetEntityData ¶
func (ttyLine *Tty_TtyLines_TtyLine) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Aaa ¶
type Tty_TtyLines_TtyLine_Aaa struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Timeouts for any user input during login sequence. The type is interface{} // with range: 0..300. Units are second. The default value is 30. LoginTimeout interface{} // Configure a secure one way encrypted password. The type is string with // pattern: (!.+)|([^!].+). Secret interface{} // Configure the password for the user. The type is string with pattern: // (!.+)|([^!].+). Password interface{} // Users characteristics. UserGroups Tty_TtyLines_TtyLine_Aaa_UserGroups // Authorization parameters. Authorization Tty_TtyLines_TtyLine_Aaa_Authorization // Authentication parameters. Authentication Tty_TtyLines_TtyLine_Aaa_Authentication // Accounting parameters. Accounting Tty_TtyLines_TtyLine_Aaa_Accounting }
Tty_TtyLines_TtyLine_Aaa Container class for AAA related TTY configuration
func (*Tty_TtyLines_TtyLine_Aaa) GetEntityData ¶
func (aaa *Tty_TtyLines_TtyLine_Aaa) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Aaa_Accounting ¶
type Tty_TtyLines_TtyLine_Aaa_Accounting struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // For starting an exec (shell). The type is string. Exec interface{} // For exec (shell) configuration. The type is string. Commands interface{} }
Tty_TtyLines_TtyLine_Aaa_Accounting Accounting parameters
func (*Tty_TtyLines_TtyLine_Aaa_Accounting) GetEntityData ¶
func (accounting *Tty_TtyLines_TtyLine_Aaa_Accounting) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Aaa_Authentication ¶
type Tty_TtyLines_TtyLine_Aaa_Authentication struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Authentication list name. The type is string. Login interface{} }
Tty_TtyLines_TtyLine_Aaa_Authentication Authentication parameters
func (*Tty_TtyLines_TtyLine_Aaa_Authentication) GetEntityData ¶
func (authentication *Tty_TtyLines_TtyLine_Aaa_Authentication) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Aaa_Authorization ¶
type Tty_TtyLines_TtyLine_Aaa_Authorization struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // For starting an exec (shell). The type is string. Exec interface{} // Specify 'default' or use an authorization list with this name. The type is // string. EventManager interface{} // For exec (shell) configuration. The type is string. Commands interface{} }
Tty_TtyLines_TtyLine_Aaa_Authorization Authorization parameters
func (*Tty_TtyLines_TtyLine_Aaa_Authorization) GetEntityData ¶
func (authorization *Tty_TtyLines_TtyLine_Aaa_Authorization) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Aaa_UserGroups ¶
type Tty_TtyLines_TtyLine_Aaa_UserGroups struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Group to which the user will belong. The type is slice of // Tty_TtyLines_TtyLine_Aaa_UserGroups_UserGroup. UserGroup []*Tty_TtyLines_TtyLine_Aaa_UserGroups_UserGroup }
Tty_TtyLines_TtyLine_Aaa_UserGroups Users characteristics
func (*Tty_TtyLines_TtyLine_Aaa_UserGroups) GetEntityData ¶
func (userGroups *Tty_TtyLines_TtyLine_Aaa_UserGroups) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Aaa_UserGroups_UserGroup ¶
type Tty_TtyLines_TtyLine_Aaa_UserGroups_UserGroup struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Name of the group. The type is string with // pattern: [\w\-\.:,_@#%$\+=\|;]+. Name interface{} // Specify as 'root-system' for root-system group and 'other' for remaining // groups. The type is string. This attribute is mandatory. Category interface{} }
Tty_TtyLines_TtyLine_Aaa_UserGroups_UserGroup Group to which the user will belong
func (*Tty_TtyLines_TtyLine_Aaa_UserGroups_UserGroup) GetEntityData ¶
func (userGroup *Tty_TtyLines_TtyLine_Aaa_UserGroups_UserGroup) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Connection ¶
type Tty_TtyLines_TtyLine_Connection struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Disconnect character's decimal equivalent value or Character . The type is // one of the following types: string with pattern: // (\p{IsBasicLatin}|\p{IsLatin-1Supplement})*, or int with range: 0..255. DisconnectCharacter interface{} // ACL to filter ingoing connections. The type is string. AclIn interface{} // ACL to filter outgoing connections. The type is string. AclOut interface{} // Command completion on whitespace. The type is interface{}. CliWhiteSpaceCompletion interface{} // The number of outgoing connections. The type is interface{} with range: // 0..20. The default value is 6. SessionLimit interface{} // Escape character or ASCII decimal equivalent value orspecial strings // NONE,DEFAULT,BREAK. The type is one of the following types: string with // pattern: // (\p{IsBasicLatin}|\p{IsLatin-1Supplement})|(DEFAULT)|(BREAK)|(NONE) The // default value is 30., or int with range: 0..255 The default value is 30.. EscapeCharacter interface{} // The preferred protocol to use. The type is TtyTransportProtocol. TransportPreferred interface{} // Protocols to use when connecting to the terminal server. TransportInput Tty_TtyLines_TtyLine_Connection_TransportInput // Protocols to use for outgoing connections. TransportOutput Tty_TtyLines_TtyLine_Connection_TransportOutput // Interval for closing connection when there is no input traffic. SessionTimeout Tty_TtyLines_TtyLine_Connection_SessionTimeout }
Tty_TtyLines_TtyLine_Connection Management connection configuration
func (*Tty_TtyLines_TtyLine_Connection) GetEntityData ¶
func (connection *Tty_TtyLines_TtyLine_Connection) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Connection_SessionTimeout ¶
type Tty_TtyLines_TtyLine_Connection_SessionTimeout struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Session timeout interval in minutes. The type is interface{} with range: // 0..35791. This attribute is mandatory. Timeout interface{} // Include output traffic as well as input traffic. The type is // TtySessionTimeoutDirection. This attribute is mandatory. Direction interface{} }
Tty_TtyLines_TtyLine_Connection_SessionTimeout Interval for closing connection when there is no input traffic This type is a presence type.
func (*Tty_TtyLines_TtyLine_Connection_SessionTimeout) GetEntityData ¶
func (sessionTimeout *Tty_TtyLines_TtyLine_Connection_SessionTimeout) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Connection_TransportInput ¶
type Tty_TtyLines_TtyLine_Connection_TransportInput struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Choose transport protocols. The type is TtyTransportProtocolSelect. The // default value is all. Select interface{} // Transport protocol1. The type is TtyTransportProtocol. Protocol1 interface{} // Transport protocol2. The type is TtyTransportProtocol. Protocol2 interface{} // Not used. The type is interface{} with range: 0..4294967295. None interface{} }
Tty_TtyLines_TtyLine_Connection_TransportInput Protocols to use when connecting to the terminal server
func (*Tty_TtyLines_TtyLine_Connection_TransportInput) GetEntityData ¶
func (transportInput *Tty_TtyLines_TtyLine_Connection_TransportInput) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Connection_TransportOutput ¶
type Tty_TtyLines_TtyLine_Connection_TransportOutput struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Choose transport protocols. The type is TtyTransportProtocolSelect. This // attribute is mandatory. Select interface{} // Transport protocol1. The type is TtyTransportProtocol. Protocol1 interface{} // Transport protocol2. The type is TtyTransportProtocol. Protocol2 interface{} // Not used. The type is interface{} with range: 0..4294967295. None interface{} }
Tty_TtyLines_TtyLine_Connection_TransportOutput Protocols to use for outgoing connections This type is a presence type.
func (*Tty_TtyLines_TtyLine_Connection_TransportOutput) GetEntityData ¶
func (transportOutput *Tty_TtyLines_TtyLine_Connection_TransportOutput) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Exec ¶
type Tty_TtyLines_TtyLine_Exec struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // 'True' to Enable & 'False' to Disable time stamp. The type is bool. TimeStamp interface{} // EXEC Timeout. Timeout Tty_TtyLines_TtyLine_Exec_Timeout }
Tty_TtyLines_TtyLine_Exec EXEC timeout and timestamp configurtion
func (*Tty_TtyLines_TtyLine_Exec) GetEntityData ¶
func (exec *Tty_TtyLines_TtyLine_Exec) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_ExecMode ¶
type Tty_TtyLines_TtyLine_ExecMode struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Preferred Paging Utility. The type is TtyPager. The default value is more. Pager interface{} }
Tty_TtyLines_TtyLine_ExecMode Exec Mode Pager configurtion
func (*Tty_TtyLines_TtyLine_ExecMode) GetEntityData ¶
func (execMode *Tty_TtyLines_TtyLine_ExecMode) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Exec_Timeout ¶
type Tty_TtyLines_TtyLine_Exec_Timeout struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Timeout in minutes. The type is interface{} with range: 0..35791. This // attribute is mandatory. Units are minute. Minutes interface{} // Timeout in seconds. The type is interface{} with range: 0..2147483. This // attribute is mandatory. Units are second. Seconds interface{} }
Tty_TtyLines_TtyLine_Exec_Timeout EXEC Timeout This type is a presence type.
func (*Tty_TtyLines_TtyLine_Exec_Timeout) GetEntityData ¶
func (timeout *Tty_TtyLines_TtyLine_Exec_Timeout) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_General ¶
type Tty_TtyLines_TtyLine_General struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Number of lines on a screen. The type is interface{} with range: 0..512. // The default value is 24. Length interface{} // Absolute timeout for line disconnection. The type is interface{} with // range: 0..10000. Units are minute. The default value is 0. AbsoluteTimeout interface{} // Number of characters on a screen line. The type is interface{} with range: // 0..512. The default value is 80. Width interface{} }
Tty_TtyLines_TtyLine_General TTY line general configuration
func (*Tty_TtyLines_TtyLine_General) GetEntityData ¶
func (general *Tty_TtyLines_TtyLine_General) GetEntityData() *types.CommonEntityData
type Tty_TtyLines_TtyLine_Telnet ¶
type Tty_TtyLines_TtyLine_Telnet struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Send a CR as a CR followed by a NULL instead of a CRfollowed by a LF. The // type is interface{}. Transparent interface{} }
Tty_TtyLines_TtyLine_Telnet Telnet protocol-specific configuration
func (*Tty_TtyLines_TtyLine_Telnet) GetEntityData ¶
func (telnet *Tty_TtyLines_TtyLine_Telnet) GetEntityData() *types.CommonEntityData