Skip to content

Commit 5fc85f3

Browse files
authored
Updated default ECN settings for T2 chassis (#14388)
Why I did it Update ECN settings for T2 chassis How I did it Updated qos config file to load these settings during switch bootup How to verify it Verified on line card on T2 chassis
1 parent 7dcd55c commit 5fc85f3

35 files changed

+34276
-12
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1+
{%- macro generate_wred_profiles() %}
2+
"WRED_PROFILE": {
3+
"AZURE_LOSSLESS" : {
4+
"wred_green_enable" : "true",
5+
"wred_yellow_enable" : "true",
6+
"wred_red_enable" : "true",
7+
"ecn" : "ecn_all",
8+
"green_max_threshold" : "10000000",
9+
"green_min_threshold" : "2000000",
10+
"yellow_max_threshold" : "10000000",
11+
"yellow_min_threshold" : "2000000",
12+
"red_max_threshold" : "10000000",
13+
"red_min_threshold" : "2000000",
14+
"green_drop_probability" : "5",
15+
"yellow_drop_probability": "5",
16+
"red_drop_probability" : "5"
17+
}
18+
},
19+
{%- endmacro %}
20+
121
{%- include 'qos_config.j2' %}

0 commit comments

Comments
 (0)