This module contains a collection of YANG definitions for Cisco IOS-XR tty-server package operational data. This module contain...
Version: 2019-04-05
module Cisco-IOS-XR-tty-server-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-oper"; prefix tty-server-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } import Cisco-IOS-XR-tty-management-datatypes { prefix dt1; } include Cisco-IOS-XR-tty-server-oper-sub5 { revision-date "2019-04-05"; } include Cisco-IOS-XR-tty-server-oper-sub4 { revision-date "2019-04-05"; } include Cisco-IOS-XR-tty-server-oper-sub3 { revision-date "2019-04-05"; } include Cisco-IOS-XR-tty-server-oper-sub2 { revision-date "2019-04-05"; } include Cisco-IOS-XR-tty-server-oper-sub1 { revision-date "2019-04-05"; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR tty-server package operational data. This module contains definitions for the following management objects: tty: TTY Line Configuration Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2019-02-25" { description "Fixed unconstrained data type issues"; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2015-07-30" { description "Descriptions updated."; } revision "2015-01-07" { description "IOS XR 5.3.1 revision."; } semver:module-version "1.0.0"; typedef Line-state { type enumeration { enum "none" { value 0; description "Line not connected"; } enum "registered" { value 1; description "Line registered"; } enum "in-use" { value 2; description "Line active and in use"; } } description "Line state"; } typedef Session-operation { type enumeration { enum "none" { value 0; description "No sessions on the line"; } enum "setup" { value 1; description "Session getting set up"; } enum "shell" { value 2; description "Session active with a shell"; } enum "transitioning" { value 3; description "Session in transitioning phase"; } enum "packet" { value 4; description "Session ready to receive packets"; } } description "Session operation"; } container tty { config false; description "TTY Line Configuration"; container console-nodes { description "List of Nodes for console"; list console-node { key "id"; description "Console line configuration on a node"; container console-line { description "Details about console line"; container console-statistics { description "Statistics of the console line"; container rs232 { description "RS232 statistics of console line"; leaf data-bits { type uint32; units "bit"; description "Number of databits"; } leaf exec-disabled { type boolean; description "Exec disabled on TTY"; } leaf hardware-flow-control-status { type uint32; description "Setting of hardware flow control"; } leaf parity-status { type uint32; description "Setting the parity type"; } leaf baud-rate { type uint32; units "bit/s"; description "Inbound/Outbound baud rate in bps"; } leaf stop-bits { type uint32; units "bit"; description "Number of stopbits"; } leaf overrun-error-count { type uint32; description "Count of overrun error"; } leaf framing-error-count { type uint32; description "Count of framing error"; } leaf parity-error-count { type uint32; description "Count of parity error"; } } // container rs232 container general-statistics { description "General statistics of line"; leaf terminal-length { type uint32; description "Length of the terminal or screen display, in rows"; } leaf terminal-width { type uint32; description "Line width"; } leaf async-interface { type boolean; description "Usable as async interface"; } leaf flow-control-start-character { type int8; description "Software flow control start char"; } leaf flow-control-stop-character { type int8; description "Software flow control stop char"; } leaf domain-lookup-enabled { type boolean; description "DNS resolution enabled"; } leaf motd-banner-enabled { type boolean; description "MOTD banner enabled"; } leaf private-flag { type boolean; description "Private flag for the TTY being used"; } leaf terminal-type { type string; description "Terminal type of the TTY being used"; } leaf absolute-timeout { type uint32; description "Absolute timeout period"; } leaf idle-time { type uint32; units "second"; description "Interval (in seconds) since data was last sent on the line"; } } // container general-statistics container exec { description "Exec related statistics"; leaf time-stamp-enabled { type boolean; description "Specifies whether timestamp is enabled or not"; } } // container exec container aaa { description "AAA related statistics"; leaf user-name { type string; description "The authenticated username"; } } // container aaa } // container console-statistics container state { description "Line state information"; container template { description "Information related to template applied to the line"; leaf name { type xr:Cisco-ios-xr-string { length "1..990"; } description "Name of the template"; } } // container template container general { description "General information"; leaf operation { type Session-operation; description "application running of on the tty line"; } leaf general-state { type Line-state; description "State of the line"; } } // container general } // container state container configuration { description "Configuration information of the line"; container connection-configuration { description "Conection configuration information"; container transport-input { description "Protocols to use when connecting to the terminal server"; leaf select { type dt1:Tty-transport-protocol-select; default "all"; description "Choose transport protocols"; } leaf protocol1 { when "../select = 'some'" { description "../Select = Some"; } type dt1:Tty-transport-protocol; description "Transport protocol1"; } leaf protocol2 { when "../select = 'some'" { description "../Select = Some"; } type dt1:Tty-transport-protocol; description "Transport protocol2"; } leaf none { type uint32 { range "0..4294967295"; } description "Not used"; } } // container transport-input leaf acl-out { type xr:Cisco-ios-xr-string { length "1..64"; } description "ACL for outbound traffic"; } leaf acl-in { type xr:Cisco-ios-xr-string { length "1..64"; } description "ACL for inbound traffic"; } } // container connection-configuration } // container configuration } // container console-line leaf id { type xr:Node-id; description "Node ID"; } } // list console-node } // container console-nodes container vty-lines { description "List of VTY lines"; list vty-line { key "line-number"; description "VTY Line"; container vty-statistics { description "Statistics of the VTY line"; container connection { description "Connection related statistics"; leaf incoming-host-address { type string { length "0..46"; } description "host address(max) of incoming connection"; } leaf host-address-family { type uint32; description "host address family of incoming connection"; } leaf service { type uint32; description "Input transport"; } } // container connection container general-statistics { description "General statistics of line"; leaf terminal-length { type uint32; description "Length of the terminal or screen display, in rows"; } leaf terminal-width { type uint32; description "Line width"; } leaf async-interface { type boolean; description "Usable as async interface"; } leaf flow-control-start-character { type int8; description "Software flow control start char"; } leaf flow-control-stop-character { type int8; description "Software flow control stop char"; } leaf domain-lookup-enabled { type boolean; description "DNS resolution enabled"; } leaf motd-banner-enabled { type boolean; description "MOTD banner enabled"; } leaf private-flag { type boolean; description "Private flag for the TTY being used"; } leaf terminal-type { type string; description "Terminal type of the TTY being used"; } leaf absolute-timeout { type uint32; description "Absolute timeout period"; } leaf idle-time { type uint32; units "second"; description "Interval (in seconds) since data was last sent on the line"; } } // container general-statistics container exec { description "Exec related statistics"; leaf time-stamp-enabled { type boolean; description "Specifies whether timestamp is enabled or not"; } } // container exec container aaa { description "AAA related statistics"; leaf user-name { type string; description "The authenticated username"; } } // container aaa } // container vty-statistics leaf line-number { type uint32 { range "0..4294967295"; } description "VTY Line number"; } container state { description "Line state information"; container template { description "Information related to template applied to the line"; leaf name { type xr:Cisco-ios-xr-string { length "1..990"; } description "Name of the template"; } } // container template container general { description "General information"; leaf operation { type Session-operation; description "application running of on the tty line"; } leaf general-state { type Line-state; description "State of the line"; } } // container general } // container state container configuration { description "Configuration information of the line"; container connection-configuration { description "Conection configuration information"; container transport-input { description "Protocols to use when connecting to the terminal server"; leaf select { type dt1:Tty-transport-protocol-select; default "all"; description "Choose transport protocols"; } leaf protocol1 { when "../select = 'some'" { description "../Select = Some"; } type dt1:Tty-transport-protocol; description "Transport protocol1"; } leaf protocol2 { when "../select = 'some'" { description "../Select = Some"; } type dt1:Tty-transport-protocol; description "Transport protocol2"; } leaf none { type uint32 { range "0..4294967295"; } description "Not used"; } } // container transport-input leaf acl-out { type xr:Cisco-ios-xr-string { length "1..64"; } description "ACL for outbound traffic"; } leaf acl-in { type xr:Cisco-ios-xr-string { length "1..64"; } description "ACL for inbound traffic"; } } // container connection-configuration } // container configuration container sessions { description "Outgoing sessions"; list outgoing-connection { description "List of outgoing sessions"; container host-address { description "Host address"; leaf af-name { type Host-af-id; description "AFName"; } leaf ipv4-address { when "../af-name = 'ipv4'" { description "../AFName = 'IPv4'"; } type inet:ipv4-address; description "IPv4 address"; } leaf ipv6-address { when "../af-name = 'ipv6'" { description "../AFName = 'IPv6'"; } type Ipv6-address; description "IPv6 address"; } } // container host-address leaf connection-id { type uint8; description "Connection ID [1-20]"; } leaf host-name { type string; description "Host name"; } leaf transport-protocol { type Transport-service; description "Session transport protocol"; } leaf is-last-active-session { type boolean; description "True indicates last active session"; } leaf idle-time { type uint32; units "second"; description "Elapsed time since session was suspended (in seconds)"; } } // list outgoing-connection } // container sessions } // list vty-line } // container vty-lines container auxiliary-nodes { description "List of Nodes attached with an auxiliary line"; list auxiliary-node { key "id"; description "Line configuration on a node"; container auxiliary-line { description "Details about auxiliary line"; container auxiliary-statistics { description "Statistics of the auxiliary line"; container rs232 { description "RS232 statistics of console line"; leaf data-bits { type uint32; units "bit"; description "Number of databits"; } leaf exec-disabled { type boolean; description "Exec disabled on TTY"; } leaf hardware-flow-control-status { type uint32; description "Setting of hardware flow control"; } leaf parity-status { type uint32; description "Setting the parity type"; } leaf baud-rate { type uint32; units "bit/s"; description "Inbound/Outbound baud rate in bps"; } leaf stop-bits { type uint32; units "bit"; description "Number of stopbits"; } leaf overrun-error-count { type uint32; description "Count of overrun error"; } leaf framing-error-count { type uint32; description "Count of framing error"; } leaf parity-error-count { type uint32; description "Count of parity error"; } } // container rs232 container general-statistics { description "General statistics of line"; leaf terminal-length { type uint32; description "Length of the terminal or screen display, in rows"; } leaf terminal-width { type uint32; description "Line width"; } leaf async-interface { type boolean; description "Usable as async interface"; } leaf flow-control-start-character { type int8; description "Software flow control start char"; } leaf flow-control-stop-character { type int8; description "Software flow control stop char"; } leaf domain-lookup-enabled { type boolean; description "DNS resolution enabled"; } leaf motd-banner-enabled { type boolean; description "MOTD banner enabled"; } leaf private-flag { type boolean; description "Private flag for the TTY being used"; } leaf terminal-type { type string; description "Terminal type of the TTY being used"; } leaf absolute-timeout { type uint32; description "Absolute timeout period"; } leaf idle-time { type uint32; units "second"; description "Interval (in seconds) since data was last sent on the line"; } } // container general-statistics container exec { description "Exec related statistics"; leaf time-stamp-enabled { type boolean; description "Specifies whether timestamp is enabled or not"; } } // container exec container aaa { description "AAA related statistics"; leaf user-name { type string; description "The authenticated username"; } } // container aaa } // container auxiliary-statistics container state { description "Line state information"; container template { description "Information related to template applied to the line"; leaf name { type xr:Cisco-ios-xr-string { length "1..990"; } description "Name of the template"; } } // container template container general { description "General information"; leaf operation { type Session-operation; description "application running of on the tty line"; } leaf general-state { type Line-state; description "State of the line"; } } // container general } // container state container configuration { description "Configuration information of the line"; container connection-configuration { description "Conection configuration information"; container transport-input { description "Protocols to use when connecting to the terminal server"; leaf select { type dt1:Tty-transport-protocol-select; default "all"; description "Choose transport protocols"; } leaf protocol1 { when "../select = 'some'" { description "../Select = Some"; } type dt1:Tty-transport-protocol; description "Transport protocol1"; } leaf protocol2 { when "../select = 'some'" { description "../Select = Some"; } type dt1:Tty-transport-protocol; description "Transport protocol2"; } leaf none { type uint32 { range "0..4294967295"; } description "Not used"; } } // container transport-input leaf acl-out { type xr:Cisco-ios-xr-string { length "1..64"; } description "ACL for outbound traffic"; } leaf acl-in { type xr:Cisco-ios-xr-string { length "1..64"; } description "ACL for inbound traffic"; } } // container connection-configuration } // container configuration } // container auxiliary-line leaf id { type xr:Node-id; description "Node ID"; } } // list auxiliary-node } // container auxiliary-nodes } // container tty } // module Cisco-IOS-XR-tty-server-oper
© 2023 YumaWorks, Inc. All rights reserved.