Cisco-IOS-XR-sysadmin-ethsw-esdma-types

This module contains the YANG enumerated type definitions used by the Cisco IOS-XR SysAdmin Control Ethernet commands. Copyrigh...

  • Version: 2020-12-22

    Cisco-IOS-XR-sysadmin-ethsw-esdma-types@2020-12-22


    
      module Cisco-IOS-XR-sysadmin-ethsw-esdma-types {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-ethsw-esdma-types";
    
        prefix esdma_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 the YANG enumerated type
    definitions used by the Cisco IOS-XR SysAdmin
    Control Ethernet commands.
    
    Copyright (c) 2011-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-12-22" {
          description
            "Added a string type for bcm diag shell cli
    2020-09-30
      Changed fdb port range value
    2020-01-20
      Added additional esdma-rack-nums to support Whitebox topology";
        }
    
        revision "2019-09-20" {
          description
            "Added esdma-switch_type-lc-sw1 to support the 2nd Aldrin swicth on asr9k 9903 LC";
        }
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-10-26" {
          description
            "Added esdma-switch-port-type to support fdb-port range";
        }
    
        revision "2018-02-28" {
          description
            "Added esdma-switch_type-rp-sw1 to support the 2nd Aldrin swicth on asr9k RP3";
        }
    
        revision "2017-05-01" {
          description
            "Namespace change to comply with Cisco guidelines on namespace";
        }
    
        revision "2016-07-06" {
          description
            "Initial revision with content extracted from esdma_cli.yang.";
        }
    
        semver:module-version "1.2.0";
        semver:module-version "1.1.0";
        semver:module-version "1.1.0";
    
        typedef esdma-rack-type-enum {
          type enumeration {
            enum "Unknown" {
              value 0;
            }
            enum "FCC" {
              value 1;
            }
            enum "LCC" {
              value 2;
            }
            enum "BSC" {
              value 3;
            }
            enum "COMPUTE" {
              value 4;
            }
            enum "ESC" {
              value 5;
            }
          }
          description
            "The valid chassis types supported supported in Sysadmin.";
        }
    
        typedef esdma-rack-num-enum {
          type enumeration {
            enum "0" {
              value 0;
            }
            enum "1" {
              value 1;
            }
            enum "2" {
              value 2;
            }
            enum "3" {
              value 3;
            }
            enum "4" {
              value 4;
            }
            enum "5" {
              value 5;
            }
            enum "6" {
              value 6;
            }
            enum "7" {
              value 7;
            }
            enum "8" {
              value 8;
            }
            enum "9" {
              value 9;
            }
            enum "10" {
              value 10;
            }
            enum "11" {
              value 11;
            }
            enum "12" {
              value 12;
            }
            enum "13" {
              value 13;
            }
            enum "14" {
              value 14;
            }
            enum "15" {
              value 15;
            }
            enum "16" {
              value 16;
            }
            enum "17" {
              value 17;
            }
            enum "18" {
              value 18;
            }
            enum "19" {
              value 19;
            }
            enum "20" {
              value 20;
            }
            enum "21" {
              value 21;
            }
            enum "22" {
              value 22;
            }
            enum "23" {
              value 23;
            }
            enum "24" {
              value 24;
            }
            enum "25" {
              value 25;
            }
            enum "26" {
              value 26;
            }
            enum "27" {
              value 27;
            }
            enum "28" {
              value 28;
            }
            enum "29" {
              value 29;
            }
            enum "30" {
              value 30;
            }
            enum "31" {
              value 31;
            }
            enum "32" {
              value 32;
            }
            enum "33" {
              value 33;
            }
            enum "34" {
              value 34;
            }
            enum "35" {
              value 35;
            }
            enum "36" {
              value 36;
            }
            enum "37" {
              value 37;
            }
            enum "38" {
              value 38;
            }
            enum "39" {
              value 39;
            }
            enum "40" {
              value 40;
            }
            enum "41" {
              value 41;
            }
            enum "42" {
              value 42;
            }
            enum "43" {
              value 43;
            }
            enum "44" {
              value 44;
            }
            enum "45" {
              value 45;
            }
            enum "46" {
              value 46;
            }
            enum "47" {
              value 47;
            }
            enum "F0" {
              value 48;
            }
            enum "F1" {
              value 49;
            }
            enum "F2" {
              value 50;
            }
            enum "F3" {
              value 51;
            }
            enum "F4" {
              value 52;
            }
            enum "F5" {
              value 53;
            }
            enum "F6" {
              value 54;
            }
            enum "F7" {
              value 55;
            }
            enum "F8" {
              value 56;
            }
            enum "F9" {
              value 57;
            }
            enum "F10" {
              value 58;
            }
            enum "F11" {
              value 59;
            }
            enum "F12" {
              value 60;
            }
            enum "B0" {
              value 61;
            }
            enum "B1" {
              value 62;
            }
            enum "D0" {
              value 63;
            }
            enum "D1" {
              value 64;
            }
            enum "E0" {
              value 65;
            }
            enum "E1" {
              value 66;
            }
            enum "E2" {
              value 67;
            }
            enum "E3" {
              value 68;
            }
          }
          description
            "The valid rack numbers supported in Sysadmin.";
        }
    
        typedef esdma-cpu {
          type enumeration {
            enum "Unknown" {
              value 0;
            }
            enum "RP0" {
              value 1;
            }
            enum "RP1" {
              value 2;
            }
            enum "SC0" {
              value 3;
            }
            enum "SC1" {
              value 4;
            }
            enum "LC0" {
              value 5;
            }
            enum "LC1" {
              value 6;
            }
            enum "LC2" {
              value 7;
            }
            enum "LC3" {
              value 8;
            }
            enum "LC4" {
              value 9;
            }
            enum "LC5" {
              value 10;
            }
            enum "LC6" {
              value 11;
            }
            enum "LC7" {
              value 12;
            }
            enum "LC8" {
              value 13;
            }
            enum "LC9" {
              value 14;
            }
            enum "LC10" {
              value 15;
            }
            enum "LC11" {
              value 16;
            }
            enum "LC12" {
              value 17;
            }
            enum "LC13" {
              value 18;
            }
            enum "LC14" {
              value 19;
            }
            enum "LC15" {
              value 20;
            }
            enum "LC16" {
              value 21;
            }
            enum "LC17" {
              value 22;
            }
            enum "LC18" {
              value 23;
            }
            enum "LC19" {
              value 24;
            }
            enum "FC0" {
              value 25;
            }
            enum "FC1" {
              value 26;
            }
            enum "FC2" {
              value 27;
            }
            enum "FC3" {
              value 28;
            }
            enum "FC4" {
              value 29;
            }
            enum "FC5" {
              value 30;
            }
            enum "CB0" {
              value 31;
            }
            enum "SW0" {
              value 32;
            }
          }
          description
            "The set of CPU enumerations that have control plane Ethernet switches or run the MLAP protocol.";
        }
    
        typedef esdma-switch-type-enum {
          type enumeration {
            enum "RP-SW" {
              value 0;
            }
            enum "SC-SW" {
              value 1;
            }
            enum "LC-SW" {
              value 2;
            }
            enum "F-SW0" {
              value 3;
            }
            enum "F-SW1" {
              value 4;
            }
            enum "FC-SW" {
              value 5;
            }
            enum "EOBC-SW" {
              value 6;
            }
            enum "EPC-SW" {
              value 7;
            }
            enum "CB-SW" {
              value 8;
            }
            enum "Unknown" {
              value 9;
            }
            enum "RP-SW1" {
              value 10;
            }
            enum "LC-SW1" {
              value 11;
            }
            enum "E-SW" {
              value 12;
            }
          }
          description
            "The list of Ethernet switch types";
        }
    
        typedef esdma-switch-yes-no-enum {
          type enumeration {
            enum "Yes" {
              value 0;
            }
            enum "No" {
              value 1;
            }
          }
        }
    
        typedef esdma-switch-sfp-inserted-enum {
          type enumeration {
            enum "Unknown" {
              value 0;
            }
            enum "Yes" {
              value 1;
            }
            enum "No" {
              value 2;
            }
            enum "Failed" {
              value 3;
            }
          }
        }
    
        typedef esdma-switch-sfp-controller-enum {
          type enumeration {
            enum "Unknown" {
              value 0;
            }
            enum "Switch" {
              value 1;
            }
            enum "PHY" {
              value 2;
            }
          }
        }
    
        typedef esdma-switch-sfp-tranceiver-type-enum {
          type enumeration {
            enum "Unspecified" {
              value 0;
            }
            enum "SFP" {
              value 1;
            }
            enum "QSFP" {
              value 2;
            }
            enum "Unknown" {
              value 3;
            }
          }
        }
    
        typedef esdma-sfp-encoding-enum {
          type enumeration {
            enum "Unspecified" {
              value 0;
            }
            enum "8B/10B" {
              value 1;
            }
            enum "4B/5B" {
              value 2;
            }
            enum "NRZ" {
              value 3;
            }
            enum "Manchester" {
              value 4;
            }
            enum "SONET Scrambled" {
              value 5;
            }
            enum "64B/66B" {
              value 6;
            }
            enum "Unknown" {
              value 7;
            }
          }
        }
    
        typedef esdma-qsfp-transceiver-enum {
          type enumeration {
            enum "QSFP-40G-LR4" {
              value 0;
            }
            enum "QSFP-40G-SR4" {
              value 1;
            }
            enum "QSFP-40G-CR4-Active" {
              value 2;
            }
            enum "QSFP-40G-CR4-Passive" {
              value 3;
            }
            enum "QSFP-100G-LR4" {
              value 4;
            }
            enum "QSFP-100G-SR4" {
              value 5;
            }
            enum "QSFP-100G-AOC" {
              value 6;
            }
            enum "QSFP-100G-DAC" {
              value 7;
            }
            enum "Unknown" {
              value 8;
            }
          }
        }
    
        typedef esdma-switch-sfp-type-enum {
          type enumeration {
            enum "None" {
              value 0;
            }
            enum "SFP-10G-SR" {
              value 1;
            }
            enum "SFP-10G-LR" {
              value 2;
            }
            enum "SFP-10G-LRM" {
              value 3;
            }
            enum "SFP-1G-SX" {
              value 4;
            }
            enum "SFP-1G-LX" {
              value 5;
            }
            enum "SFP-1000Base-T" {
              value 6;
            }
            enum "SFP-40G-SR4" {
              value 7;
            }
            enum "SFP-40G-LR4" {
              value 8;
            }
            enum "Unsupported" {
              value 9;
            }
            enum "SFP-10G-CU3M" {
              value 10;
            }
            enum "SFP-100G-SR4" {
              value 11;
            }
            enum "SFP-100G-LR4" {
              value 12;
            }
            enum "SFP-100G-AOC" {
              value 13;
            }
            enum "SFP-100G-DAC" {
              value 14;
            }
          }
        }
    
        typedef esdma-switch-port-type {
          type int32 {
            range "0..127";
          }
          description
            "A type defining the allowable switch port numbers";
        }
    
        typedef esdma-switch-fdb-ports {
          type int32 {
            range "-1..256";
          }
          description
            "A type defining the allowable switch fdb port numbers";
        }
    
        typedef esdma-switch-port-state {
          type enumeration {
            enum "Unknown" {
              value 0;
            }
            enum "Test" {
              value 1;
            }
            enum "Down" {
              value 2;
            }
            enum "Up" {
              value 3;
            }
          }
          description
            "The switch port up and down states";
        }
    
        typedef switch-forwarding-state {
          type enumeration {
            enum "Unknown" {
              value 0;
            }
            enum "-" {
              value 1;
            }
            enum "Disabled" {
              value 2;
            }
            enum "Blocking" {
              value 3;
            }
            enum "Learning" {
              value 4;
            }
            enum "Forwarding" {
              value 5;
            }
          }
          description
            "The set of switch port forwarding states";
        }
    
        typedef switch-traffic-class-enum {
          type int8 {
            range "-1..7";
          }
        }
    
        typedef esdma-sdr-id {
          type uint8;
        }
    
        typedef esd-cir-eir-type {
          type enumeration {
            enum "CIR" {
              value 0;
            }
            enum "PIR" {
              value 1;
            }
          }
        }
    
        typedef esd-percentage {
          type uint8 {
            range "0..100";
          }
        }
    
        typedef mlap-ep-type {
          type enumeration {
            enum "Unknown" {
              value 0;
            }
            enum "RP" {
              value 1;
            }
            enum "SC" {
              value 2;
            }
            enum "FC" {
              value 3;
            }
            enum "LC" {
              value 4;
            }
            enum "F-SW" {
              value 5;
            }
            enum "CB" {
              value 6;
            }
            enum "SW" {
              value 7;
            }
          }
        }
    
        typedef mlap-state-enum {
          type enumeration {
            enum "-" {
              value 0;
            }
            enum "Down" {
              value 1;
            }
            enum "Up" {
              value 2;
            }
            enum "Admin Down" {
              value 3;
            }
            enum "Do Not Use" {
              value 4;
            }
            enum "Invalid" {
              value 5;
            }
            enum "Active" {
              value 6;
            }
            enum "Standby" {
              value 7;
            }
            enum "Rem Managed" {
              value 8;
            }
          }
          description
            "The set of enumerated values that MLAP uses to manage a port's protocol state";
        }
    
        typedef mlap-protocol-enum {
          type enumeration {
            enum "Internal" {
              value 0;
            }
            enum "External" {
              value 1;
            }
          }
          description
            "The types of MLAP protocol";
        }
    
        typedef mlap-trace-verbosity {
          type enumeration {
            enum "Off" {
              value 0;
            }
            enum "Low" {
              value 1;
            }
            enum "Medium" {
              value 2;
            }
            enum "High" {
              value 3;
            }
          }
        }
    
        typedef vlan-id-type {
          type uint16 {
            range "0..4095";
          }
        }
    
        typedef switch-data-direction-enum {
          type enumeration {
            enum "-" {
              value 0;
            }
            enum "Both" {
              value 1;
            }
            enum "Rx" {
              value 2;
            }
            enum "Tx" {
              value 3;
            }
            enum "Unknown" {
              value 4;
            }
            enum "Invalid" {
              value 5;
            }
          }
          description "Switch data direction";
        }
    
        typedef switch-table-type-enum {
          type enumeration {
            enum "-" {
              value 0;
            }
            enum "Port" {
              value 1;
            }
            enum "VLAN" {
              value 2;
            }
            enum "TCAM" {
              value 3;
            }
            enum "Unknown" {
              value 4;
            }
          }
        }
    
        typedef switch-match-type-enum {
          type enumeration {
            enum "-" {
              value 0;
            }
            enum "Any" {
              value 1;
            }
            enum "Tagged" {
              value 2;
            }
            enum "Untagged" {
              value 3;
            }
            enum "Unknown" {
              value 4;
            }
          }
        }
    
        typedef switch-action-type-enum {
          type enumeration {
            enum "-" {
              value 0;
            }
            enum "Translate" {
              value 1;
            }
            enum "Remove Outer" {
              value 2;
            }
            enum "Add Outer" {
              value 3;
            }
            enum "Drop" {
              value 4;
            }
            enum "Forward" {
              value 5;
            }
            enum "Unknown" {
              value 6;
            }
          }
        }
    
        typedef esdma-sdr-traffic-type {
          type enumeration {
            enum "Unknown" {
              value 0;
            }
            enum "IPC" {
              value 1;
            }
            enum "MgmtEth" {
              value 2;
            }
            enum "All" {
              value 3;
            }
            enum "Invalid" {
              value 4;
            }
          }
        }
    
        typedef esdma-trunk-member-status {
          type enumeration {
            enum "Disabled" {
              value 0;
            }
            enum "Enabled" {
              value 1;
            }
            enum "-" {
              value 2;
            }
          }
        }
    
        typedef esdma_diag_shell_cmd_type {
          type string;
        }
      }  // module Cisco-IOS-XR-sysadmin-ethsw-esdma-types
    

© 2023 YumaWorks, Inc. All rights reserved.