Junos RPC YANG module for class-of-service command(s)
Version: 2019-01-01
module junos-rpc-class-of-service { yang-version 1; namespace "http://yang.juniper.net/junos/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 (CoS) 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-cos-forwarding-class-information { description "Show mapping of forwarding class names to queue numbers"; input { leaf get-cos-forwarding-class-map-information { type string; description "Name of forwarding class map"; } } 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-forwarding-class-set-information { description "Show forwarding-class-sets that are active"; input { leaf forwarding-class-set-name { type string; description "Name of forwarding class set"; } } output { choice output_c { leaf output { type string; } anyxml cos-forwarding-class-set-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-cos-forwarding-class-set-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-l2tp-session-map-information { description "Show mapping of CoS objects to L2TP sessions"; input { leaf session-id { type union { type uint16; type string { pattern "<.*>|$.*"; } } description "Session Index"; } } output { choice output_c { leaf output { type string; } anyxml cos-l2tp-session-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-cos-l2tp-session-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-multi-destination-classifier-binding-information { description "Multi-destination classifier bindings"; output { choice output_c { leaf output { type string; } anyxml cos-multi-destination-classifier-binding-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-cos-multi-destination-classifier-binding-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"; } leaf user-plane { type string; description "User plane name"; } leaf static-only { type empty; description "Display static configuration on CP"; } } 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"; } leaf user-plane { type string; description "User plane name"; } leaf static-only { type empty; description "Display static configuration on CP"; } } 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-routing-instance-map-information { description "Show mapping of CoS objects to routing instance"; input { leaf routing-instance-name { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml cos-routing-instance-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-cos-routing-instance-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-forwarding-class-map-table-information { description "Show forwarding class map information"; output { choice output_c { leaf output { type string; } anyxml cos-forwarding-class-map-table-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-cos-forwarding-class-map-table-information rpc get-cos-forwarding-class-map-interface-table-information { description "Show interface to forwarding class mapping"; output { choice output_c { leaf output { type string; } anyxml cos-forwarding-class-map-interface-table-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-cos-forwarding-class-map-interface-table-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-fabric-queue-detailed-information { description "Display detailed pfe level statistics"; input { leaf destination-fpc { type union { type string { pattern "<.*>|$.*"; } type int32; } description "Destination FPC for which to show details"; } leaf destination-pfe { type union { type string { pattern "<.*>|$.*"; } type int32; } description "Destination pfe for which to show details"; } leaf source-fpc { type union { type string { pattern "<.*>|$.*"; } type int32; } description "Source FPC for which to show details"; } leaf source-pfe { type union { type string { pattern "<.*>|$.*"; } type int32; } description "Source pfe for which to show details"; } } output { choice output_c { leaf output { type string; } anyxml fabric-queue-detailed-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fabric-queue-detailed-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-cos-congestion-notification-information { description "Show congestion-notification information"; input { leaf cnp-name { type string; description "Name of congestion notification profile"; } } output { choice output_c { leaf output { type string; } anyxml cos-congestion-notification-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-cos-congestion-notification-information rpc get-cos-adjustment-control-profile-information { description "Show adjustment control profile information"; input { leaf adjustment-control-profile-name { type string; description "Name of the adjustment control profile"; } } output { choice output_c { leaf output { type string; } anyxml cos-adjustment-control-profile-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-cos-adjustment-control-profile-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 } // module junos-rpc-class-of-service
© 2023 YumaWorks, Inc. All rights reserved.