junos-rpc-system

Junos RPC YANG module for system command(s)

  • Version: 2019-01-01

    junos-rpc-system@2019-01-01


    
      module junos-rpc-system {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos/rpc/system";
    
        prefix system;
    
        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 system command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-commit-information {
          description
            "Show pending commit requests (if any) and commit history";
          input {
            leaf include-configuration-revision {
              type empty;
              description
                "Display configuration revision information against each commit record";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml commit-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-commit-information
    
        rpc get-commit-revision-information {
          description
            "Show latest commit revision number for shared database";
          input {
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml commit-revision-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-commit-revision-information
    
        rpc get-pending-commit-sync-jobs {
          description
            "Show pending commit synchronize jobs";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml commit-sync-jobs {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-pending-commit-sync-jobs
    
        rpc get-commit-server-information {
          description
            "Show commit server detail";
          input {
            leaf status {
              type empty;
              description
                "Display commit server status";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml commit-server-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-commit-server-information
    
        rpc get-commit-server-queue-information {
          description
            "Show transaction ids in the commit queue";
          input {
            choice job-status-or-id {
              leaf id {
                type union {
                  type uint32;
                  type string {
                    pattern "<.*>|$.*";
                  }
                }
                description
                  "Show commit queue id";
              }
              leaf job-status {
                type enumeration {
                  enum "all" {
                    value 0;
                    description
                      "Display all jobs";
                  }
                  enum "error" {
                    value 1;
                    description
                      "Display jobs that had errors";
                  }
                  enum "success" {
                    value 2;
                    description
                      "Display jobs that succeeded";
                  }
                  enum "pending" {
                    value 3;
                    description
                      "Display jobs that are pending";
                  }
                }
                default "all";
                description
                  "Restrict display by job status";
              }
            }  // choice job-status-or-id
    
            leaf patch {
              type empty;
              description
                "Display commit queue patch";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml commit-server-queue-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-commit-server-queue-information
    
        rpc get-rescue-information {
          description
            "Show rescue configuration";
          input {
            leaf format {
              type enumeration {
                enum "text" {
                  value 0;
                  description
                    "Output text configuration";
                }
                enum "xml" {
                  value 1;
                  description
                    "Output XML configuration";
                }
                enum "json" {
                  value 2;
                  description
                    "Output JSON configuration";
                }
              }
              description
                "Output format of configuration (XML or text or JSON)";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml rescue-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-rescue-information
    
        rpc get-configuration-by-revision {
          description
            "Show configuration for the specified configuration revision";
          input {
            leaf revision-string {
              type string;
              mandatory true;
              description
                "Configuration revision string";
            }
    
            choice configuration-revision-choice {
              leaf rollback-number {
                type empty;
                description
                  "Show corresponding rollback number for the given configuration revision";
              }
              leaf compare {
                type string;
                description
                  "Configuration revision to compare";
              }
            }  // choice configuration-revision-choice
    
            leaf format {
              type enumeration {
                enum "text" {
                  value 0;
                  description
                    "Output text configuration";
                }
                enum "xml" {
                  value 1;
                  description
                    "Output XML configuration";
                }
                enum "json" {
                  value 2;
                  description
                    "Output JSON configuration";
                }
              }
              description
                "Output format of configuration (XML or text or JSON)";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml configuration-revision-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-configuration-by-revision
    
        rpc get-database-usage {
          description
            "Show configuration database usage";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml database-usage {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-database-usage
    
        rpc get-system-archival {
          description
            "List files queued up for archive transfer";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml directory-list {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-archival
    
        rpc get-rollback-information {
          description
            "Show rolled back configuration";
          input {
            leaf rollback {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 49";
                }
              }
              mandatory true;
              description
                "Rollback number to display";
            }
    
            leaf configuration-revision {
              type empty;
              description
                "Show corresponding configuration revision for this rollback number";
            }
    
            leaf compare {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 49";
                }
              }
              description
                "Rollback number to compare";
            }
    
            leaf format {
              type enumeration {
                enum "text" {
                  value 0;
                  description
                    "Output text configuration";
                }
                enum "xml" {
                  value 1;
                  description
                    "Output XML configuration";
                }
                enum "json" {
                  value 2;
                  description
                    "Output JSON configuration";
                }
              }
              description
                "Output format of configuration (XML or text or JSON)";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml rollback-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-rollback-information
    
        rpc get-system-alarm-information {
          description "Show system alarm status";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml alarm-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-alarm-information
    
        rpc unified-services-chassis-mode-status {
          description
            "Current status of Unified-Services feature";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml unified-services-status-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc unified-services-chassis-mode-status
    
        rpc get-system-uptime-information {
          description
            "Show time since system and processes started";
          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
    
            choice dcf-role {
              description "Device type";
              case interconnect-device {
              }  // case interconnect-device
    
              case node-group {
              }  // case node-group
    
              case infrastructure {
              }  // case infrastructure
    
              case director-group {
              }  // case director-group
            }  // choice dcf-role
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-uptime-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-uptime-information
    
        rpc get-license-summary-information {
          description
            "Show feature licenses information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml license-summary-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-license-summary-information
    
        rpc get-license-information {
          description
            "Show installed feature licenses";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml license-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-license-information
    
        rpc get-license-key-information {
          description "Show license keys";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml license-key-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-license-key-information
    
        rpc get-license-usage-summary {
          description "Show licensed features";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml license-usage-summary {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-license-usage-summary
    
        rpc get-license-revoked-info {
          status deprecated;
          description
            "Show revoked licenses information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml license-revoked-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-license-revoked-info
    
        rpc get-system-information {
          description "Show system information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-information
    
        rpc get-system-login-lockout-information {
          description
            "Show user accounts not permitted logins";
          input {
            leaf user {
              type string;
              description "Name of user";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-login-lockout-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-login-lockout-information
    
        rpc get-yang-schema {
          description
            "Show system schema in various formats";
          input {
            leaf format {
              type enumeration {
                enum "yang" {
                  value 0;
                  description "YANG (default)";
                }
              }
              default "yang";
              description
                "The data modeling language of the schema";
            }
    
            leaf identifier {
              type string;
              mandatory true;
              description "Module to be shown";
            }
    
            leaf output-directory {
              type string;
              mandatory true;
              description
                "Directory to save requested YANG modules";
            }
    
            leaf version {
              type string;
              description
                "Version of the schema requested";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-yang-schema
    
        rpc get-system-yang-packages {
          description
            "Show YANG package(s) installed on system";
          input {
            leaf id {
              type string;
              description
                "Show YANG package with ID";
            }
    
            choice re-choice {
              leaf re0 {
                type empty;
                description
                  "Add/Delete YANG module(s) on RE0";
              }
              leaf re1 {
                type empty;
                description
                  "Add/Delete YANG module(s) on RE1";
              }
              leaf other-routing-engine {
                type empty;
                description
                  "Add/Delete YANG module(s) on other RE";
              }
            }  // choice re-choice
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml yang-pkgs-info {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-yang-packages
    
        rpc get-upm-summary-information {
          description
            "User-plane manager summary information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-user-plane-cpm {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-upm-summary-information
    
        rpc get-upm-association-information {
          description
            "User-plane manager association information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-user-plane-associations {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-upm-association-information
    
        rpc get-upm-client-information {
          description
            "User-plane manager client information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-user-plane-clients {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-upm-client-information
    
        rpc get-subscriber-management-summary-information {
          description
            "Show Subscriber management summary";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-summary-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-summary-information
    
        rpc get-subscriber-management-statistics {
          description
            "Show subscriber management statistics";
          input {
            leaf all {
              type empty;
              description
                "Display all statistics";
            }
    
            leaf dhcp {
              type empty;
              description
                "Display dhcp statistics";
            }
    
            leaf dvlan {
              type empty;
              description
                "Display dvlan statistics";
            }
    
            leaf ppp {
              type empty;
              description
                "Display ppp statistics";
            }
    
            leaf pppoe {
              type empty;
              description
                "Display pppoe statistics";
            }
    
            leaf l2tp {
              type empty;
              description
                "Display l2tp statistics";
            }
    
            leaf fixed-wireless-access {
              type empty;
              description
                "Display fixed-wireless-access statistics";
            }
    
            leaf agf {
              type empty;
              description
                "Display agf statistics";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-statistics
    
        rpc get-subscriber-management-route-information {
          description
            "Show subscriber management route information";
          input {
            leaf family {
              type enumeration {
                enum "inet" {
                  value 0;
                  description
                    "IP version 4 (IPv4)";
                }
                enum "inet6" {
                  value 1;
                  description
                    "IP version 6 (IPv6)";
                }
              }
              description "Name of family";
            }
    
            leaf route-type {
              type enumeration {
                enum "local" {
                  value 0;
                  description "Local route";
                }
                enum "access" {
                  value 1;
                  description "Access route";
                }
                enum "access-internal" {
                  value 2;
                  description
                    "Access-internal route";
                }
                enum "kernel" {
                  value 3;
                  description "Kernel route";
                }
              }
              description "Type of route";
            }
    
            leaf routing-instance {
              type string;
              description
                "Name of routing instance";
            }
    
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief information";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed information";
                }
              }
              default "brief";
            }
    
            leaf incomplete {
              type empty;
              description
                "Display only incomplete routes";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-route-information
    
        rpc get-subscriber-management-route-summary {
          description
            "Show subscriber management route summary";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-route-summary {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-route-summary
    
        rpc get-subscriber-management-route-nh {
          description
            "Show subscriber management route next-hop information";
          input {
            leaf index {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint16 {
                  range "1 .. 65535";
                }
              }
              description "Next-hop index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-route-nh {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-route-nh
    
        rpc get-subscriber-management-arp {
          description
            "Show subscriber management arp information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-arp {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-arp
    
        rpc get-subscriber-management-arp-interface {
          description "Name of interface";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-arp-interface {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-arp-interface
    
        rpc get-subscriber-management-arp-address {
          description "Ipv4 address";
          input {
            leaf ip-address {
              type jt:ipv4addr;
              mandatory true;
              description "Ipv4 address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-arp-address {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-arp-address
    
        rpc get-subscriber-management-ipv6-neighbors {
          description
            "Show subscriber management ipv6 neighbors information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-ipv6-neighbors {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-ipv6-neighbors
    
        rpc get-subscriber-management-ipv6-neighbor-interface {
          description "Name of interface";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-ipv6-neighbor-interface {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-ipv6-neighbor-interface
    
        rpc get-subscriber-management-ipv6-neighbor-address {
          description "Ipv6 address";
          input {
            leaf interface-name {
              type jt:ipv6addr;
              mandatory true;
              description "Ipv6 address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-ipv6-neighbor-address {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-ipv6-neighbor-address
    
        rpc get-subscriber-management-ipv6-ra {
          description
            "Show subscriber management ipv6 router-advertisement information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-ipv6-ra {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-ipv6-ra
    
        rpc get-subscriber-management-ipv6-ra-interface {
          description "Name of interface";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-ipv6-ra-interface {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-ipv6-ra-interface
    
        rpc get-subscriber-management-ipv6-ra-prefix {
          description "Ipv6 prefix";
          input {
            leaf interface-prefix {
              type jt:ipv6addr;
              mandatory true;
              description "Ipv6 prefix";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-ipv6-ra-prefix {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-ipv6-ra-prefix
    
        rpc get-subscriber-management-v4-liveness {
          description
            "Show subscriber management dhcpv4 liveness detection information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-v4-liveness {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-v4-liveness
    
        rpc get-subscriber-management-v4-liveness-interface {
          description "Name of interface";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-v4-liveness-interface {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-v4-liveness-interface
    
        rpc get-subscriber-management-v4-liveness-address {
          description "Ipv4 address";
          input {
            leaf ip-address {
              type jt:ipv4addr;
              mandatory true;
              description "Ipv4 address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-v4-liveness-address {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-v4-liveness-address
    
        rpc get-subscriber-management-v6-liveness {
          description
            "Show subscriber management dhcpv6 liveness detection information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-v6-liveness {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-v6-liveness
    
        rpc get-subscriber-management-v6-liveness-interface {
          description "Name of interface";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-v6-liveness-interface {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-v6-liveness-interface
    
        rpc get-subscriber-management-v6-liveness-address {
          description "Ipv6 address";
          input {
            leaf interface-name {
              type jt:ipv6addr;
              mandatory true;
              description "Ipv6 address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-management-v6-liveness-address {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-v6-liveness-address
    
        rpc get-subscriber-management-resiliency-information {
          description
            "Show resiliency information";
          input {
            leaf detail {
              type empty;
              description
                "Display detail information";
            }
    
            leaf extensive {
              type empty;
              description
                "Display extensive information";
            }
    
            leaf summary {
              type empty;
              description
                "Display summary information";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-management-resiliency-information
    
        rpc get-subscriber-mgmt-red-state {
          description
            "Show subscriber management redundancy state";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-mgmt-red-state {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-mgmt-red-state
    
        rpc get-subscriber-mgmt-red-state-dhcp {
          description "DHCP information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-mgmt-red-state-dhcp {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-mgmt-red-state-dhcp
    
        rpc get-subscriber-mgmt-red-state-dhcp-alq {
          description
            "Active-leasequery protocol";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-mgmt-red-state-dhcp-alq {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-mgmt-red-state-dhcp-alq
    
        rpc get-subscriber-mgmt-red-state-dhcp-alq-intf {
          description
            "Underlying interface name";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscriber-mgmt-red-state-dhcp-alq-intf {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscriber-mgmt-red-state-dhcp-alq-intf
    
        rpc get-system-core-dumps {
          description "Show system core files";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml directory-list {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-core-dumps
    
        rpc get-core-file-information {
          status deprecated;
          description
            "Display the stack trace of core file";
          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-style {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "View stack trace with details of binary";
                }
                enum "brief" {
                  value 1;
                  description
                    "View details of binary";
                }
              }
              default "brief";
              description
                "Option for viewing brief/detailed info about core file";
            }
    
            leaf core-filename {
              type jt:filename;
              mandatory true;
              description "Name of core file";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml core-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-core-file-information
    
        rpc get-core-file-satellite {
          description
            "Show core-files on satellite devices";
          input {
            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";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-core-file-satellite
    
        rpc get-boot-media-information {
          description
            "Display permanent boot media settings";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-boot-media-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-boot-media-information
    
        rpc get-active-error-count-information {
          description "Show all errors";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-count-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-active-error-count-information
    
        rpc get-active-error-information {
          description "Show active errors";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-active-error-information
    
        rpc get-fpc-active-error-information {
          description
            "Show active errors for FPC";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-active-error-information
    
        rpc get-sib-active-error-information {
          description
            "Show active errors for SIB";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sib-active-error-information
    
        rpc get-re-active-error-information {
          description
            "Show active errors for RE";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              mandatory true;
              description "RE slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-re-active-error-information
    
        rpc get-active-error-detail-information {
          description
            "Show active errors detail";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-active-error-detail-information
    
        rpc get-fpc-active-error-detail-information {
          description
            "Show active errors detail for FPC";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf scope {
              type enumeration {
                enum "board" {
                  value 0;
                  description "Show board scope";
                }
                enum "pfe" {
                  value 1;
                  description "Show pfe scope";
                }
              }
              description "Specify scope";
            }
    
            leaf category {
              type enumeration {
                enum "functional" {
                  value 0;
                  description
                    "Show functional category";
                }
                enum "memory" {
                  value 1;
                  description
                    "Show memory category";
                }
                enum "io" {
                  value 2;
                  description "Show io category";
                }
                enum "storage" {
                  value 3;
                  description
                    "Show storage category";
                }
                enum "switch" {
                  value 4;
                  description
                    "Show switch category";
                }
                enum "processing" {
                  value 5;
                  description
                    "Show processing category";
                }
                enum "internal" {
                  value 6;
                  description
                    "Show internal category";
                }
              }
              description "Specify category";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-active-error-detail-information
    
        rpc get-sib-active-error-detail-information {
          description
            "Show active errors detail for SIB";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "SIB slot number";
            }
    
            leaf scope {
              type enumeration {
                enum "board" {
                  value 0;
                  description "Show board scope";
                }
                enum "switch" {
                  value 1;
                  description
                    "Show switch scope";
                }
              }
              description "Specify scope";
            }
    
            leaf category {
              type enumeration {
                enum "functional" {
                  value 0;
                  description
                    "Show functional category";
                }
                enum "memory" {
                  value 1;
                  description
                    "Show memory category";
                }
                enum "io" {
                  value 2;
                  description "Show io category";
                }
                enum "storage" {
                  value 3;
                  description
                    "Show storage category";
                }
                enum "switch" {
                  value 4;
                  description
                    "Show switch category";
                }
                enum "processing" {
                  value 5;
                  description
                    "Show processing category";
                }
                enum "internal" {
                  value 6;
                  description
                    "Show internal category";
                }
              }
              description "Specify category";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sib-active-error-detail-information
    
        rpc get-re-active-error-detail-information {
          description
            "Show active errors detail for RE";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              mandatory true;
              description "RE slot number";
            }
    
            leaf scope {
              type enumeration {
                enum "board" {
                  value 0;
                  description "Show board scope";
                }
              }
              description "Specify scope";
            }
    
            leaf category {
              type enumeration {
                enum "functional" {
                  value 0;
                  description
                    "Show functional category";
                }
                enum "memory" {
                  value 1;
                  description
                    "Show memory category";
                }
                enum "io" {
                  value 2;
                  description "Show io category";
                }
                enum "storage" {
                  value 3;
                  description
                    "Show storage category";
                }
                enum "switch" {
                  value 4;
                  description
                    "Show switch category";
                }
                enum "processing" {
                  value 5;
                  description
                    "Show processing category";
                }
                enum "internal" {
                  value 6;
                  description
                    "Show internal category";
                }
              }
              description "Specify category";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-re-active-error-detail-information
    
        rpc get-inactive-error-information {
          description "Show inactive errors";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml inactive-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-inactive-error-information
    
        rpc get-fpc-inactive-error-information {
          description
            "Show inactive errors for FPC";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml inactive-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-inactive-error-information
    
        rpc get-sib-inactive-error-information {
          description
            "Show inactive errors for SIB";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml inactive-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sib-inactive-error-information
    
        rpc get-re-inactive-error-information {
          description
            "Show inactive errors for RE";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              mandatory true;
              description "RE slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml inactive-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-re-inactive-error-information
    
        rpc get-inactive-error-detail-information {
          description
            "Show inactive errors detail";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml inactive-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-inactive-error-detail-information
    
        rpc get-fpc-inactive-error-detail-information {
          description
            "Show inactive errors detail for FPC";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf scope {
              type enumeration {
                enum "board" {
                  value 0;
                  description "Show board scope";
                }
                enum "pfe" {
                  value 1;
                  description "Show pfe scope";
                }
              }
              description "Specify scope";
            }
    
            leaf category {
              type enumeration {
                enum "functional" {
                  value 0;
                  description
                    "Show functional category";
                }
                enum "memory" {
                  value 1;
                  description
                    "Show memory category";
                }
                enum "io" {
                  value 2;
                  description "Show io category";
                }
                enum "storage" {
                  value 3;
                  description
                    "Show storage category";
                }
                enum "switch" {
                  value 4;
                  description
                    "Show switch category";
                }
                enum "processing" {
                  value 5;
                  description
                    "Show processing category";
                }
                enum "internal" {
                  value 6;
                  description
                    "Show internal category";
                }
              }
              description "Specify category";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml inactive-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-inactive-error-detail-information
    
        rpc get-sib-inactive-error-detail-information {
          description
            "Show inactive errors detail for SIB";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "SIB slot number";
            }
    
            leaf scope {
              type enumeration {
                enum "board" {
                  value 0;
                  description "Show board scope";
                }
                enum "switch" {
                  value 1;
                  description
                    "Show switch scope";
                }
              }
              description "Specify scope";
            }
    
            leaf category {
              type enumeration {
                enum "functional" {
                  value 0;
                  description
                    "Show functional category";
                }
                enum "memory" {
                  value 1;
                  description
                    "Show memory category";
                }
                enum "io" {
                  value 2;
                  description "Show io category";
                }
                enum "storage" {
                  value 3;
                  description
                    "Show storage category";
                }
                enum "switch" {
                  value 4;
                  description
                    "Show switch category";
                }
                enum "processing" {
                  value 5;
                  description
                    "Show processing category";
                }
                enum "internal" {
                  value 6;
                  description
                    "Show internal category";
                }
              }
              description "Specify category";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml inactive-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sib-inactive-error-detail-information
    
        rpc get-re-inactive-error-detail-information {
          description
            "Show inactive errors detail for RE";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              mandatory true;
              description "RE slot number";
            }
    
            leaf scope {
              type enumeration {
                enum "board" {
                  value 0;
                  description "Show board scope";
                }
              }
              description "Specify scope";
            }
    
            leaf category {
              type enumeration {
                enum "functional" {
                  value 0;
                  description
                    "Show functional category";
                }
                enum "memory" {
                  value 1;
                  description
                    "Show memory category";
                }
                enum "io" {
                  value 2;
                  description "Show io category";
                }
                enum "storage" {
                  value 3;
                  description
                    "Show storage category";
                }
                enum "switch" {
                  value 4;
                  description
                    "Show switch category";
                }
                enum "processing" {
                  value 5;
                  description
                    "Show processing category";
                }
                enum "internal" {
                  value 6;
                  description
                    "Show internal category";
                }
              }
              description "Specify category";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml inactive-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-re-inactive-error-detail-information
    
        rpc get-active-fru-error-information {
          description
            "Show fru error information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-fru-error-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-active-fru-error-information
    
        rpc get-active-fru-error-detail-information {
          description
            "Show fru error information in detail";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-fru-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-active-fru-error-detail-information
    
        rpc get-fpc-active-fru-error-detail-information {
          description
            "Show active errors for FPC";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-fru-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-fpc-active-fru-error-detail-information
    
        rpc get-sib-active-fru-error-detail-information {
          description
            "Show active errors for SIB";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "SIB slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-fru-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-sib-active-fru-error-detail-information
    
        rpc get-re-active-fru-error-detail-information {
          description
            "Show active errors for RE";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              mandatory true;
              description "RE slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-fru-error-detail-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-re-active-fru-error-detail-information
    
        rpc get-active-fru-error-id-information {
          description
            "Show error information by error-id";
          input {
            leaf id {
              type string {
                length "1 .. 255";
              }
              mandatory true;
              description "URI for the error";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml active-fru-error-id-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-active-fru-error-id-information
    
        rpc get-health-mon-information {
          description
            "Show health monitoring parameters";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml health-mon-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-health-mon-information
    
        rpc get-health-mon-fpc-information {
          description
            "Health parameters for FPC";
          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 health-mon-fpc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-health-mon-fpc-information
    
        rpc get-boot-console-information {
          description
            "Show boot console port information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-boot-console-information
    
        rpc get-buffer-informations {
          description "Show buffer statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml memory-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-buffer-informations
    
        rpc get-queues-information {
          description "Show queue statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml queues-statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-queues-information
    
        rpc get-directory-usage-information {
          description
            "Show local directory 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 path {
              type string;
              description
                "Path of root directory to traverse";
            }
    
            leaf depth {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description
                "Depth of directories to traverse";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml directory-usage-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-directory-usage-information
    
        rpc get-auto-snapshot-information {
          description
            "Show auto-snapshot status when system booted from alternate slice";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml auto-snapshot-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-auto-snapshot-information
    
        rpc get-snapshot-information {
          description
            "Show snapshot 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 slice {
              type enumeration {
                enum "1" {
                  value 0;
                  description
                    "Show snapshot information from first partition";
                }
                enum "2" {
                  value 1;
                  description
                    "Show snapshot information from second partition";
                }
                enum "alternate" {
                  value 2;
                  description
                    "Show snapshot information from alternate partition";
                }
              }
              description
                "Show snapshot information from specified partition";
            }
    
            leaf media {
              type enumeration {
                enum "removable-compact-flash" {
                  value 0;
                  description
                    "Show snapshot information from removable compact flash";
                }
                enum "compact-flash" {
                  value 1;
                  description
                    "Show snapshot information from compact flash";
                }
                enum "usb" {
                  value 2;
                  description
                    "Show snapshot information from device connected to USB port";
                }
                enum "usb0" {
                  value 3;
                  description
                    "Show snapshot information from device connected to USB0";
                }
                enum "usb1" {
                  value 4;
                  description
                    "Show snapshot information from device connected to USB1";
                }
                enum "hard-disk" {
                  value 5;
                  description
                    "Show snapshot information from hard disk";
                }
                enum "internal" {
                  value 6;
                  description
                    "Show snapshot information from internal flash";
                }
                enum "external" {
                  value 7;
                  description
                    "Show snapshot information from external flash";
                }
              }
              description
                "Media to show snapshot information from";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml snapshot-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-snapshot-information
    
        rpc get-software-installation-status {
          description
            "Show status of software installation";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml software-installation-status {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-software-installation-status
    
        rpc get-package-backup-information {
          description
            "Show status of old system software packages";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml package-backup-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-package-backup-information
    
        rpc get-software-sets-information {
          description
            "Show version of software sets available";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml software-sets-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-software-sets-information
    
        rpc get-system-process-information {
          description
            "Show system process table";
          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 wide {
              type empty;
              description
                "Display information even if wider than 80 columns";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-process-information
    
        rpc get-process-health-information {
          description
            "Show process health information";
          input {
            choice name_pid_choice {
              leaf process-name {
                type string;
                description "Process name";
              }
              leaf pid {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 99999";
                  }
                }
                description "Process identifier";
              }
            }  // choice name_pid_choice
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-processes-health-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-process-health-information
    
        rpc get-system-process-resource-limits {
          description
            "Show process resource limits";
          input {
            leaf process-name {
              type string;
              description "Process name";
            }
    
            leaf verbosity_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 secpolinfo-policy-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-process-resource-limits
    
        rpc get-statistics-information {
          description
            "Show statistics for protocol";
          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 protocol {
              type enumeration {
                enum "ip" {
                  value 0;
                  description
                    "IP version 4 (IPv4)";
                }
                enum "ip6" {
                  value 1;
                  description
                    "IP version 6 (IPv6)";
                }
                enum "icmp" {
                  value 2;
                  description
                    "Internet Control Message Protocol";
                }
                enum "nd6" {
                  value 3;
                  description
                    "Internet Control Message Protocol for IPv6";
                }
                enum "icmp6" {
                  value 4;
                  description
                    "Internet Control Message Protocol for IPv6";
                }
                enum "tcp" {
                  value 5;
                  description
                    "Transmission Control Protocol";
                }
                enum "udp" {
                  value 6;
                  description
                    "User Datagram Protocol";
                }
                enum "igmp" {
                  value 7;
                  description
                    "Internet Gateway Management Protocol";
                }
                enum "arp" {
                  value 8;
                  description
                    "Address Resolution Protocol";
                }
                enum "clns" {
                  value 9;
                  description
                    "Connectionless Network Service";
                }
                enum "esis" {
                  value 10;
                  description
                    "End System-to-Intermediate System";
                }
                enum "tnp" {
                  value 11;
                  description
                    "Trivial Network Protocol";
                }
                enum "rdp" {
                  value 12;
                  description
                    "Reliable Datagram Protocol";
                }
                enum "ttp" {
                  value 13;
                  description
                    "TNP Tunneling Protocol";
                }
                enum "tudp" {
                  value 14;
                  description
                    "Trivial User Datagram Protocol";
                }
                enum "mpls" {
                  value 15;
                  description
                    "Multiprotocol Label Switching";
                }
                enum "ethoamcfm" {
                  value 16;
                  description
                    "Ethernet OAM protocol for connectivity fault management";
                }
                enum "ethoamlfm" {
                  value 17;
                  description
                    "Ethernet OAM protocol for link fault management";
                }
                enum "jsr" {
                  value 18;
                  description
                    "Juniper Socket Replication";
                }
              }
            }
    
            leaf backup {
              type empty;
              description
                "Statistics of backup JunosVM";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-statistics-information
    
        rpc get-system-vpls-statistics {
          description
            "Virtual private LAN service";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-vpls-statistics
    
        rpc get-system-bridge-statistics {
          description "IEEE 802.1 Bridging";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml statistics {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-bridge-statistics
    
        rpc get-system-stats-extended {
          description "System wide statistics";
          input {
            leaf protocol {
              type enumeration {
                enum "ipv4" {
                  value 0;
                  description
                    "Display ipv4 sysstem statistics";
                }
                enum "ipv6" {
                  value 1;
                  description
                    "Display ipv6 sysstem statistics";
                }
              }
              description
                "Show sysstem statistics extended protocol";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml extended-system-stats {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-stats-extended
    
        rpc get-system-storage {
          description "Show local storage data";
          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;
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-storage-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-storage
    
        rpc get-system-storage-partitions {
          description
            "Show partitions information for the boot media";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-storage-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-storage-partitions
    
        rpc get-system-storage-satellite {
          description
            "Show satellite device storage data";
          input {
            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";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-storage-satellite
    
        rpc get-system-storage-mmc-information {
          description
            "Show MMC storage 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 device-name {
              type enumeration {
                enum "all" {
                  value 0;
                  description "Show all MMCs";
                }
                enum "mmcsd0" {
                  value 1;
                  description "Show mmcsd0";
                }
              }
              mandatory true;
            }
    
            leaf information-type {
              type enumeration {
                enum "status" {
                  value 0;
                  description
                    "Show general information and health status";
                }
              }
              mandatory true;
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-storage-mmc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-storage-mmc-information
    
        rpc get-switchover-information {
          description
            "Show Routing Engine graceful switchover information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml switchover-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-switchover-information
    
        rpc get-system-services-reverse-information {
          description
            "Show reverse telnet/SSH connection information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-services-reverse-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-services-reverse-information
    
        rpc get-dhcp-binding-information {
          description
            "Show DHCP client binding 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 information";
            }
    
            leaf address {
              type jt:ipaddr;
              description
                "Address of DHCP client binding";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml dhcp-binding-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-dhcp-binding-information
    
        rpc get-dhcp-conflict-information {
          description
            "Show DHCP address conflict";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml dhcp-conflict-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-dhcp-conflict-information
    
        rpc get-dhcp-global-information {
          description
            "Show DHCP global scope information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml dhcp-global-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-dhcp-global-information
    
        rpc get-dhcp-pool-information {
          description
            "Show DHCP address pool 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 information";
            }
    
            leaf subnet-address {
              type jt:ipprefix;
              description
                "Logical subnet of address pool";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml dhcp-pool-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-dhcp-pool-information
    
        rpc get-dhcp-statistics-information {
          description "Show DHCP statistics";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml dhcp-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-dhcp-statistics-information
    
        rpc get-service-deployment-service-information {
          description
            "Show service deployment service information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml service-deployment-service-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-service-deployment-service-information
    
        rpc get-system-memory-information {
          description "Show system memory usage";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-memory-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-memory-information
    
        rpc get-system-virtual-memory-information {
          description
            "Show kernel dynamic memory usage";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-virtual-memory-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-virtual-memory-information
    
        rpc get-system-users-information {
          description
            "Show users who are currently logged in";
          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 no-resolve {
              type empty;
              description
                "Don't attempt to print addresses symbolically";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-users-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-users-information
    
        rpc get-syslog-events {
          description "Show system log messages";
          input {
            leaf stream {
              type string;
              mandatory true;
              description
                "Name of stream (log file) containing messages to filter";
            }
    
            leaf event {
              type string {
                length "1 .. 256";
              }
              description
                "Event ID of messages to include in output";
            }
    
            leaf process {
              type string {
                length "1 .. 256";
              }
              description
                "Name of process generating messages to include in output";
            }
    
            leaf-list priority {
              type string;
              ordered-by user;
              description
                "Facility and severity of messages to include in output";
            }
    
            leaf host {
              type string {
                length "1 .. 256";
              }
              description
                "Name of host generating messages to include in output";
            }
    
            leaf start-time {
              type jt:time;
              description
                "Earliest timestamp of messages to include in output";
            }
    
            choice stop-time-choice {
              leaf current-time {
                type empty;
                description
                  "Include messages up to current time";
              }
              leaf stop-time {
                type jt:time;
                description
                  "Latest timestamp of messages to include in output";
              }
            }  // choice stop-time-choice
    
            leaf-list parameter {
              type jt:regular-expression;
              ordered-by user;
              description
                "Parameter (key=value) of messages to include in output";
            }
    
            leaf text-pattern {
              type jt:regular-expression;
              description
                "Pattern in messages to include in output";
            }
    
            leaf count {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description
                "Number of messages to include in output";
            }
    
            leaf recorded {
              type empty;
              description
                "Match only the recorded messages";
            }
    
            leaf connection-id {
              type string;
              description "Connection ID";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml syslog-events {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-syslog-events
    
        rpc get-system-resource-cleanup-processes-information {
          description
            "Show process resource cleanup information";
          input {
            leaf detail {
              type empty;
              description
                "Display detailed information";
            }
    
            choice name_pid_choice {
              leaf process-name {
                type string;
                description "Process name";
              }
              leaf pid {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "1 .. 99999";
                  }
                }
                description "Process identifier";
              }
            }  // choice name_pid_choice
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-resource-cleanup-processes-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-resource-cleanup-processes-information
    
        rpc get-resource-monitor-summary-fpc-information {
          description
            "Show Resource Monitor summary";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml resource-monitor-summary-fpc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-resource-monitor-summary-fpc-information
    
        rpc get-resource-monitor-fpc-information {
          description
            "Show Line Card Resource utilization for monitoring";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml resource-monitor-fpc-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-resource-monitor-fpc-information
    
        rpc get-resource-monitor-fpc-slot-information {
          description "FPC Slot number";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 255";
                }
              }
              mandatory true;
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml resource-monitor-fpc-slot-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-resource-monitor-fpc-slot-information
    
        rpc get-resource-monitor-ifd-mapping-information {
          description
            "Display ifd to queue mapping";
          input {
            leaf fpc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 255";
                }
              }
              mandatory true;
              description "FPC number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml resource-monitor-ifd-mapping-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-resource-monitor-ifd-mapping-information
    
        rpc get-subscribers-limit-level {
          description "Show Subscriber limit";
          input {
            leaf chassis {
              type empty;
              mandatory true;
              description
                "Show Subscriber limit of chassis level";
            }
    
            leaf fpc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 255";
                }
              }
              mandatory true;
              description
                "Show Subscriber limit of fpc level";
            }
    
            leaf pic {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "0 .. 3";
                }
              }
              description
                "Show Subscriber limit of pic level";
            }
    
            leaf port {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "0 .. 23";
                }
              }
              description
                "Show Subscriber limit of port level";
            }
    
            leaf extensive {
              type empty;
              description
                "Display extensive output";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml subscribers-limit-level {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-subscribers-limit-level
    
        rpc get-system-monitor-memory-events {
          description
            "Display history of events minor/major/critical ";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-events
    
        rpc get-system-monitor-memory-events-all {
          description
            "Display history of all events";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-events-all
    
        rpc get-system-monitor-memory-events-system {
          description
            "Display history of system events";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-events-system
    
        rpc get-system-monitor-memory-events-process {
          description
            "Display history of process events";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-events-process
    
        rpc get-system-monitor-memory-status {
          description
            "Display current status of the events minor/major/critical";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-status
    
        rpc get-system-monitor-memory-status-all {
          description
            "Display current status of all events";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-status-all
    
        rpc get-system-monitor-memory-status-system {
          description
            "Display current status of system events";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-status-system
    
        rpc get-system-monitor-memory-status-process {
          description
            "Display current status of process events";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-status-process
    
        rpc get-system-monitor-memory-actions {
          description
            "Display history of actions taken on events";
          input {
            leaf action-choice {
              type enumeration {
                enum "all" {
                  value 0;
                  description
                    "Display history of action taken on system/process events";
                }
                enum "system" {
                  value 1;
                  description
                    "Display history of actions taken on system events";
                }
                enum "process" {
                  value 2;
                  description
                    "Display history of actions taken on process events";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-monitor-memory-actions
    
        rpc get-system-firmware-information {
          description
            "Show all firmware version 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 compatibility {
              type empty;
              description
                "Show all firmware compatibility information";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml system-firmware-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-system-firmware-information
      }  // module junos-rpc-system
    

© 2023 YumaWorks, Inc. All rights reserved.