Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{%- set default_topo = 't2' %}
{%- include 'buffers_config.j2' %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{%- set default_cable = '300m' %}

{%- set ports2cable = {
'torrouter_server' : '300m',
'leafrouter_torrouter' : '300m',
'spinerouter_leafrouter' : '2000m',
'upperspinerouter_spinerouter' : '30m',
'upperspinerouter_lowerspinerouter' : '30m',
'regionalhub_upperspinerouter': '120000m',
'aznghub_upperspinerouter' : '120000m',
'regionalhub_spinerouter': '120000m',
'aznghub_spinerouter' : '120000m'
}
-%}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{%- for port_idx in range(0,128,8) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
{%- endfor %}
{%- for port_idx in range(128,256,4) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
{%- endfor %}
{%- for port_idx in range(256,384,8) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "12884901888",
Copy link
Contributor

@vmittal-msft vmittal-msft Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arista-nwolfe As per my understanding, total memory should be 32GB per chip but above number seems to be driven from 16GB. Is that a mistake ? Similar concern for xoff param.

"type": "both",
"mode": "dynamic",
"xoff": "3225378816"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"xon_offset": "0",
"dynamic_th":"0"
},
"egress_lossless_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"dynamic_th":"-1"
},
"egress_lossy_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"dynamic_th":"-4"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"CONTEXTS": [
{
"guid" : 0,
"name" : "asic0",
"dbAsic" : "ASIC_DB",
"dbCounters" : "COUNTERS_DB",
"dbFlex": "FLEX_COUNTER_DB",
"dbState" : "STATE_DB",
"zmq_enable" : false,
"zmq_endpoint": "tcp://127.0.0.1:5555",
"zmq_ntf_endpoint": "tcp://127.0.0.1:5556",
"switches": [
{
"index" : 0,
"hwinfo" : ""
}
]
},
{
"guid" : 1,
"name" : "phys",
"dbAsic" : "GB_ASIC_DB",
"dbCounters" : "GB_COUNTERS_DB",
"dbFlex": "GB_FLEX_COUNTER_DB",
"dbState" : "STATE_DB",
"zmq_enable" : false,
"zmq_endpoint": "tcp://127.0.0.1:5565",
"zmq_ntf_endpoint": "tcp://127.0.0.1:5566",
"switches": [
{
"index" : 0,
"hwinfo" : "mdio0_0_0/0"
},
{
"index" : 1,
"hwinfo" : "mdio1_0_0/0"
},
{
"index" : 2,
"hwinfo" : "mdio2_0_0/0"
},
{
"index" : 3,
"hwinfo" : "mdio3_0_0/0"
},
{
"index" : 4,
"hwinfo" : "mdio4_0_0/0"
},
{
"index" : 5,
"hwinfo" : "mdio5_0_0/0"
},
{
"index" : 6,
"hwinfo" : "mdio6_0_0/0"
},
{
"index" : 7,
"hwinfo" : "mdio7_0_0/0"
},
{
"index" : 8,
"hwinfo" : "mdio8_0_0/0"
},
{
"index" : 9,
"hwinfo" : "mdio9_0_0/0"
},
{
"index" : 10,
"hwinfo" : "mdio10_0_0/0"
},
{
"index" : 11,
"hwinfo" : "mdio11_0_0/0"
},
{
"index" : 12,
"hwinfo" : "mdio12_0_0/0"
},
{
"index" : 13,
"hwinfo" : "mdio13_0_0/0"
},
{
"index" : 14,
"hwinfo" : "mdio14_0_0/0"
},
{
"index" : 15,
"hwinfo" : "mdio15_0_0/0"
}
]
}
]
}
Loading
Loading