junos-nfx-rpc-chassis

Junos RPC YANG module for chassis command(s)

  • Version: 2019-01-01

    junos-nfx-rpc-chassis@2019-01-01


    
      module junos-nfx-rpc-chassis {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-nfx/rpc/chassis";
    
        prefix chassis;
    
        import junos-common-types {
          prefix jt;
          revision-date "2019-01-01";
        }
    
        organization "Juniper Networks, Inc.";
    
        contact "yang-support@juniper.net";
    
        description
          "Junos RPC YANG module for chassis command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-personality-information {
          description
            "Show chassis's current personality";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml personality-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-personality-information
    
        rpc get-uft-information {
          description
            "Show member's current UFT configuration";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml uft-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-uft-information
    
        rpc get-system-mode-information {
          description
            "Show member's current system-mode configuration";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-mode-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-mode-information
    
        rpc get-power-usage-information {
          description
            "Show Chassis Power Usages";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml power-usage-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-power-usage-information
    
        rpc get-power-usage-information-detail {
          description
            "Show chassis power usage detail";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml power-usage-information-detail {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-power-usage-information-detail
    
        rpc get-fru-power-on-sequence {
          description
            "Show chassis fru power on sequence";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fru-power-on-sequence {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fru-power-on-sequence
    
        rpc get-alarm-information {
          description "Show alarm status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml alarm-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-alarm-information
    
        rpc get-fpc-alarm-information {
          description
            "Show alarm status for a FPC";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description
                "Flexible PIC Controller slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml alarm-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-alarm-information
    
        rpc get-chassis-alarm-satellite-information {
          description
            "Show alarm status for satellite devices";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-alarm-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-alarm-satellite-information
    
        rpc get-jam-test-information {
          description "Show Jam API test result";
          input {
            leaf detail {
              type empty;
              description
                "Display detailed output";
            }
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml jam-test-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-jam-test-information
    
        rpc get-chassis-errors {
          description "Show chassis errors";
          input {
            leaf error-id {
              type string {
                length "1 .. 255";
              }
              mandatory true;
              description
                "Error identifier for the error to be cleared";
            }
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "Slot number of FPC";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-errors
    
        rpc get-chassis-active-errors {
          description "Show active errors";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Slot number of FPC";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-active-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-active-errors
    
        rpc get-active-error-information-detail {
          description "Show detailed output";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Slot number of FPC";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-errors-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-active-error-information-detail
    
        rpc get-chassis-beacon-information {
          description "Show beacon status";
          input {
            choice which-arg {
              leaf all {
                type enumeration {
                  enum "off" {
                    value 0;
                    description
                      "Beacons in OFF state";
                  }
                  enum "on" {
                    value 1;
                    description
                      "Beacons in ON state";
                  }
                }
                description
                  "Beacons in ON/OFF state";
              }
              leaf fpc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Flexible PIC Controller slot number";
              }
              leaf cb {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Control Board slot number";
              }
              leaf service-node {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Service Node slot number";
              }
            }  // choice which-arg
    
            leaf pic-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "PIC slot number";
            }
    
            choice port-num {
              leaf port {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Port number";
              }
              leaf port-range {
                type empty;
                description "Port range";
              }
            }  // choice port-num
    
            leaf lower-limit {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Port range lower limit";
            }
    
            leaf upper-limit {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Port range upper limit";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-beacon-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-beacon-information
    
        rpc network-services {
          description
            "Show chassis network services";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml network-services {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc network-services
    
        rpc ambient-temperature {
          description
            "Show chassis ambient temperature";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ambient-temperature {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc ambient-temperature
    
        rpc get-clock-synchronization-information {
          description
            "Show clock synchronization information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf interface {
              type string;
              description
                "Name of physical interface";
            }
    
            leaf extensive {
              type empty;
              description
                "Show clock synchronization information in detail";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml clock-synchronization-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-clock-synchronization-information
    
        rpc get-chassis-clock-synchronization-gru {
          description
            "Show GPS Receiver Unit related parameters";
          input {
            leaf extensive {
              type empty;
              description
                "Show detailed GPS Receiver Unit information";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml clock-synchronization-gru {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-clock-synchronization-gru
    
        rpc get-craft-information {
          description
            "Show craft interface status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml craft-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-craft-information
    
        rpc get-ethernet-switch-information {
          description
            "Show Ethernet switch information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf ethernet-switch-type {
              type enumeration {
                enum
                  "get-ethernet-switch-cb-information" {
                  value 0;
                  description
                    "Show Ethernet switch Control Board information";
                }
                enum
                  "get-ethernet-switch-fpc-information" {
                  value 1;
                  description
                    "Show Ethernet switch Front Card information";
                }
              }
              mandatory true;
              description
                "Show Ethernet switch information";
            }
    
            leaf detail {
              type empty;
              description
                "Show Ethernet switch traffic statistics";
            }
    
            leaf port {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "1 .. 28";
                }
              }
              description "Port number";
            }
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 7";
                }
              }
              description
                "Front card FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ethernet-switch-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switch-information
    
        rpc get-ethernet-switch-statistics-information {
          description
            "Show Ethernet switch traffic statistics";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf switch {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Switch number";
            }
    
            leaf port {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Port number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ethernet-switch-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switch-statistics-information
    
        rpc get-ethernet-switch-error-information {
          description
            "Show accumulated Ethernet switch errors";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf switch {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Switch number";
            }
    
            leaf port {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Port number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ethernet-switch-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ethernet-switch-error-information
    
        rpc get-re-redundancy-information {
          description
            "Show RE failover redundancy information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml re-redundancy-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-re-redundancy-information
    
        rpc get-feb-redundancy-information {
          description
            "Show Forwarding Engine Board redundancy information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml feb-redundancy-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-feb-redundancy-information
    
        rpc get-feb-redundancy-error-information {
          description "Show error information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml feb-redundancy-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-feb-redundancy-error-information
    
        rpc get-feb-redundancy-group-information {
          description
            "Show FEB redundancy group information";
          input {
            leaf group {
              type string;
              mandatory true;
              description
                "Name of FEB redundancy group";
            }
    
            leaf errors {
              type empty;
              description
                "Include error information";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml feb-redundancy-group-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-feb-redundancy-group-information
    
        rpc get-fpc-feb-connectivity-information {
          description
            "Show connectivity between Flexible PIC Concentrators and Forwarding Engine boards";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-feb-connectivity {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-feb-connectivity-information
    
        rpc get-ioc-npc-connectivity-information {
          description
            "Show connectivity between IOC and NPC";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ioc-npc-connectivity {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ioc-npc-connectivity-information
    
        rpc get-chassis-memory-usage-chassisd {
          description
            "Dump LMLD data to /var/log/chassisd_memory_usage";
          input {
            leaf root {
              type string;
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-memory-usage-chassisd
    
        rpc get-chassis-zones-information {
          description
            "Show chassis cooling zones information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf detail {
              type empty;
              description
                "Display detailed output";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-zones-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-zones-information
    
        rpc get-environment-information {
          description
            "Show component status and temperature, cooling system speeds";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf monitored {
              type empty;
              description
                "Show items whose temperatures are monitored";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-information
    
        rpc get-environment-sib-information {
          description
            "Show Switch Interface Board information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf sib-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-sib-information
    
        rpc get-environment-fan-information {
          description "Show fan status";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 6";
                }
              }
              description "Fantray slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fan-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-fan-information
    
        rpc get-environment-fpc-information {
          description
            "Show Flexible PIC Concentrator information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-fpc-information
    
        rpc get-chassis-environment-fpc-satellite-info {
          description
            "Show environment FPC details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-environment-fpc-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-environment-fpc-satellite-info
    
        rpc get-environment-fpm-information {
          description
            "Show craft interface information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-fpm-information
    
        rpc get-environment-mcs-information {
          description
            "Show Miscellaneous Control Subsystem information";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description "MCS slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-mcs-information
    
        rpc get-environment-pcg-information {
          description
            "Show Packet Forwarding Engine Clock Generator information";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description "PCG slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-pcg-information
    
        rpc get-environment-scg-information {
          description
            "Show SONET Clock Generator information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description "SCG slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-scg-information
    
        rpc get-environment-ccg-information {
          description
            "Show clock generator information";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description "CCG slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-ccg-information
    
        rpc get-environment-cb-information {
          description
            "Show Control Board information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "CB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-cb-information
    
        rpc get-environment-psu-information {
          description
            "Show Power Supply Unit information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "PSU slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-psu-information
    
        rpc get-environment-power-supply-unit-information {
          description
            "Show power supply unit information";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-power-supply-unit-information
    
        rpc get-environment-pem-information {
          description
            "Show Power Entry Module information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "PEM slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-pem-information
    
        rpc get-chassis-environment-pem-satellite-info {
          description
            "Show environment PEM details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-environment-pem-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-environment-pem-satellite-info
    
        rpc get-environment-psm-information {
          description
            "Show Power Supply Module information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "PSM slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-psm-information
    
        rpc get-environment-sfb-information {
          description "Show SFB status";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf sfb-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 7";
                }
              }
              description "SFB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml sfb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-sfb-information
    
        rpc get-environment-adc-information {
          description "Show adc status";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf adc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "ADC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml sfb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-adc-information
    
        rpc get-environment-pdu-information {
          description
            "Show Power Distribution Unit information";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 3";
                }
              }
              description "PDU slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-pdu-information
    
        rpc get-environment-re-information {
          description
            "Show Routing Engine information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Routing Engine slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-re-information
    
        rpc get-chassis-environment-re-satellite-info {
          description
            "Show environment routing engine details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-environment-routing-engine-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-environment-re-satellite-info
    
        rpc get-environment-sfm-information {
          description
            "Show Switching and Forwarding Module information";
          input {
            leaf sfm_plane {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SFM slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-sfm-information
    
        rpc get-environment-feb-information {
          description
            "Show Forwarding Engine Board information";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FEB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-feb-information
    
        rpc get-environment-cip-information {
          description
            "Show Connector Interface Panel Information";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description "CIP slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-cip-information
    
        rpc get-environment-service-node-information {
          description
            "Show Compute Node Environment information";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description
                "Service node slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml environment-component-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-environment-service-node-information
    
        rpc get-chassis-environment-satellite-information {
          description "Show environment details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-environment-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-environment-satellite-information
    
        rpc get-firmware-information {
          description
            "Show firmware and operating system version for components";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Flexible PIC Controller slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml firmware-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-firmware-information
    
        rpc get-firmware-information-detail {
          description "Show detailed output";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml hardware-version-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-firmware-information-detail
    
        rpc get-chassis-firmware-satellite-information {
          description
            "Show FPC firmware details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-firmware-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-firmware-satellite-information
    
        rpc get-usb-storage-status {
          description "Show USB storage status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml usb-storage-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-usb-storage-status
    
        rpc get-fpc-information {
          description
            "Show Flexible PIC Concentrator status";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf detail {
              type empty;
              description
                "Display detailed output";
            }
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-information
    
        rpc get-pic-information {
          description
            "Show Physical Interface Cards installed in FPC";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-pic-information
    
        rpc get-fpc-ether-types-information {
          description "Show Ether Types";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-ether-types-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-ether-types-information
    
        rpc get-fpc-port-information {
          description
            "Show Port status installed in FPC";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-port-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-port-information
    
        rpc get-fpc-error-information {
          description
            "Show ASIC errors on all the FPC's";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
    
            leaf detail {
              type empty;
              description
                "Display detailed output";
            }
    
            leaf scope {
              type enumeration {
                enum "board" {
                  value 0;
                  description
                    "Show board errors";
                }
                enum "pfe" {
                  value 1;
                  description "Show pfe errors";
                }
              }
              description "Error scope";
            }
    
            leaf category {
              type enumeration {
                enum "functional" {
                  value 0;
                  description
                    "Functional category errors";
                }
                enum "memory" {
                  value 1;
                  description
                    "Memory category errors";
                }
                enum "io" {
                  value 2;
                  description
                    "Io category errors";
                }
                enum "storage" {
                  value 3;
                  description
                    "Storage category errors";
                }
                enum "switch" {
                  value 4;
                  description
                    "Switch category errors";
                }
                enum "processing" {
                  value 5;
                  description
                    "Processing category errors";
                }
              }
              description "Error category";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-error-information
    
        rpc get-fpc-error-i2c {
          description
            "Display I2C error statistics";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-tvp-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-error-i2c
    
        rpc get-fpc-optical-information {
          description
            "Show optical properties of the card";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-information
    
        rpc get-fpc-optical-mfg-info-information {
          description
            "Show mfg-info of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-mfg-info-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-mfg-info-information
    
        rpc get-fpc-optical-status-information {
          description
            "Show status of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-status-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-status-information
    
        rpc get-fpc-optical-alarms-information {
          description
            "Show alarms of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-alarms-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-alarms-information
    
        rpc get-fpc-optical-edfa-information {
          description
            "Show edfa of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-edfa-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-edfa-information
    
        rpc get-fpc-optical-ocm-information {
          description
            "Show ocm of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ocm-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ocm-information
    
        rpc get-fpc-optical-wss-information {
          description
            "Show wss of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-wss-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-wss-information
    
        rpc get-fpc-optical-pm-current-information {
          description
            "Show pm-current of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-pm-current-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-pm-current-information
    
        rpc get-fpc-optical-pm-interval-information {
          description
            "Show pm-interval of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-pm-interval-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-pm-interval-information
    
        rpc get-fpc-optical-pm-currentday-information {
          description
            "Show pm-currentday of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-pm-currentday-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-pm-currentday-information
    
        rpc get-fpc-optical-pm-previousday-information {
          description
            "Show pm-previousday of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-pm-previousday-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-pm-previousday-information
    
        rpc get-fpc-optical-amplifier-topology-information {
          description
            "Show amplifier-topology of optical module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-amplifier-topology-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-amplifier-topology-information
    
        rpc get-fpc-optical-topology-information {
          description
            "Show IPLC Topology Information";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf detail {
              type empty;
              description
                "Show IPLC Topology Detailed Information";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-topology-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-topology-information
    
        rpc get-fpc-optical-amplifier-chain-information {
          description
            "Show in-line amplifier amplifier-chain information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-amplifier-chain-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-amplifier-chain-information
    
        rpc get-fpc-optical-ila-summary-information {
          description
            "Show summary of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-summary-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-summary-information
    
        rpc get-fpc-optical-ila-edfa-information {
          description "Show edfa of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-edfa-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-edfa-information
    
        rpc get-fpc-optical-ila-osc-information {
          description "Show osc of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-osc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-osc-information
    
        rpc get-fpc-optical-ila-voa-information {
          description "Show voa of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-voa-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-voa-information
    
        rpc get-fpc-optical-ila-alarms-information {
          description
            "Show alarms of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-alarms-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-alarms-information
    
        rpc get-fpc-optical-ila-pm-current-information {
          description
            "Show pm-current of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-pm-current-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-pm-current-information
    
        rpc get-fpc-optical-ila-pm-interval-information {
          description
            "Show pm-interval of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-pm-interval-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-pm-interval-information
    
        rpc get-fpc-optical-ila-pm-currentday-information {
          description
            "Show pm-currentday of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-pm-currentday-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-pm-currentday-information
    
        rpc get-fpc-optical-ila-pm-previousday-information {
          description
            "Show pm-previousday of ila module";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf ila-number {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "In-line amplifier number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-optical-ila-pm-previousday-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-optical-ila-pm-previousday-information
    
        rpc get-global-pfe-id {
          description "Show Global PFE IDs";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml global-pfe-id-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-global-pfe-id
    
        rpc get-adc-information {
          description "Show ADC status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml adc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-adc-information
    
        rpc get-vcpu-information {
          description
            "Show Visibility CPU status";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf detail {
              type empty;
              description
                "Display detailed output";
            }
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "VCPU slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vcpu-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-vcpu-information
    
        rpc get-pic-detail {
          description
            "Show Physical Interface Card state, type, and uptime";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Slot number of FPC that houses PIC";
            }
    
            leaf pic-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              mandatory true;
              description "PIC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fpc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-pic-detail
    
        rpc get-pic-transport-information {
          description
            "Show Physical Interface Card transport information";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description
                "Slot number of FPC that houses PIC";
            }
    
            leaf pic-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              mandatory true;
              description "PIC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml pic-transport-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-pic-transport-information
    
        rpc get-spmb-information {
          description
            "Show Switch Processor Mezzanine Board status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml spmb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-spmb-information
    
        rpc get-spmb-sib-information {
          description
            "Show Switch Interface Board status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml sib-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-spmb-sib-information
    
        rpc get-spmb-error-information {
          description "Show errors on SPMB";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml spmb-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-spmb-error-information
    
        rpc get-sib-information {
          description
            "Show Switch Interface Board status";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf detail {
              type empty;
              description
                "Display detailed output";
            }
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml sib-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sib-information
    
        rpc get-sibs-errors {
          description "Show ASIC errors on sib";
          input {
            leaf sib-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml sib-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sibs-errors
    
        rpc get-sfb-information {
          description
            "Show Switch Fabric Board status";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SFB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml sfb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sfb-information
    
        rpc get-sfb-errors {
          description "Show ASIC errors on sfb";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SFB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml sfb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sfb-errors
    
        rpc get-fru-information {
          description
            "Show Line Card Chassis (LCC) status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fru-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fru-information
    
        rpc get-chassis-lcc-mode-information {
          description
            "Show chassis lcc mode information";
          input {
            leaf lcc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "LCC number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-lcc-mode-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-lcc-mode-information
    
        rpc get-psd-information {
          description
            "Show Protected System Domain (PSD) status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml psd-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-psd-information
    
        rpc get-gnf-information {
          description
            "Show Network Slices status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml gnf-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-gnf-information
    
        rpc get-gnf-fpcs-information {
          description
            "Show FPCs assigned to GNFs";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml gnf-fpcs-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-gnf-fpcs-information
    
        rpc get-network-slice-description {
          description "Show GNF description";
          input {
            leaf gnf-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "1 .. 10";
                }
              }
              description "GNF slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml gnf-description {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-network-slice-description
    
        rpc get-afs-information {
          description "Show AFs information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml afs-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-afs-information
    
        rpc get-chassis-fabric-mesh-topo-information {
          description "Show mesh topology";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-fabric-mesh-topo-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-fabric-mesh-topo-information
    
        rpc get-chassis-fabric-mesh-feb-information {
          description
            "Show summary fabric management FEB state";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-fabric-mesh-feb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-fabric-mesh-feb-information
    
        rpc get-fm-fpc-state-information {
          description
            "Show summary fabric management FPC state from Routing Engine";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
    
            leaf mode {
              type enumeration {
                enum "extended" {
                  value 0;
                  description
                    "Show all planes in output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-fpc-state-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-fpc-state-information
    
        rpc get-fm-degradation-information {
          description
            "Show FPC fabric bandwidth degradation information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-degradation-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-degradation-information
    
        rpc get-fm-degradation-information-details {
          description
            "Show fpc fabric degradation action history";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-degradation-information-details {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-degradation-information-details
    
        rpc get-fm-fabric-destinations-state {
          description
            "Show fabric destinations state for all FPCs";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
    
            leaf mode {
              type enumeration {
                enum "extended" {
                  value 0;
                  description
                    "Show all 24 planes in output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-fabric-destinations-state {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-fabric-destinations-state
    
        rpc get-fm-plane-location-information {
          description
            "Show fabric plane location";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-plane-location-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-plane-location-information
    
        rpc get-fm-topology {
          description
            "Show fabric topology for plane";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf plane {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Fabric plane number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-topology {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-topology
    
        rpc get-fm-optical-links-state-information {
          description
            "Show state of fabric management optical links";
          input {
            leaf lcc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Lcc number";
            }
    
            leaf detail {
              type empty;
              description
                "Display detailed output";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-optical-links-state-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-optical-links-state-information
    
        rpc get-fm-optics-port-information {
          description
            "Show info of fabric optical ports";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf display {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Show brief output";
                }
                enum "detail" {
                  value 1;
                  description
                    "Show detailed output";
                }
              }
            }
    
            leaf sib-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-optics-port-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-optics-port-information
    
        rpc get-fm-plane-state-information {
          description
            "Show state of fabric management plane";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf display {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Show terse output";
                }
                enum "detail" {
                  value 1;
                  description
                    "Show detail output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Show extensive output";
                }
              }
            }
    
            leaf number {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 4";
                }
              }
              description "Fabric plane number";
            }
    
            leaf mode {
              type enumeration {
                enum "extended" {
                  value 0;
                  description
                    "Show all 24 planes in output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-plane-state-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-plane-state-information
    
        rpc get-fm-mid-plane-state-information {
          description
            "Show state of fabric mid plane";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-plane-state-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-mid-plane-state-information
    
        rpc get-fm-state-information {
          description
            "Show summary fabric management state";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-state-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-state-information
    
        rpc get-fm-ext-state-information {
          description
            "Show extended summary fabric management state";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-ext-state-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-ext-state-information
    
        rpc get-fm-state-legend {
          description
            "Show legend of fabric management states";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-state-legend {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-state-legend
    
        rpc get-fm-sib-state-information {
          description
            "Show summary fabric management SIB state from Routing Engine";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-sib-state-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-sib-state-information
    
        rpc get-chassis-fabric-topology-information {
          description
            "Show fabric topology information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf sib-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SIB slot number";
            }
    
            leaf device {
              type string;
              description
                "Device alias name or serial number";
            }
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 15";
                }
              }
              description "Slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-fabric-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-fabric-topology-information
    
        rpc get-fm-topo-tracepath-link {
          description "Show info of fabric path";
          input {
            leaf hsl2link {
              type string;
              mandatory true;
              description
                "HSL2 Link Name as in topology command";
            }
    
            leaf lcc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              default "0";
              description
                "Lcc number. Default is 0";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-topo-tracepath-link {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-topo-tracepath-link
    
        rpc get-fm-topo-tracepath-fpc {
          description "Show info of fabric path";
          input {
            leaf fpcstr {
              type string;
              mandatory true;
              description
                "FPC/PFE String as in topology cmd - e.g. FPC7PFE1";
            }
    
            leaf lcc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "Lcc number.";
            }
    
            leaf plane {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 5";
                }
              }
              default "5";
              description
                "Fabric Plane - 0/1/2/3/4 and 5=all-active-planes(Default)";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-topo-tracepath-fpc {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-topo-tracepath-fpc
    
        rpc get-chassis-fabric-spray-weight-information {
          description
            "Show fabric spray-weights";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-fabric-spray-weight-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-fabric-spray-weight-information
    
        rpc get-chassis-fabric-link-information {
          description
            "Show data-center fabric links";
          input {
            leaf link-type {
              type enumeration {
                enum "up" {
                  value 0;
                  description "Up links";
                }
                enum "down" {
                  value 1;
                  description "Down links";
                }
                enum "error" {
                  value 2;
                  description "Error links";
                }
                enum "all" {
                  value 3;
                  description "All links";
                }
              }
              default "all";
              description "Link type";
            }
    
            leaf device {
              type string;
              description
                "Device alias name or serial number";
            }
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 15";
                }
              }
              description "Slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-fabric-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-fabric-link-information
    
        rpc get-chassis-fabric-information-device {
          description
            "Show chassis fabric devices running FM component";
          input {
            leaf device-id {
              type string;
              description
                "Device alias name or serial number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-fabric-information-device {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-fabric-information-device
    
        rpc get-chassis-fabric-connectivity-information {
          description
            "Show data-center fabric connectivity";
          input {
            leaf device {
              type string;
              description
                "Device alias name or serial number";
            }
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 15";
                }
              }
              description "Slot number";
            }
    
            leaf inter-chassis {
              type empty;
              description
                "Inter chassis fabric link connectivity details";
            }
    
            leaf intra-chassis {
              type empty;
              description
                "Intra chassis fabric link connectivity details";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-fabric-connectivity-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-fabric-connectivity-information
    
        rpc get-fm-unreachable-dest-information {
          description
            "Show unreachable destinations on all active planes";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-unreachable-dest-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-unreachable-dest-information
    
        rpc get-fm-fabric-reachability-information {
          description
            "Show current status of fabric reachability";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf detail {
              type empty;
              description
                "Show reachability output in detail";
            }
    
            leaf extended {
              type empty;
              description
                "Show all 24 planes in output";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-fabric-reachability-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-fabric-reachability-information
    
        rpc get-fm-degraded-fabric-state-information {
          description
            "Show degraded fabric state on all active planes";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-degraded-fabric-state-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-degraded-fabric-state-information
    
        rpc get-fm-sib-errors {
          description
            "Show Switch Interface Board errors";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf sib-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-fru-errors {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-sib-errors
    
        rpc get-fm-fpc-errors {
          description
            "Show Flexible PIC Controller errors";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-fru-errors {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-fpc-errors
    
        rpc get-fm-plane-autoheal-errors {
          description
            "Show Planes autoheal state";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-fru-errors {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-plane-autoheal-errors
    
        rpc get-fm-fpc-stream-information {
          description
            "Show FPC stream number information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fm-fpc-stream-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fm-fpc-stream-information
    
        rpc get-chassis-inventory {
          description
            "Show installed hardware components";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Include RAM and disk information in output";
                }
                enum "extensive" {
                  value 1;
                  description
                    "Display ID EEPROM information";
                }
                enum "models" {
                  value 2;
                  description
                    "Display serial number and model number for orderable FRUs";
                }
                enum "clei-models" {
                  value 3;
                  description
                    "Display CLEI barcode and model number for orderable FRUs";
                }
              }
            }
    
            leaf fpc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Flexible PIC Controller slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-inventory {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-inventory
    
        rpc get-chassis-hardware-satellite-information {
          description "Show hardware details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Include RAM and disk information in output";
                }
                enum "extensive" {
                  value 1;
                  description
                    "Display ID EEPROM information";
                }
                enum "models" {
                  value 2;
                  description
                    "Display serial number and model number for orderable FRUs";
                }
                enum "clei-models" {
                  value 3;
                  description
                    "Display CLEI barcode and model number for orderable FRUs";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-hardware-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-hardware-satellite-information
    
        rpc get-reswatch-config-information {
          description
            "Show rewatch configuration";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml reswatch-config-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-reswatch-config-information
    
        rpc get-power-budget-information {
          description
            "Show power budget chassis information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml power-budget-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-power-budget-information
    
        rpc get-chassis-ae-lb-information {
          description
            "Show multicast load balancing settings";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-ae-lb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-ae-lb-information
    
        rpc get-rps-chassis-information {
          description
            "Show redundant power system chassis information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml rps-chassis-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-rps-chassis-information
    
        rpc get-chassis-mac-addresses {
          description
            "Show media access control addresses";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-mac-addresses {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-mac-addresses
    
        rpc get-raid-status {
          description "Show RAID status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml raid-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-raid-status
    
        rpc get-raid-members {
          description "Show RAID members";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml raid-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-raid-members
    
        rpc get-route-engine-information {
          description
            "Show Routing Engine status";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Routing Engine slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml route-engine-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-route-engine-information
    
        rpc get-bios-version-information {
          description
            "Show BIOS firmware version";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-bios-version-information
    
        rpc get-chassis-routing-engine-bios-satellite-info {
          description
            "Show routing engine bios details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-routing-engine-bios-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-routing-engine-bios-satellite-info
    
        rpc get-chassis-hard-disk-test {
          description
            "Show smartd self tests status on hard disks";
          input {
            leaf status {
              type empty;
              mandatory true;
              description
                "Display status of test";
            }
    
            leaf disk {
              type string;
              mandatory true;
              description "Name of hard disk";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml raid-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-hard-disk-test
    
        rpc get-chassis-routing-engine-errors {
          description "Show RE errors";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml errors {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-routing-engine-errors
    
        rpc get-chassis-routing-engine-satellite-information {
          description
            "Show routing engine details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-routing-engine-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-routing-engine-satellite-information
    
        rpc get-service-node-information {
          description
            "Show service node information";
          input {
            leaf version {
              type empty;
              description
                "Show service-node version information";
            }
    
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description
                "Service node slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml service-node-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-service-node-information
    
        rpc get-ssb-information {
          description
            "Show System and Switch Board status";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description "SSB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ssb-information
    
        rpc get-scb-information {
          description
            "Show System Control Board status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-scb-information
    
        rpc get-fwdd-information {
          description
            "Show forwarding process (fwdd) status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fwdd-information
    
        rpc get-sfm-information {
          description
            "Show Switching and Forwarding Module status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sfm-information
    
        rpc get-feb-brief-information {
          description
            "Show Forwarding Engine Board status";
          input {
            leaf feb_slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FEB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-feb-brief-information
    
        rpc get-feb-information {
          description "Show detailed output";
          input {
            leaf feb_slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FEB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-feb-information
    
        rpc get-cfeb-information {
          description
            "Show Compact Forwarding Engine Board status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-cfeb-information
    
        rpc get-afeb-information {
          description
            "Show Compact Forwarding Engine Board status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-afeb-information
    
        rpc get-tfeb-information {
          description
            "Show Compact Forwarding Engine Board status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scb-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-tfeb-information
    
        rpc get-fan-information {
          description
            "Show fan and fan tray information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fan-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fan-information
    
        rpc get-chassis-fan-satellite-information {
          description "Show fan details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-fan-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-fan-satellite-information
    
        rpc get-chassis-location {
          description
            "Show physical location of chassis";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-location {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-location
    
        rpc get-interface-location-name-information {
          description
            "Show physical location given interface name";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description "Interface name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml interface-location-name-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-interface-location-name-information
    
        rpc get-interface-location-information {
          description
            "Show interface name given location";
          input {
            leaf lcc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "LCC number";
            }
    
            leaf fpc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml interface-location-slot-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-interface-location-information
    
        rpc get-temperature-threshold-information {
          description
            "Show chassis temperature threshold settings";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Flexible PIC Controller slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml temperature-threshold-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-temperature-threshold-information
    
        rpc get-chassis-temp-thresholds-satellite-info {
          description
            "Show temperature thresholds details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-temperature-thresholds-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-temp-thresholds-satellite-info
    
        rpc get-power-management {
          description
            "Show power ratings for the router";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml power-management-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-power-management
    
        rpc get-in-service-upgrade-status {
          description
            "Show In Service upgrade status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml in-service-upgrade-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-in-service-upgrade-status
    
        rpc get-chassis-mode-status {
          description "Show chassis mode status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-mode-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-mode-status
    
        rpc get-nonstop-upgrade-status {
          description
            "Show nonstop upgrade status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml in-service-upgrade-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-nonstop-upgrade-status
    
        rpc get-dedicated-ukern-status {
          description
            "Show ukernel dedicated CPU core assignment status ";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml dedicated-ukern-cpu {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-dedicated-ukern-status
    
        rpc get-realtime-ukern-status {
          description
            "Show ukernel realtime thread assignment status ";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml realtime-ukern-thread {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-realtime-ukern-status
    
        rpc get-chassis-oss-map {
          description
            "Show Operation Supported System's translated model";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-oss-map {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-oss-map
    
        rpc security-uefi-variables {
          description
            "Show platform UEFI variables";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml uefi-vars {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc security-uefi-variables
    
        rpc get-gnf-description {
          description "Show GNF information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml gnf-description {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-gnf-description
    
        rpc get-chassis-cluster-interfaces {
          description
            "Display chassis cluster interfaces";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-interface-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-interfaces
    
        rpc get-chassis-cluster-control-plane-statistics {
          description
            "Display control-plane statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-control-plane-statistics
    
        rpc get-chassis-cluster-data-plane-statistics {
          description
            "Display data-plane statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml services-synchronized {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-data-plane-statistics
    
        rpc get-chassis-cluster-data-plane-interfaces {
          description
            "Display data-plane interfaces";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-dataplane-interfaces {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-data-plane-interfaces
    
        rpc get-chassis-cluster-statistics {
          description
            "Display chassis cluster statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-statistics
    
        rpc get-chassis-cluster-status {
          description
            "Display chassis cluster status";
          input {
            leaf redundancy-group {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint8;
              }
              description
                "Display chassis cluster status per redundancy-group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-status
    
        rpc get-chassis-cluster-information {
          description
            "Show chassis cluster information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-information
    
        rpc get-chassis-cluster-configuration-synchronization-information {
          description
            "Display configuration synchronization information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml configuration-synchronization-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-configuration-synchronization-information
    
        rpc get-chassis-cluster-issu-information {
          description "Display ISSU information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml issu-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-issu-information
    
        rpc get-chassis-cluster-detail-information {
          description
            "Display all chassis cluster information";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf redundancy-group {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint8;
              }
              description
                "Display chassis cluster status per redundancy-group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-detail-information
    
        rpc get-chassis-cluster-cold-synchronization-information {
          description
            "Display coldsync information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cold-synchronization-monitoring-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-cold-synchronization-information
    
        rpc get-chassis-cluster-spu-information {
          description "Display SPU information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml spu-monitoring-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-spu-information
    
        rpc get-chassis-cluster-loopback-information {
          description
            "Display loopback monitoring information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml loopback-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-loopback-information
    
        rpc get-chassis-cluster-hardware-monitoring-information {
          description
            "Display hardware monitoring information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml hardware-monitoring-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-hardware-monitoring-information
    
        rpc get-chassis-cluster-schedule-monitoring-information {
          description
            "Display schedule monitoring information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml schedule-monitoring-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-schedule-monitoring-information
    
        rpc get-chassis-cluster-interface-monitoring-information {
          description
            "Display interface monitoring information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml interface-monitoring-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-interface-monitoring-information
    
        rpc get-chassis-cluster-control-link-information {
          description
            "Display control link information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml control-link-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-control-link-information
    
        rpc get-chassis-cluster-fabric-link-information {
          description
            "Display fabric link information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fabric-link-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-fabric-link-information
    
        rpc get-chassis-cluster-command-history-information {
          description "Display command history";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml command-history-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-command-history-information
    
        rpc get-chassis-cluster-ip-monitoring-status {
          description
            "Display IP monitoring status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-ip-monitoring {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-ip-monitoring-status
    
        rpc get-chassis-cluster-ip-monitoring-status-redundancy-group {
          description
            "Show IP monitoring status of a specific redundancy-group";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf redundancy-group-identifier {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint8;
              }
              mandatory true;
              description
                "Redundancy-group identifier";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-ip-monitoring {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-ip-monitoring-status-redundancy-group
    
        rpc get-chassis-cluster-ethernet-switching-status {
          description
            "Display chassis cluster ethernet switching status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-ethernet-switching-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-ethernet-switching-status
    
        rpc get-chassis-cluster-switch-fabric-probe-statistics {
          description
            "Display chassis cluster switch fabric probe statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-switch-switching-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-switch-fabric-probe-statistics
    
        rpc get-chassis-cluster-switch-fabric-link-interfaces {
          description
            "Display chassis cluster switch fabric link interfaces";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-switch-switching-interfaces {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-switch-fabric-link-interfaces
    
        rpc get-chassis-cluster-port-peering-status {
          description
            "Display chassis cluster port peering";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-cluster-port-peering-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-cluster-port-peering-status
    
        rpc get-chassis-high-availability-information {
          description
            "Display high-availability information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-high-availability-info {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-high-availability-information
    
        rpc get-chassis-high-availability-detail-information {
          description
            "Display detailed high-availability info";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-high-availability-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-high-availability-detail-information
    
        rpc get-chassis-high-availability-peer-information {
          description
            "Display high-availability peer information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-high-availability-peer-info-detail {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-high-availability-peer-information
    
        rpc get-chassis-ha-data-plane-statistics {
          description
            "Display data-plane statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml services-synchronized {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-ha-data-plane-statistics
    
        rpc get-chassis-high-availability-srg-information {
          description
            "Show specific service-redundancy-group terse information";
          input {
            leaf services-redundancy-group-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint8 {
                  range "0 .. 255";
                }
              }
              mandatory true;
              description
                "Service redundancy-group identifier";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-high-availability-srg-terse-info {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-high-availability-srg-information
    
        rpc get-lcd-information {
          description "Show LCD display";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml craft-lcd-led-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-lcd-information
    
        rpc get-lcd-fpc-information {
          description
            "Show LCD display for FPC slot number";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml craft-lcd-led-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-lcd-fpc-information
    
        rpc get-lcd-menu-information {
          description
            "Show active LCD menu items";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml lcd-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-lcd-menu-information
    
        rpc get-led-information {
          description "Show LED status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml craft-lcd-led-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-led-information
    
        rpc get-led-fpc-information {
          description
            "Show LED status for FPC slot number";
          input {
            choice chassis-selector {
              leaf all-chassis {
                type empty;
                description "All chassis";
              }
              leaf all-lcc {
                type empty;
                description "All LCC chassis";
              }
              leaf scc {
                type empty;
                description "SCC";
              }
              leaf sfc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "SFC";
              }
              leaf lcc {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description "Specific LCC";
              }
              leaf node {
                type string;
                description "Specific node";
              }
              leaf bsys {
                type empty;
                description "Base system";
              }
              leaf gnf {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 10";
                  }
                }
                description
                  "Specific guest network function";
              }
              leaf all-gnfs {
                type empty;
                description
                  "All guest network functions";
              }
              leaf all-system {
                type empty;
                description
                  "All system (BSYS and GNFs)";
              }
              leaf server {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "0 .. 1";
                  }
                }
                description
                  "Specific server slot";
              }
              leaf all-servers {
                type empty;
                description "All servers";
              }
              leaf vnf {
                type string;
                description
                  "Specific virtual-network-function";
              }
              leaf all-vnfs {
                type empty;
                description
                  "All virtual-network-functions";
              }
            }  // choice chassis-selector
    
            choice re-selector {
              leaf re0 {
                type empty;
                description "RE0";
              }
              leaf re1 {
                type empty;
                description "RE1";
              }
              leaf routing-engine {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Local routing engine";
                  }
                  enum "other" {
                    value 1;
                    description
                      "Other routing engine";
                  }
                  enum "master" {
                    value 2;
                    description
                      "Master routing engine";
                  }
                  enum "backup" {
                    value 3;
                    description
                      "Backup routing engine";
                  }
                  enum "both" {
                    value 4;
                    description
                      "Both routing engines";
                  }
                }
                description
                  "Specific routing engine";
              }
            }  // choice re-selector
    
            choice lr-selector {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice lr-selector
    
            choice tenant-selector {
              leaf tenant {
                type string;
                description
                  "Name of tenant, or 'all'";
              }
            }  // choice tenant-selector
    
            choice vc-selector {
              leaf local {
                type empty;
                description
                  "Local virtual chassis member";
              }
              leaf all-members {
                type empty;
                description
                  "All virtual chassis members";
              }
              leaf member {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32;
                }
                description
                  "Specific virtual chassis member";
              }
            }  // choice vc-selector
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml craft-lcd-led-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-led-fpc-information
    
        rpc get-chassis-led-satellite-information {
          description "Show led details";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf device-alias {
              type string;
              description "Device alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-led-satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-led-satellite-information
    
        rpc get-chassis-satellite-information {
          description
            "Show Satellite Devices information";
          input {
            choice arg {
              leaf fpc-slot {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "65 .. 254";
                  }
                }
                description
                  "Satellite slot number";
              }
              leaf device-alias {
                type string;
                description "Device alias";
              }
            }  // choice arg
    
            leaf cluster {
              type string;
              description "Cluster name";
            }
    
            leaf since {
              type jt:time;
              description
                "Show history since YYYY-MM-DD.HH:MM:SS";
            }
    
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Display terse output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 3;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-information
    
        rpc get-chassis-satellite-unprovision-information {
          description
            "Display unprovisioned satellites";
          input {
            leaf system-id {
              type jt:mac-addr;
              description "Satellite system id";
            }
    
            leaf since {
              type jt:time;
              description
                "Show history since YYYY-MM-DD.HH:MM:SS";
            }
    
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml satellite-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-unprovision-information
    
        rpc get-chassis-satellite-statistics {
          description
            "Display device statistics information";
          input {
            choice arg {
              leaf fpc-slot {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "65 .. 254";
                  }
                }
                description
                  "Satellite slot number";
              }
              leaf device-alias {
                type string;
                description "Device alias";
              }
            }  // choice arg
    
            leaf cluster {
              type string;
              description "Cluster name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml device-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-statistics
    
        rpc get-chassis-satellite-redundancy-group-info {
          description
            "Display multi-chassis cluster information";
          input {
            leaf since {
              type jt:time;
              description
                "Show history since YYYY-MM-DD.HH:MM:SS";
            }
    
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Display terse output (default)";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 3;
                  description
                    "Display extensive output";
                }
              }
              default "terse";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-chassis-cluster-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-redundancy-group-info
    
        rpc get-chassis-satellite-redundacy-grp-devices-info {
          description
            "Display satellite device information";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Display terse output (default)";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 3;
                  description
                    "Display extensive output";
                }
              }
              default "terse";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-chassis-cluster-device-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-redundacy-grp-devices-info
    
        rpc get-chassis-satellite-redundancy-grp-dev-history {
          description
            "Display device history information";
          input {
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf serial-number {
              type string;
              description "Device Serial Number";
            }
    
            leaf global {
              type empty;
              description "Global history";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-chassis-cluster-device-history-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-redundancy-grp-dev-history
    
        rpc get-chassis-satellite-redundacy-grp-if-info {
          description
            "Display satellite interface information";
          input {
            leaf interface-name {
              type union {
                type jt:interface-name;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description "Name of interface";
            }
    
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Display terse output (default)";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 3;
                  description
                    "Display extensive output";
                }
              }
              default "terse";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-chassis-cluster-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-redundacy-grp-if-info
    
        rpc get-chassis-satellite-extended-port-information {
          description
            "Display extended-port information";
          input {
            leaf interface-name {
              type string;
              description "Interface name";
            }
    
            leaf since {
              type jt:time;
              description
                "Show history since YYYY-MM-DD.HH:MM:SS";
            }
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
    
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Display terse output (default)";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 3;
                  description
                    "Display extensive output";
                }
              }
              default "terse";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml extended-port-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-extended-port-information
    
        rpc get-chassis-satellite-upgrade-group-information {
          description
            "Display upgrade group information";
          input {
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Display terse output (default)";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 3;
                  description
                    "Display extensive output";
                }
              }
              default "terse";
            }
    
            leaf group-name {
              type string;
              description "Upgrade group name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml upgrade-group-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-upgrade-group-information
    
        rpc get-chassis-satellite-neighbor-information {
          description
            "Display satellite adjacency information";
          input {
            leaf interface-name {
              type string;
              description "Name of interface";
            }
    
            leaf since {
              type jt:time;
              description
                "Show history since YYYY-MM-DD.HH:MM:SS";
            }
    
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Display terse output (default)";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 3;
                  description
                    "Display extensive output";
                }
              }
              default "terse";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml adjacency-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-neighbor-information
    
        rpc get-chassis-satellite-neighbor-statistics {
          description
            "Display adjacency statistics information";
          input {
            leaf interface-name {
              type string;
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml adjacency-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-neighbor-statistics
    
        rpc get-chassis-satellite-interface-information {
          description
            "Display satellite protocol interface information";
          input {
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf interface-name {
              type string;
              description "Name of interface";
            }
    
            leaf since {
              type jt:time;
              description
                "Show history since YYYY-MM-DD.HH:MM:SS";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml satellite-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-interface-information
    
        rpc get-satellite-management-software-information {
          description
            "Show satellite software installed";
          input {
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml satellite-software-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-satellite-management-software-information
    
        rpc get-satellite-power-budget-information {
          description
            "Show power budget chassis satellite information";
          input {
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml power-budget-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-satellite-power-budget-information
    
        rpc get-chassis-satellite-cluster-information {
          description
            "Show Satellite Cluster information";
          input {
            leaf cluster {
              type string;
              description "Cluster name";
            }
    
            leaf level {
              type enumeration {
                enum "terse" {
                  value 0;
                  description
                    "Display terse output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 2;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 3;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml satellite-cluster-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-cluster-information
    
        rpc get-chassis-satellite-cluster-route {
          description
            "Display cluster route information";
          input {
            leaf cluster {
              type string;
              description "Cluster name";
            }
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cluster-statistics-route {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-cluster-route
    
        rpc get-chassis-satellite-cluster-statistics {
          description
            "Display cluster statistics information";
          input {
            leaf cluster {
              type string;
              description "Cluster name";
            }
    
            leaf fpc-slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "65 .. 254";
                }
              }
              description
                "Satellite slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cluster-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-satellite-cluster-statistics
    
        rpc get-chassis-pic-mode-information {
          description
            "Show a member's chassis pic-mode";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml chassis-pic-mode-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-chassis-pic-mode-information
      }  // module junos-nfx-rpc-chassis
    

© 2023 YumaWorks, Inc. All rights reserved.