0a9d7a2145
Platform: armhf-nokia_ixs7215_52x-r0 HwSKU: Nokia-7215 ASIC: marvell Port Config: 48x1G + 4x10G Co-authored-by: dflynn <dennis.flynn@nokia.com> Co-authored-by: Carl Keene <keene@nokia.com>
46 lines
1.2 KiB
Django/Jinja
46 lines
1.2 KiB
Django/Jinja
{%- set default_cable = '300m' %}
|
|
|
|
{%- macro generate_port_lists(PORT_ALL) %}
|
|
{# Generate list of ports #}
|
|
{% for port_idx in range(0,32) %}
|
|
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
|
{% endfor %}
|
|
{%- endmacro %}
|
|
|
|
{%- macro generate_buffer_pool_and_profiles() %}
|
|
"BUFFER_POOL": {
|
|
"ingress_lossless_pool": {
|
|
"size": "12766208",
|
|
"type": "ingress",
|
|
"mode": "dynamic"
|
|
},
|
|
"egress_lossless_pool": {
|
|
"size": "12766208",
|
|
"type": "egress",
|
|
"mode": "static"
|
|
},
|
|
"egress_lossy_pool": {
|
|
"size": "7326924",
|
|
"type": "egress",
|
|
"mode": "dynamic"
|
|
}
|
|
},
|
|
"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":"12766208"
|
|
},
|
|
"egress_lossy_profile": {
|
|
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
|
"size":"1518",
|
|
"dynamic_th":"3"
|
|
}
|
|
},
|
|
{%- endmacro %}
|