Skip to content

Commit b3ae785

Browse files
authored
[Juniper][QFX5200] Adding qos.json (#4982)
Adding buffers.json.j2, buffers_defaults_t1.j2 and qos.json.j2 for qfx5200 platform. Signed-off-by: Ciju Rajan K <[email protected]>
1 parent 16a37d8 commit b3ae785

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{%- include 'buffers_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{%- set default_cable = '5m' %}
2+
3+
{%- macro generate_port_lists(PORT_ALL) %}
4+
{# Generate list of ports #}
5+
{%- for port_idx in range(0,64) %}
6+
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
7+
{%- endfor %}
8+
{%- endmacro %}
9+
10+
{%- macro generate_buffer_pool_and_profiles() %}
11+
"BUFFER_POOL": {
12+
"ingress_lossless_pool": {
13+
"size": "33329088",
14+
"type": "ingress",
15+
"mode": "dynamic",
16+
"xoff": "7827456"
17+
},
18+
"egress_lossy_pool": {
19+
"size": "26663272",
20+
"type": "egress",
21+
"mode": "dynamic"
22+
},
23+
"egress_lossless_pool": {
24+
"size": "42349632",
25+
"type": "egress",
26+
"mode": "static"
27+
}
28+
},
29+
"BUFFER_PROFILE": {
30+
"ingress_lossy_profile": {
31+
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
32+
"size":"0",
33+
"static_th":"44302336"
34+
},
35+
"egress_lossless_profile": {
36+
"pool":"[BUFFER_POOL|egress_lossless_pool]",
37+
"size":"0",
38+
"static_th":"42349632"
39+
},
40+
"egress_lossy_profile": {
41+
"pool":"[BUFFER_POOL|egress_lossy_pool]",
42+
"size":"1664",
43+
"dynamic_th":"-1"
44+
}
45+
},
46+
{%- endmacro %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{%- include 'qos_config.j2' %}

0 commit comments

Comments
 (0)