Cisco-IOS-XR-sysadmin-types

This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. This module contains a collectio...

  • Version: 2019-12-15

    Cisco-IOS-XR-sysadmin-types@2019-12-15


    
      module Cisco-IOS-XR-sysadmin-types {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-types";
    
        prefix calvados_types;
    
        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 contains a collection of derived
    YANG data types specific to Sysadmin.
    
    Copyright (c) 2011-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2019-12-15" {
          description "Required changes for DDC";
        }
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-04-09" {
          description
            "Required changes for ConfD 6.4.5";
        }
    
        revision "2017-01-31" {
          description
            "Changed the namespace and module name";
        }
    
        revision "2011-06-24" {
          description "Initial revision";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef rack-id {
          type enumeration {
            enum "L0" {
              value 0;
            }
            enum "L1" {
              value 1;
            }
            enum "L2" {
              value 2;
            }
            enum "L3" {
              value 3;
            }
            enum "L4" {
              value 4;
            }
            enum "L5" {
              value 5;
            }
            enum "L6" {
              value 6;
            }
            enum "L7" {
              value 7;
            }
            enum "L8" {
              value 8;
            }
            enum "L9" {
              value 9;
            }
            enum "L10" {
              value 10;
            }
            enum "L11" {
              value 11;
            }
            enum "L12" {
              value 12;
            }
            enum "L13" {
              value 13;
            }
            enum "L14" {
              value 14;
            }
            enum "L15" {
              value 15;
            }
            enum "L16" {
              value 16;
            }
            enum "L17" {
              value 17;
            }
            enum "L18" {
              value 18;
            }
            enum "L19" {
              value 19;
            }
            enum "L20" {
              value 20;
            }
            enum "L30" {
              value 21;
            }
            enum "L31" {
              value 22;
            }
            enum "L32" {
              value 23;
            }
            enum "L33" {
              value 24;
            }
            enum "L34" {
              value 25;
            }
            enum "L35" {
              value 26;
            }
            enum "L36" {
              value 27;
            }
            enum "L37" {
              value 28;
            }
            enum "L38" {
              value 29;
            }
            enum "L39" {
              value 30;
            }
            enum "L40" {
              value 31;
            }
            enum "L41" {
              value 32;
            }
            enum "L42" {
              value 33;
            }
            enum "L43" {
              value 34;
            }
            enum "L44" {
              value 35;
            }
            enum "L45" {
              value 36;
            }
            enum "L46" {
              value 37;
            }
            enum "L47" {
              value 38;
            }
            enum "F0" {
              value 39;
            }
            enum "F1" {
              value 40;
            }
            enum "F2" {
              value 41;
            }
            enum "F3" {
              value 42;
            }
            enum "F4" {
              value 43;
            }
            enum "F5" {
              value 44;
            }
            enum "F6" {
              value 45;
            }
            enum "B0" {
              value 46;
            }
            enum "B1" {
              value 47;
            }
            enum "D0" {
              value 48;
            }
            enum "D1" {
              value 49;
            }
            enum "E0" {
              value 50;
            }
            enum "E1" {
              value 51;
            }
            enum "E2" {
              value 52;
            }
            enum "E3" {
              value 53;
            }
          }
          description
            "Identifies the rack number of FCC/LCC.
    LCC racks are identified by numbers rack0..47
    FCC racks are identified by numbers F0..F6
    BSC racks are identified by numbers 128..129";
        }
    
        typedef slot-id {
          type int32 {
            range "0..15";
          }
          description
            "Identifies a slot number within a rack";
        }
    
        typedef ce-portid {
          type string {
            pattern
              '(0?[0-9]|1[1-5]|F[0-3])/(0?[0-9]|1[1-5])/(0?[0-9]|[1-5][0-9])';
          }
        }
    
        typedef plane-id {
          type uint32 {
            range "0..7";
          }
          description "fabric plane identifier";
        }
    
        typedef sfe-id {
          type int32 {
            range "1..16";
          }
          description
            "falafel device identifier";
        }
    
        typedef adminstate {
          type enumeration {
            enum "disable" {
              value 0;
            }
          }
        }
    
        typedef generic-oper-status {
          type enumeration {
            enum "up" {
              value 0;
            }
            enum "down" {
              value 1;
            }
          }
        }
    
        typedef sfe-oper-state {
          type generic-oper-status;
        }
    
        typedef ce-oper-state {
          type generic-oper-status;
        }
    
        typedef generic-ha-role {
          type enumeration {
            enum "no-ha-role" {
              value 0;
            }
            enum "Active" {
              value 1;
            }
            enum "Standby" {
              value 2;
            }
          }
        }
    
        typedef fabric-link-types {
          type enumeration {
            enum "S1" {
              value 0;
            }
            enum "S2" {
              value 1;
            }
            enum "S3" {
              value 2;
            }
          }
        }
    
        typedef location-id {
          type string {
            pattern
              '((([bB][0-9])/(([a-zA-Z]){2}\d{1,2}))|(([fF][0-6])/(([a-zA-Z]){2}\d{1,2}))|(([dD][0-1])/(([a-zA-Z]){2}\d{1,2}))|(([eE][0-3])/(([a-zA-Z]){2}\d{1,2}))|((0?[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-7])/((([a-zA-Z]){2,3})?\d{1,2})))(/[cC][pP][uU]0)?';
          }
          description "location identifier";
        }
      }  // module Cisco-IOS-XR-sysadmin-types
    

© 2023 YumaWorks, Inc. All rights reserved.