This module contains a collection of YANG definitions for Cisco IOS-XR asr9k-prm package configuration. This module contains de...
Version: 2019-12-06
module Cisco-IOS-XR-asr9k-prm-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-prm-cfg"; prefix asr9k-prm-cfg; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR asr9k-prm package configuration. This module contains definitions for the following management objects: hardware-module-buffer-carve-mode: Buffer carve mode in hardware module port(s) hardware-module-qos-mode: QoS mode in hardware module port(s) hardware-module-processor: Processor configuration hardware-module-reset: Reset configuration hardware-module-tcp-mss-adjust: TCP MSS Adjust value in hardware module hardware-module-tcam: TCAM hardware-module-profile: Memory resource configuration hardware-module-efd: EFD (Early Fast Discard) hardware-module-all-qos-mode: Global qos-mode in hardware module Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-12-06" { description "Use the correct profile schema for exr and cxr"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.0"; typedef Prm-config-scale-profile { type enumeration { enum "default" { value 0; description "Default scale profile"; } enum "l2" { value 1; description "L2 scale profile"; } enum "l3" { value 2; description "L3 scale profile"; } enum "l3xl" { value 3; description "L3XL scale profile"; } enum "evpnconv" { value 5; description "EVPN convergence scale profile"; } } description "Prm config scale profile"; } typedef Prm-config-internal-tcam-part-profile { type enumeration { enum "to-default" { value 0; description "default internal tcam partitions (L2 1k, V4 24k , V6 1.75k entries): Tomahawk"; } enum "to-profile-se1" { value 1; description "Set internal tcam partitions for service edge (L2 4k, V4 15k, V6 3.25k entries): Tomahawk"; } } description "Prm config internal tcam part profile"; } typedef Asr9k-efd-burst-absorption { type enumeration { enum "disable" { value 0; description "Use default RFD settings"; } enum "enable" { value 1; description "Use Burst Absorption RFD settings"; } } description "Asr9k efd burst absorption"; } typedef Prm-processor-config { type enumeration { enum "mode-default" { value 0; description "Default cluster setting"; } enum "mode-full" { value 1; description "Full cluster setting"; } } description "Prm processor config"; } typedef Asr9k-efd-operation { type enumeration { enum "less-than" { value 2; description "Less than"; } enum "greater-than-or-equal" { value 3; description "Greater than or equal"; } } description "Asr9k efd operation"; } typedef Asr9k-efd-mode { type enumeration { enum "only-outer-encap" { value 0; description "Only check outer encap"; } enum "include-inner-encap" { value 1; description "Check outer and inner encap"; } } description "Asr9k efd mode"; } typedef Prm-tcam-profile { type enumeration { enum "profile0" { value 0; description "Profile 0"; } enum "profile1" { value 1; description "Profile 1"; } enum "profile2" { value 2; description "Profile 2"; } } description "Prm tcam profile"; } container hardware-module-buffer-carve-mode { description "Buffer carve mode in hardware module port(s)"; container nodes { description "Buffer carve applicable nodes"; list node { key "node-name"; description "A node"; leaf static { type empty; description "Enable Static Buffer carve mode"; } leaf node-name { type xr:Node-id; description "Node ID"; } } // list node } // container nodes } // container hardware-module-buffer-carve-mode container hardware-module-qos-mode { description "QoS mode in hardware module port(s)"; container nodes { description "QoS applicable nodes"; list node { key "node-name"; description "A node"; leaf child-shaping-disable { type empty; description "Disable child level/flat policy shaping"; } leaf lowburst-enable { type empty; description "Enable low burst mode for TM entity"; } leaf node-name { type xr:Node-id; description "Node ID"; } } // list node } // container nodes } // container hardware-module-qos-mode container hardware-module-processor { description "Processor configuration"; container nodes { description "applicable nodeTable"; list node { key "node-name"; description "applicable node"; leaf mode { type Prm-processor-config; description "Processor mode setting"; } leaf node-name { type xr:Node-id; description "Node ID"; } } // list node } // container nodes } // container hardware-module-processor container hardware-module-reset { description "Reset configuration"; container threshold { description "Threshold"; container reset-infinite { description "Reset threshold value infinite"; leaf disable-logging { type uint32; description "Disable np datalogging"; } leaf enable-logging { type uint32; description "Enable np datalogging"; } } // container reset-infinite container reset10 { description "Reset threshold value 10"; leaf reload10 { type uint32; description "Reload after value of 10 reached"; } leaf slice10 { type uint32; description "Slice down after value of 10 reached"; } } // container reset10 container reset5 { description "Reset threshold value 5"; leaf slice5 { type uint32; description "Slice down after value of 5 reached"; } leaf reload5 { type uint32; description "Reload after value of 5 reached"; } } // container reset5 } // container threshold } // container hardware-module-reset container hardware-module-tcp-mss-adjust { description "TCP MSS Adjust value in hardware module"; container nodes { description "TCP MSS Adjust applicable nodes"; list node { key "node-name"; description "A node"; container nps { description "TCP MSS Adjust NPs"; list np { key "np-id"; description "NP number"; leaf adjust-value { type uint32 { range "1280..1535"; } units "byte"; description "TCP MSS Adjust value"; } leaf np-id { type uint32 { range "0..7"; } description "Number between 0-7"; } } // list np } // container nps leaf node-name { type xr:Node-id; description "Node ID"; } } // list node } // container nodes } // container hardware-module-tcp-mss-adjust container hardware-module-tcam { description "TCAM"; container nodes { description "TCAM applicable nodes"; list node { key "node-name"; description "A TCAM applicable node"; leaf profile { type Prm-tcam-profile; default "profile0"; description "A TCAM partition profile"; } leaf node-name { type xr:Node-id; description "Node ID"; } } // list node } // container nodes leaf global-profile { type Prm-tcam-profile; default "profile0"; description "Global TCAM partition profile for all TCAM applicable nodes"; } } // container hardware-module-tcam container hardware-module-profile { description "Memory resource configuration"; container nodes { description "TCAM partition sizing applicable nodes"; list node { key "node-name"; description "A TCAM partition sizing applicable node"; container lightspeed-tcam-partition { description "Lightspeed Tcam partition profile"; leaf v4-ing { type uint32 { range "1..13"; } default "8"; description "Lightspeed Tcam Block count for 160-ingress region"; } leaf v4-egr { type uint32 { range "1..13"; } default "4"; description "Lightspeed Tcam Block count for 160-egress region"; } leaf v6-ing { type uint32 { range "1..13"; } default "3"; description "Lightspeed Tcam Block count for 640-ingress region"; } leaf v6-egr { type uint32 { range "1..13"; } default "1"; description "Lightspeed Tcam Block count for 640-egress region"; } } // container lightspeed-tcam-partition leaf internal-tcam-partition { type Prm-config-internal-tcam-part-profile; default "to-default"; description "Internal Tcam partition profile"; } leaf node-name { type xr:Node-id; description "Node Name"; } } // list node } // container nodes leaf scale-active { type Prm-config-scale-profile; default "default"; description "Memory resource profile scale active"; } leaf scale { type Prm-config-scale-profile; default "default"; description "Memory resource profile scale"; } } // container hardware-module-profile container hardware-module-efd { description "EFD (Early Fast Discard)"; container node-all { description "All nodes"; container vlan-priority-mask { presence "enable vlan-priority-mask"; description "VLAN Priority Mask"; leaf prec0 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec1 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec2 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec3 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec4 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec5 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec6 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec7 { type uint32 { range "0..1"; } default "0"; description "Prec"; } } // container vlan-priority-mask container ip-precedence { presence "Indicates a ip-precedence node is configured."; description "EFD IP parameters"; leaf precedence { type uint32 { range "0..7"; } mandatory true; description "IP TOS precedence threshold"; } leaf operation { type Asr9k-efd-operation; default "greater-than-or-equal"; description "IP operation"; } } // container ip-precedence container vlan-cos { presence "Indicates a vlan-cos node is configured."; description "EFD VLAN parameters"; leaf cos { type uint32 { range "0..7"; } mandatory true; description "VLAN COS threshold"; } leaf operation { type Asr9k-efd-operation; default "greater-than-or-equal"; description "VLAN operation"; } } // container vlan-cos leaf enable { type empty; description "Enable EFD for this node"; } container ip-priority-mask { presence "enable ip-priority-mask"; description "IP Priority Mask"; leaf prec0 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec1 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec2 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec3 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec4 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec5 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec6 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec7 { type uint32 { range "0..1"; } default "0"; description "Prec"; } } // container ip-priority-mask container mpls-priority-mask { presence "enable mpls-priority-mask"; description "MPLS Priority Mask"; leaf prec0 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec1 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec2 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec3 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec4 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec5 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec6 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec7 { type uint32 { range "0..1"; } default "0"; description "Prec"; } } // container mpls-priority-mask leaf mode { type Asr9k-efd-mode; description "EFD mode parameter."; } leaf burst-absorption { type Asr9k-efd-burst-absorption; description "EFD burst absorption parameter."; } container mpls-exp { presence "Indicates a mpls-exp node is configured."; description "EFD MPLS parameters"; leaf exp { type uint32 { range "0..7"; } mandatory true; description "MPLS EXP threshold"; } leaf operation { type Asr9k-efd-operation; default "greater-than-or-equal"; description "MPLS operation"; } } // container mpls-exp } // container node-all container nodes { description "EFD applicable nodes"; list node { key "node-name"; description "A node"; leaf node-name { type xr:Node-id; description "Node Name"; } container vlan-priority-mask { presence "enable vlan-priority-mask"; description "VLAN Priority Mask"; leaf prec0 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec1 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec2 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec3 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec4 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec5 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec6 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec7 { type uint32 { range "0..1"; } default "0"; description "Prec"; } } // container vlan-priority-mask container ip-precedence { presence "Indicates a ip-precedence node is configured."; description "EFD IP parameters"; leaf precedence { type uint32 { range "0..7"; } mandatory true; description "IP TOS precedence threshold"; } leaf operation { type Asr9k-efd-operation; default "greater-than-or-equal"; description "IP operation"; } } // container ip-precedence container vlan-cos { presence "Indicates a vlan-cos node is configured."; description "EFD VLAN parameters"; leaf cos { type uint32 { range "0..7"; } mandatory true; description "VLAN COS threshold"; } leaf operation { type Asr9k-efd-operation; default "greater-than-or-equal"; description "VLAN operation"; } } // container vlan-cos leaf enable { type empty; description "Enable EFD for this node"; } container ip-priority-mask { presence "enable ip-priority-mask"; description "IP Priority Mask"; leaf prec0 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec1 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec2 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec3 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec4 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec5 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec6 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec7 { type uint32 { range "0..1"; } default "0"; description "Prec"; } } // container ip-priority-mask container mpls-priority-mask { presence "enable mpls-priority-mask"; description "MPLS Priority Mask"; leaf prec0 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec1 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec2 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec3 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec4 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec5 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec6 { type uint32 { range "0..1"; } default "0"; description "Prec"; } leaf prec7 { type uint32 { range "0..1"; } default "0"; description "Prec"; } } // container mpls-priority-mask leaf mode { type Asr9k-efd-mode; description "EFD mode parameter."; } leaf burst-absorption { type Asr9k-efd-burst-absorption; description "EFD burst absorption parameter."; } container mpls-exp { presence "Indicates a mpls-exp node is configured."; description "EFD MPLS parameters"; leaf exp { type uint32 { range "0..7"; } mandatory true; description "MPLS EXP threshold"; } leaf operation { type Asr9k-efd-operation; default "greater-than-or-equal"; description "MPLS operation"; } } // container mpls-exp } // list node } // container nodes } // container hardware-module-efd container hardware-module-all-qos-mode { description "Global qos-mode in hardware module"; leaf per-priority-buffer-limit { type empty; description "enable per-priority-buffer-limit"; } leaf ingress-queue { type empty; description "Enable ingress queue for MOD-80 4X10G MPA or MOD-400 20X10G MPAor MOD-200 8X10G MPA"; } leaf aggregate-bundle-mode { type empty; description "Enable aggregate bundle mode "; } leaf bundle-aggregate-policer-mode { type empty; description "Enable bundle aggregate policer mode "; } leaf wred-buffer-mode { type empty; description "Enable L4 wred accounting buffer mode"; } } // container hardware-module-all-qos-mode } // module Cisco-IOS-XR-asr9k-prm-cfg
© 2023 YumaWorks, Inc. All rights reserved.