Cisco-IOS-XR-tty-server-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR tty-server package configuration. This module contains d...

  • Version: 2019-04-05

    Cisco-IOS-XR-tty-server-cfg@2019-04-05


    
      module Cisco-IOS-XR-tty-server-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-tty-server-cfg";
    
        prefix tty-server-cfg;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        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 configuration.
    
    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 "2015-07-30" {
          description "Descriptions updated.";
        }
    
        revision "2015-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "1.0.1";
    
        container tty {
          description "TTY Line Configuration";
          container tty-lines {
            description "TTY templates";
            list tty-line {
              key "name";
              description
                "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";
              container general {
                description
                  "TTY line general configuration";
                leaf length {
                  type uint32 {
                    range "0..512";
                  }
                  default "24";
                  description
                    "Number of lines on a screen.";
                }
    
                leaf absolute-timeout {
                  type uint32 {
                    range "0..10000";
                  }
                  units "minute";
                  default "0";
                  description
                    "Absolute timeout for line disconnection";
                }
    
                leaf width {
                  type uint32 {
                    range "0..512";
                  }
                  default "80";
                  description
                    "Number of characters on a screen line.";
                }
              }  // container general
    
              container telnet {
                description
                  "Telnet protocol-specific configuration";
                leaf transparent {
                  type empty;
                  description
                    "Send a CR as a CR followed by a NULL instead
    of a CRfollowed by a LF";
                }
              }  // container telnet
    
              container aaa {
                description
                  "Container class for AAA related TTY
    configuration";
                container user-groups {
                  description
                    "Users characteristics";
                  list user-group {
                    key "name";
                    description
                      "Group to which the user will belong";
                    leaf name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Name of the group";
                    }
    
                    leaf category {
                      type string;
                      mandatory true;
                      description
                        "Specify as 'root-system' for root-system
    group and 'other' for remaining groups";
                    }
                  }  // list user-group
                }  // container user-groups
    
                container authorization {
                  description
                    "Authorization parameters";
                  leaf exec {
                    type string;
                    description
                      "For starting an exec (shell)";
                  }
    
                  leaf event-manager {
                    type string;
                    description
                      "Specify 'default' or use an authorization
    list with this name";
                  }
    
                  leaf commands {
                    type string;
                    description
                      "For exec (shell) configuration";
                  }
                }  // container authorization
    
                container authentication {
                  description
                    "Authentication parameters";
                  leaf login {
                    type string;
                    description
                      "Authentication list name";
                  }
                }  // container authentication
    
                container accounting {
                  description
                    "Accounting parameters";
                  leaf exec {
                    type string;
                    description
                      "For starting an exec (shell)";
                  }
    
                  leaf commands {
                    type string;
                    description
                      "For exec (shell) configuration";
                  }
                }  // container accounting
    
                leaf login-timeout {
                  type uint32 {
                    range "0..300";
                  }
                  units "second";
                  default "30";
                  description
                    "Timeouts for any user input during login
    sequence";
                }
    
                leaf secret {
                  type xr:Md5-password;
                  description
                    "Configure a secure one way encrypted password";
                }
    
                leaf password {
                  type xr:Md5-password;
                  description
                    "Configure the password for the user";
                }
              }  // container aaa
    
              container exec {
                description
                  "EXEC timeout and timestamp configurtion";
                container timeout {
                  presence
                    "Indicates a timeout node is configured.";
                  description "EXEC Timeout";
                  leaf minutes {
                    type uint32 {
                      range "0..35791";
                    }
                    units "minute";
                    mandatory true;
                    description
                      "Timeout in minutes";
                  }
    
                  leaf seconds {
                    type uint32 {
                      range "0..2147483";
                    }
                    units "second";
                    mandatory true;
                    description
                      "Timeout in seconds";
                  }
                }  // container timeout
    
                leaf time-stamp {
                  type boolean;
                  description
                    "'True' to Enable & 'False' to Disable time
    stamp";
                }
              }  // container exec
    
              leaf name {
                type xr:Cisco-ios-xr-string;
                description
                  "Name of the template";
              }
            }  // list tty-line
          }  // container tty-lines
        }  // container tty
      }  // module Cisco-IOS-XR-tty-server-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.