97113bae61
* Dell: E3224F platform onboarding * Dell: E3224F platform onboarding
42 lines
1.1 KiB
Django/Jinja
42 lines
1.1 KiB
Django/Jinja
{%- set default_cable = '5m' %}
|
|
|
|
{%- macro generate_port_lists(PORT_ALL) %}
|
|
{# Generate list of ports #}
|
|
{% for port_idx in range(0,24) %}
|
|
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
|
{% endfor %}
|
|
{%- endmacro %}
|
|
|
|
{%- macro generate_buffer_pool_and_profiles() %}
|
|
"BUFFER_POOL": {
|
|
"ingress_lossless_pool": {
|
|
"size": "8192000",
|
|
"type": "ingress",
|
|
"mode": "dynamic",
|
|
"xoff": "196608"
|
|
},
|
|
"egress_lossless_pool": {
|
|
"size": "8388608",
|
|
"type": "egress",
|
|
"mode": "static"
|
|
}
|
|
},
|
|
"BUFFER_PROFILE": {
|
|
"ingress_lossy_profile": {
|
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
|
"size":"0",
|
|
"dynamic_th":"3"
|
|
},
|
|
"egress_lossless_profile": {
|
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
|
"size":"0",
|
|
"static_th":"8388608"
|
|
},
|
|
"egress_lossy_profile": {
|
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
|
"size":"1518",
|
|
"dynamic_th":"3"
|
|
}
|
|
},
|
|
{%- endmacro %}
|