parent
9b2aa9591c
commit
ab6b3cde4e
@ -0,0 +1,2 @@
|
||||
{%- set default_topo = 't2' %}
|
||||
{%- include 'buffers_config.j2' %}
|
@ -0,0 +1,37 @@
|
||||
{%- set default_cable = '300m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{%- for port_idx in range(0,144,8) %}
|
||||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "6441610000",
|
||||
"type": "both",
|
||||
"mode": "dynamic",
|
||||
"xoff": "11354112"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"1280",
|
||||
"xon_offset": "2560",
|
||||
"dynamic_th":"0"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"33030144"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"-1"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,17 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
40000 300m 1280 2560 69632 0 1280
|
||||
100000 300m 1280 2560 110592 0 1280
|
||||
400000 300m 1280 2560 315392 0 1280
|
||||
40000 1000m 1280 2560 114688 0 1280
|
||||
100000 1000m 1280 2560 225280 0 1280
|
||||
400000 1000m 1280 2560 778240 0 1280
|
||||
40000 2000m 1280 2560 184320 0 1280
|
||||
100000 2000m 1280 2560 393216 0 1280
|
||||
400000 2000m 1280 2560 1445888 0 1280
|
||||
40000 80000m 1280 2560 5369856 0 1280
|
||||
100000 80000m 1280 2560 13357056 0 1280
|
||||
400000 80000m 1280 2560 53305344 0 1280
|
||||
40000 120000m 1280 2560 8028160 0 1280
|
||||
100000 120000m 1280 2560 20004864 0 1280
|
||||
400000 120000m 1280 2560 79900672 0 1280
|
@ -0,0 +1 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1,2 @@
|
||||
{%- set default_topo = 't2' %}
|
||||
{%- include 'buffers_config.j2' %}
|
@ -0,0 +1,37 @@
|
||||
{%- set default_cable = '300m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{%- for port_idx in range(144,288,8) %}
|
||||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "6441610000",
|
||||
"type": "both",
|
||||
"mode": "dynamic",
|
||||
"xoff": "11354112"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"1280",
|
||||
"xon_offset": "2560",
|
||||
"dynamic_th":"0"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"33030144"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"-1"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,17 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
40000 300m 1280 2560 69632 0 1280
|
||||
100000 300m 1280 2560 110592 0 1280
|
||||
400000 300m 1280 2560 315392 0 1280
|
||||
40000 1000m 1280 2560 114688 0 1280
|
||||
100000 1000m 1280 2560 225280 0 1280
|
||||
400000 1000m 1280 2560 778240 0 1280
|
||||
40000 2000m 1280 2560 184320 0 1280
|
||||
100000 2000m 1280 2560 393216 0 1280
|
||||
400000 2000m 1280 2560 1445888 0 1280
|
||||
40000 80000m 1280 2560 5369856 0 1280
|
||||
100000 80000m 1280 2560 13357056 0 1280
|
||||
400000 80000m 1280 2560 53305344 0 1280
|
||||
40000 120000m 1280 2560 8028160 0 1280
|
||||
100000 120000m 1280 2560 20004864 0 1280
|
||||
400000 120000m 1280 2560 79900672 0 1280
|
@ -0,0 +1 @@
|
||||
{%- include 'qos_config.j2' %}
|
Reference in New Issue
Block a user