Cisco-IOS-XR-sysadmin-console

This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. This module defines the top leve...

  • Version: 2019-04-15

    Cisco-IOS-XR-sysadmin-console@2019-04-15


    
      module Cisco-IOS-XR-sysadmin-console {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-console";
    
        prefix calvados_console;
    
        import Cisco-IOS-XR-sysadmin-sdr-console {
          prefix sdr_mgr;
        }
        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 SysAdmin configuration.
         
         This module defines the top level container for
         all 'console' commands for Sysadmin.
         
         Copyright (c) 2015-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-01-31" {
          description
            "Changed the namespace and module name";
        }
    
        revision "2015-04-01" {
          description
            "Created initial 'console' refactorization";
        }
    
        semver:module-version "1.0.0";
    
        container console {
          container config {
            container attach-sdr {
              container runtime {
                list location {
                  key "location-rp";
                  leaf location-rp {
                    type string {
                      pattern
                        '((0?[0-9]|1[1-5]|([bB]|[dD])\d)/(([rR][pP]|[cC][bB])\d{1,2}))(/[cC][pP][uU]0)?';
                    }
                  }
    
                  list tty-name {
                    key "ttyname";
                    leaf ttyname {
                      type string {
                        length "1..30";
                        pattern
                          'console1|console2';
                      }
                    }
    
                    leaf sdr-name {
                      type string {
                        length "1..30";
                        pattern
                          '[a-zA-Z0-9_.{}+-]+';
                      }
                    }
                  }  // list tty-name
                }  // list location
              }  // container runtime
    
              container boot {
                list location {
                  key "location-rp";
                  leaf location-rp {
                    type string {
                      pattern
                        '((0?[0-9]|1[1-5]|([bB]|[dD])\d)/(([rR][pP]|[cC][bB])\d{1,2}))(/[cC][pP][uU]0)?';
                    }
                  }
    
                  leaf sdr-name {
                    type string {
                      length "1..30";
                      pattern
                        '[a-zA-Z0-9_.{}+-]+';
                    }
                  }
                }  // list location
              }  // container boot
            }  // container attach-sdr
          }  // container config
        }  // container console
      }  // module Cisco-IOS-XR-sysadmin-console
    

© 2023 YumaWorks, Inc. All rights reserved.