junos-es-rpc-class-of-service

Junos RPC YANG module for class-of-service command(s)

  • Version: 2019-01-01

    junos-es-rpc-class-of-service@2019-01-01


    
      module junos-es-rpc-class-of-service {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-es/rpc/class-of-service";
    
        prefix class-of-service;
    
        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 class-of-service command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-cos-information {
          description
            "Show class of service information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-information
    
        rpc get-appqos-counter {
          description
            "Show the application traffic control counters";
          input {
            uses command-forwarding;
    
            choice lsys {
              case logical-system {
              }  // case logical-system
              leaf root-logical-system {
                type empty;
                description
                  "Root logical-system (default)";
              }
    
              case tenant {
              }  // case tenant
              leaf all-logical-systems-tenants {
                type empty;
                description
                  "All multitenancy systems";
              }
            }  // choice lsys
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml appqos-counter-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-appqos-counter
    
        rpc get-appqos-rule-statistics {
          description
            "Show the application traffic control rule hit statistics";
          input {
            uses command-forwarding;
    
            choice lsys {
              case logical-system {
              }  // case logical-system
              leaf root-logical-system {
                type empty;
                description
                  "Root logical-system (default)";
              }
    
              case tenant {
              }  // case tenant
              leaf all-logical-systems-tenants {
                type empty;
                description
                  "All multitenancy systems";
              }
            }  // choice lsys
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml appqos-rule-statistics-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-appqos-rule-statistics
    
        rpc get-appqos-rate-limiter-statistics {
          description
            "Show the application traffic control rate limiter statistics";
          input {
            uses command-forwarding;
    
            choice lsys {
              case logical-system {
              }  // case logical-system
              leaf root-logical-system {
                type empty;
                description
                  "Root logical-system (default)";
              }
    
              case tenant {
              }  // case tenant
              leaf all-logical-systems-tenants {
                type empty;
                description
                  "All multitenancy systems";
              }
            }  // choice lsys
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml appqos-rate-limiter-statistics-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-appqos-rate-limiter-statistics
    
        rpc get-appqos-swrl-stat-summary {
          description
            "Show the application traffic control rate-limiters summary";
          input {
            uses command-forwarding;
    
            choice lsys {
              case logical-system {
              }  // case logical-system
              leaf root-logical-system {
                type empty;
                description
                  "Root logical-system (default)";
              }
    
              case tenant {
              }  // case tenant
              leaf all-logical-systems-tenants {
                type empty;
                description
                  "All multitenancy systems";
              }
            }  // choice lsys
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml appqos-swrl-stat-summary-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-appqos-swrl-stat-summary
    
        rpc get-appqos-swrl-stat-all {
          description
            "Show all application traffic control rate-limiters";
          input {
            uses command-forwarding;
    
            choice lsys {
              case logical-system {
              }  // case logical-system
              leaf root-logical-system {
                type empty;
                description
                  "Root logical-system (default)";
              }
    
              case tenant {
              }  // case tenant
              leaf all-logical-systems-tenants {
                type empty;
                description
                  "All multitenancy systems";
              }
            }  // choice lsys
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml appqos-swrl-stat-all-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-appqos-swrl-stat-all
    
        rpc get-appqos-swrl-stat-name {
          description
            "Show application traffic control rate-limiter by name";
          input {
            uses command-forwarding;
    
            choice lsys {
              case logical-system {
              }  // case logical-system
              leaf root-logical-system {
                type empty;
                description
                  "Root logical-system (default)";
              }
    
              case tenant {
              }  // case tenant
              leaf all-logical-systems-tenants {
                type empty;
                description
                  "All multitenancy systems";
              }
            }  // choice lsys
    
            leaf rl-name {
              type string;
              mandatory true;
              description "Rate-limiter name";
            }
    
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Show brief output (default)";
                }
                enum "extensive" {
                  value 1;
                  description
                    "Show detailed output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml appqos-swrl-stat-id-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-appqos-swrl-stat-name
    
        rpc get-cos-forwarding-class-information {
          description
            "Show mapping of forwarding class names to queue numbers";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-forwarding-class-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-forwarding-class-information
    
        rpc get-cos-drop-profile-information {
          description
            "Show interpolated data points of named drop profile";
          input {
            leaf profile-name {
              type string;
              description "Name of drop profile";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-drop-profile-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-drop-profile-information
    
        rpc get-cos-adaptive-shaper-information {
          description
            "Show trigger types and associated rate for adaptive shaper";
          input {
            leaf adaptive-shaper-name {
              type string;
              description
                "Name of adaptive shaper";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-adaptive-shaper-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-adaptive-shaper-information
    
        rpc get-cos-virtual-channel-information {
          description
            "Show virtual channel names";
          input {
            leaf virtual-channel-name {
              type string;
              description
                "Name of virtual channel";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-virtual-channel-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-virtual-channel-information
    
        rpc get-cos-virtual-channel-group-information {
          description
            "Show virtual channel group information";
          input {
            leaf virtual-channel-group-name {
              type string;
              description
                "Name of virtual channel group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-virtual-channel-group-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-virtual-channel-group-information
    
        rpc get-cos-classifier-information {
          description
            "Show mapping of code point to forwarding class/loss priority";
          input {
            leaf classifier-name {
              type string;
              description "Name of classifier";
            }
    
            leaf type {
              type enumeration {
                enum "dscp" {
                  value 0;
                  description
                    "Differentiated Services code point (DSCP)";
                }
                enum "dscp-ipv6" {
                  value 1;
                  description
                    "Differentiated Services code point (DSCP) for IPv6";
                }
                enum "exp" {
                  value 2;
                  description
                    "MPLS experimental code point";
                }
                enum "ieee-802.1" {
                  value 3;
                  description
                    "IEEE-802.1 code point";
                }
                enum "inet-precedence" {
                  value 4;
                  description
                    "IPv4 precedence code point";
                }
                enum "ieee-802.1ad" {
                  value 5;
                  description
                    "IEEE-802.1ad (DEI) code point";
                }
                enum "inet6-precedence" {
                  value 6;
                  description
                    "IPv6 precedence code point";
                }
              }
              description "Type of classifier";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-classifier-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-classifier-information
    
        rpc get-cos-tcm-information {
          description
            "Show mapping of code point to input traffic-class";
          input {
            leaf tcm-name {
              type string;
              description
                "Name of traffic-class-map";
            }
    
            leaf type {
              type enumeration {
                enum "inet-precedence" {
                  value 0;
                  description
                    "IPv4 INET-Precedence code point";
                }
                enum "dscp" {
                  value 1;
                  description
                    "Differentiated Services code point (DSCP)";
                }
                enum "exp" {
                  value 2;
                  description
                    "MPLS experimental code point";
                }
                enum "ieee-802.1" {
                  value 3;
                  description
                    "IEEE-802.1 code point";
                }
                enum "ieee-802.1ad" {
                  value 4;
                  description
                    "IEEE-802.1ad (DEI) code point";
                }
              }
              description
                "Type of traffic-class-map";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-tcm-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-tcm-information
    
        rpc get-cos-policy-map-information {
          description
            "Show Policy-map code point";
          input {
            leaf policy-map-name {
              type string;
              description "Name of Policy-map";
            }
    
            leaf type {
              type enumeration {
                enum "configured" {
                  value 0;
                  description
                    "Show user configured policy-map";
                }
                enum "reserved" {
                  value 1;
                  description
                    "Show reserved policy-map";
                }
              }
              description "Type of Policy-map";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-policy-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-policy-map-information
    
        rpc get-cos-loss-priority-map-information {
          description
            "Show mapping of code point to loss priority";
          input {
            leaf loss-priority-map-name {
              type string;
              description
                "Name of loss priority map";
            }
    
            leaf type {
              type enumeration {
                enum "frame-relay-de" {
                  value 0;
                  description
                    "Frame Relay discard eligible code point";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-loss-priority-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-loss-priority-map-information
    
        rpc get-cos-loss-priority-rewrite-information {
          description
            "Show mapping of loss priority to code point";
          input {
            leaf loss-priority-rewrite-name {
              type string;
              description
                "Name of loss priority rewrite";
            }
    
            leaf type {
              type enumeration {
                enum "frame-relay-de" {
                  value 0;
                  description
                    "Frame Relay discard eligible code point";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-loss-priority-rewrite-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-loss-priority-rewrite-information
    
        rpc get-cos-rewrite-information {
          description
            "Show mapping of forwarding class/loss priority to code point";
          input {
            leaf rewrite-rule-name {
              type string;
              description "Name of rewrite rule";
            }
    
            leaf type {
              type enumeration {
                enum "dscp" {
                  value 0;
                  description
                    "Differentiated Services code point (DSCP)";
                }
                enum "dscp-ipv6" {
                  value 1;
                  description
                    "Differentiated Services code point (DSCP) for IPv6";
                }
                enum "exp" {
                  value 2;
                  description
                    "MPLS experimental code point";
                }
                enum "ieee-802.1" {
                  value 3;
                  description
                    "IEEE-802.1 code point";
                }
                enum "inet-precedence" {
                  value 4;
                  description
                    "IPv4 precedence code point";
                }
                enum "frame-relay-de" {
                  value 5;
                  description
                    "Frame relay discard eligible bit code point";
                }
                enum "ieee-802.1ad" {
                  value 6;
                  description
                    "IEEE-802.1ad (DEI) code point";
                }
                enum "inet6-precedence" {
                  value 7;
                  description
                    "IPv6 precedence code point";
                }
              }
              description "Type of rewrite rule";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-rewrite-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-rewrite-information
    
        rpc get-cos-multi-destination-information {
          description "Show multi destination";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-multi-destination-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-multi-destination-information
    
        rpc get-cos-system-defaults-information {
          description "Show system defaults";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-system-defaults-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-system-defaults-information
    
        rpc get-cos-code-point-map-information {
          description
            "Show mapping of symbolic name to code point bit pattern";
          input {
            leaf type {
              type enumeration {
                enum "dscp" {
                  value 0;
                  description
                    "Differentiated Services code point (DSCP)";
                }
                enum "dscp-ipv6" {
                  value 1;
                  description
                    "Differentiated Services code point (DSCP) for IPv6";
                }
                enum "exp" {
                  value 2;
                  description
                    "MPLS experimental code point";
                }
                enum "ieee-802.1" {
                  value 3;
                  description
                    "IEEE-802.1 code point";
                }
                enum "inet-precedence" {
                  value 4;
                  description
                    "IPv4 precedence code point";
                }
                enum "ieee-802.1ad" {
                  value 5;
                  description
                    "IEEE-802.1ad (DEI) code point";
                }
                enum "inet6-precedence" {
                  value 6;
                  description
                    "IPv6 precedence code point";
                }
              }
              description
                "Type of code point alias";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-code-point-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-code-point-map-information
    
        rpc get-cos-scheduler-map-information {
          description
            "Show mapping of forwarding classes to schedulers";
          input {
            leaf scheduler-map-name {
              type string;
              description
                "Name of scheduler map";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-scheduler-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-scheduler-map-information
    
        rpc get-cos-traffic-control-profile-information {
          description
            "Show traffic control profiles";
          input {
            leaf traffic-control-profile-name {
              type string;
              description
                "Name of traffic control profile";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-traffic-control-profile-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-traffic-control-profile-information
    
        rpc get-cos-fragmentation-map-information {
          description
            "Show mapping of forwarding classes to fragmentation options";
          input {
            leaf fragmentation-map-name {
              type string;
              description
                "Name of fragmentation map";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-fragmentation-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-fragmentation-map-information
    
        rpc get-cos-interface-map-information {
          description
            "Show mapping of CoS objects to interfaces";
          input {
            leaf interface-name {
              type string;
              description "Name of interface";
            }
    
            leaf level {
              type enumeration {
                enum "comprehensive" {
                  value 0;
                  description
                    "Show interface, filter, policer and CoS information comprehensively";
                }
                enum "detail" {
                  value 1;
                  description
                    "Show interface information, filter, policer and CoS object names";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-interface-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-interface-map-information
    
        rpc get-cos-interface-set-map-information {
          description
            "Show mapping of CoS objects to interface-set";
          input {
            leaf interface-set-name {
              type string;
              description
                "Name of interface set";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-interface-set-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-interface-set-map-information
    
        rpc get-cos-table-information {
          description
            "Show forwarding table information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-table-information
    
        rpc get-cos-classifier-table-information {
          description
            "Show classifier information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-classifier-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-classifier-table-information
    
        rpc get-cos-classifier-table-map-information {
          description
            "Show mapping of interfaces to classifiers";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-classifier-table-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-classifier-table-map-information
    
        rpc get-cos-tcm-table-information {
          description
            "Show traffic-class-map information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-tcm-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-tcm-table-information
    
        rpc get-cos-tcm-table-map-information {
          description
            "Show mapping of interfaces to traffic-class-map";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-tcm-table-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-tcm-table-map-information
    
        rpc get-cos-policy-map-table-information {
          description
            "Show Policy-map information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-policy-map-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-policy-map-table-information
    
        rpc get-cos-policy-map-table-map-information {
          description
            "Show mapping of interfaces to Policy-map";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-policy-map-table-mapping-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-policy-map-table-map-information
    
        rpc get-cos-loss-priority-map-table-information {
          description
            "Show loss priority map table";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-loss-priority-map-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-loss-priority-map-table-information
    
        rpc get-cos-loss-priority-map-table-binding-information {
          description
            "Show interface to loss priority map binding";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-loss-priority-map-table-binding-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-loss-priority-map-table-binding-information
    
        rpc get-cos-loss-priority-rewrite-table-information {
          description
            "Show loss priority rewrite table";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-loss-priority-rewrite-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-loss-priority-rewrite-table-information
    
        rpc get-cos-loss-priority-rewrite-table-binding-information {
          description
            "Show interface to loss priority rewrite binding";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-loss-priority-rewrite-table-binding-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-loss-priority-rewrite-table-binding-information
    
        rpc get-cos-scheduler-map-table-information {
          description "Show scheduler map";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-scheduler-map-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-scheduler-map-table-information
    
        rpc get-scheduler-map-table-map-information {
          description
            "Show mapping of scheduler-maps to interfaces";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-scheduler-map-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-scheduler-map-table-map-information
    
        rpc get-cos-policer-table-map-information {
          description "Show policer";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-policer-table-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-policer-table-map-information
    
        rpc get-cos-shaper-table-map-information {
          description "Show shaper";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-shaper-table-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-shaper-table-map-information
    
        rpc get-cos-red-information {
          description
            "Show random early detection drop profile";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-red-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-red-information
    
        rpc get-cos-rewrite-table-information {
          description "Show rewrite information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-rewrite-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-rewrite-table-information
    
        rpc get-cos-rewrite-table-map-information {
          description
            "Show interface to rewrite rule mapping";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-rewrite-table-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-rewrite-table-map-information
    
        rpc get-cos-fwtab-fabric-scheduler-map-information {
          description
            "Show fabric scheduler map";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-fabric-scheduler-map-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-fwtab-fabric-scheduler-map-information
    
        rpc get-cos-translation-table-information {
          description
            "Show translation table information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-translation-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-translation-table-information
    
        rpc get-cos-translation-table-mapping-information {
          description
            "Show mapping of interfaces to translation table";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-translation-table-mapping-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-translation-table-mapping-information
    
        rpc get-fabric-queue-information {
          description
            "Show fabric queue statistics";
          input {
            leaf destination {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              description
                "Destination FPC for which to show details";
            }
    
            leaf source {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32;
              }
              description
                "Source FPC for which to show details";
            }
    
            leaf summary {
              type empty;
              description
                "Display summary output";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml fabric-queue-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-fabric-queue-information
    
        rpc get-cos-fabric-scheduler-map-information {
          description
            "Show fabric scheduler map information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-fabric-scheduler-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-fabric-scheduler-map-information
    
        rpc get-cos-translation-table-map-information {
          description
            "Show mapping of code point to code point";
          input {
            leaf translation-table-name {
              type string;
              description
                "Name of translation table";
            }
    
            leaf type {
              type enumeration {
                enum
                  "to-inet-precedence-from-inet-precedence" {
                  value 0;
                  description
                    "INET PRECEDENCE to INET PRECEDENCE translation table";
                }
                enum "to-dscp-from-dscp" {
                  value 1;
                  description
                    "DSCP to DSCP translation table";
                }
                enum
                  "to-dscp-ipv6-from-dscp-ipv6" {
                  value 2;
                  description
                    "DSCP IPV6 to DSCP IPV6 translation table";
                }
                enum "to-exp-from-exp" {
                  value 3;
                  description
                    "EXP to EXP translation table";
                }
              }
              description
                "Type of translation table";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-translation-table-map-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-translation-table-map-information
    
        rpc get-scheduler-hierarchy-information {
          description
            "Show scheduler hierarchy information for FPC";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scheduler-hierarchy-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-scheduler-hierarchy-information
    
        rpc get-fpc-scheduler-hierarchy-information {
          description
            "Show scheduler hierarchy information for FPC slot";
          input {
            leaf slot {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              mandatory true;
              description "FPC slot number";
            }
    
            leaf level {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Show detailed scheduler hierarchy";
                }
                enum "terse" {
                  value 1;
                  description
                    "Show terse scheduler hierarchy";
                }
              }
            }
    
            leaf direction {
              type enumeration {
                enum "ingress" {
                  value 0;
                  description
                    "Show ingress scheduler hierarchy";
                }
                enum "egress" {
                  value 1;
                  description
                    "Show egress scheduler hierarchy";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scheduler-hierarchy-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-fpc-scheduler-hierarchy-information
    
        rpc get-interface-scheduler-hierarchy-information {
          description
            "Show scheduler hierarchy view for a specific interface";
          input {
            leaf interface-name {
              type string;
              mandatory true;
              description
                "Name of physical or logical interface";
            }
    
            leaf level {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Show detailed interface scheduler hierarchy";
                }
                enum "terse" {
                  value 1;
                  description
                    "Show terse interface scheduler hierarchy";
                }
              }
            }
    
            leaf direction {
              type enumeration {
                enum "ingress" {
                  value 0;
                  description
                    "Show ingress scheduler hierarchy";
                }
                enum "egress" {
                  value 1;
                  description
                    "Show egress scheduler hierarchy";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scheduler-hierarchy-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-interface-scheduler-hierarchy-information
    
        rpc get-interface-set-scheduler-hierarchy-information {
          description
            "Show scheduler hierarchy view for a specific interface-set";
          input {
            leaf interface-set-name {
              type string;
              mandatory true;
              description
                "Name of interface set";
            }
    
            leaf level {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Show detailed interface-set scheduler hierarchy";
                }
                enum "terse" {
                  value 1;
                  description
                    "Show terse interface-set scheduler hierarchy";
                }
              }
            }
    
            leaf direction {
              type enumeration {
                enum "ingress" {
                  value 0;
                  description
                    "Show ingress scheduler hierarchy";
                }
                enum "egress" {
                  value 1;
                  description
                    "Show egress scheduler hierarchy";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scheduler-hierarchy-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-interface-set-scheduler-hierarchy-information
    
        rpc get-scheduler-resources-information {
          description
            "Show scheduler resources information for FPC";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml scheduler-resources-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-scheduler-resources-information
    
        rpc get-scheduler-resources-fpc-slot-information {
          description
            "Show scheduler resources information for FPC slot";
          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 scheduler-resources-fpc-slot-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-scheduler-resources-fpc-slot-information
    
        rpc get-cos-junos-client-information {
          description
            "Show COS clients information";
          input {
            choice client-id-choice {
              leaf client-name {
                type string;
                description "Name of client";
              }
              leaf internal-id {
                type union {
                  type uint32;
                  type string {
                    pattern "<.*>|$.*";
                  }
                }
                description
                  "Internal identifier of a client";
              }
            }  // choice client-id-choice
    
            leaf classifier {
              type string;
              description
                "Name of classifier. Use 'all' to show entire list";
            }
    
            leaf classifier-type {
              type enumeration {
                enum "dscp" {
                  value 0;
                  description
                    "Differentiated Services code point (DSCP)";
                }
                enum "dscp-ipv6" {
                  value 1;
                  description
                    "Differentiated Services code point (DSCP) for IPv6";
                }
                enum "exp" {
                  value 2;
                  description
                    "MPLS experimental code point";
                }
                enum "ieee-802.1" {
                  value 3;
                  description
                    "IEEE-802.1 code point";
                }
                enum "inet-precedence" {
                  value 4;
                  description
                    "IPv4 precedence code point";
                }
                enum "ieee-802.1ad" {
                  value 5;
                  description
                    "IEEE-802.1ad (DEI) code point";
                }
                enum "any" {
                  value 6;
                  description
                    "Any code point type";
                }
              }
              description "Type of classifier";
            }
    
            leaf rewrite-rule {
              type string;
              description
                "Name of rewrite rule. Use 'all' to show entire list";
            }
    
            leaf rewrite-type {
              type enumeration {
                enum "dscp" {
                  value 0;
                  description
                    "Differentiated Services code point (DSCP)";
                }
                enum "dscp-ipv6" {
                  value 1;
                  description
                    "Differentiated Services code point (DSCP) for IPv6";
                }
                enum "exp" {
                  value 2;
                  description
                    "MPLS experimental code point";
                }
                enum "ieee-802.1" {
                  value 3;
                  description
                    "IEEE-802.1 code point";
                }
                enum "inet-precedence" {
                  value 4;
                  description
                    "IPv4 precedence code point";
                }
                enum "frame-relay-de" {
                  value 5;
                  description
                    "Frame relay discard eligible bit code point";
                }
                enum "ieee-802.1ad" {
                  value 6;
                  description
                    "IEEE-802.1ad (DEI) code point";
                }
                enum "inet6-precedence" {
                  value 7;
                  description
                    "IPv6 precedence code point";
                }
                enum "any" {
                  value 8;
                  description
                    "Any code point type";
                }
              }
              description "Type of rewrite rule";
            }
    
            leaf interface {
              type string;
              description
                "Name of interface. Use 'all' to show all interfaces";
            }
    
            leaf routing-instance {
              type string;
              description
                "Name of routing instance. Use 'all' to show all instances";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-junos-client-information
    
        rpc get-cos-junos-client-summary {
          description "Show COS clients summary";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-client-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-junos-client-summary
    
        rpc get-cos-bind-point-ownership-summary {
          description
            "Show cos bind point ownership summary";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-client-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-bind-point-ownership-summary
    
        rpc get-host-outbound-traffic-information {
          description
            "Show host outbound traffic information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-host-outbound-traffic-information
    
        rpc get-host-outbound-protocol-traffic-information {
          description
            "Show protocol specific host outbound traffic information";
          input {
            leaf protocol-name {
              type enumeration {
                enum "isis-over-gre" {
                  value 0;
                  description "ISIS over GRE";
                }
                enum "default" {
                  value 1;
                  description "Default values";
                }
              }
              mandatory true;
              description "Name of protocol";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-host-outbound-protocol-traffic-information
    
        rpc get-cos-packet-buffer-information {
          description
            "Show packet Buffer Information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-packet-buffer-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-packet-buffer-information
    
        rpc get-cos-packet-buffer-usage-information {
          description
            "Show packet Buffer Usage Information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cos-packet-buffer-usage-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-cos-packet-buffer-usage-information
    
        rpc get-spu-priority-queue-stats {
          description
            "Show SPU queue statistics information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml spu-priority-queue-stats;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-spu-priority-queue-stats
    
        rpc get-spu-priority-queue-statistics-on-spc {
          description
            "Show Security Processing Unit queue statistics on one spc";
          input {
            uses command-forwarding;
    
            leaf fpc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "FPC slot number";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml spu-priority-queue-stats-on-spc;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-spu-priority-queue-statistics-on-spc
    
        grouping command-forwarding {
          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
        }  // grouping command-forwarding
      }  // module junos-es-rpc-class-of-service
    

© 2023 YumaWorks, Inc. All rights reserved.