Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HWSKU] add Arista-7060CX-32S-T96C8 and Arista-7060CX-32S-Q24C8 #2617

Merged
merged 3 commits into from
Mar 15, 2019
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 = 't0' %}
{%- include 'buffers_config.j2' %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{%- set default_cable = '5m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{%- for port_idx in range(0,6) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{%- endif %}
{%- endfor %}
{%- for port_idx in range(10,22) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{%- endif %}
{%- endfor %}
{%- for port_idx in range(24,32) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{%- endif %}
{%- endfor %}
{%- for port_idx in range(6,10) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %}
{%- endfor %}
{%- for port_idx in range(22,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": "11213696",
"type": "ingress",
"mode": "dynamic",
"xoff": "3855488"
},
"egress_lossy_pool": {
"size": "9532224",
"type": "egress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "15982720",
"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":"1518",
"static_th":"3995680"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossy_pool]",
"size":"1518",
"dynamic_th":"3"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
10000 5m 1248 2288 35776 -4 2288
25000 5m 1248 2288 53248 -4 2288
40000 5m 1248 2288 66560 -4 2288
50000 5m 1248 2288 79872 -4 2288
100000 5m 1248 2288 165568 -4 2288
10000 40m 1248 2288 37024 -4 2288
25000 40m 1248 2288 56160 -4 2288
40000 40m 1248 2288 71552 -4 2288
50000 40m 1248 2288 85696 -4 2288
100000 40m 1248 2288 177632 -4 2288
10000 300m 1248 2288 46176 -4 2288
25000 300m 1248 2288 79040 -4 2288
40000 300m 1248 2288 108160 -4 2288
50000 300m 1248 2288 131456 -4 2288
100000 300m 1248 2288 268736 -4 2288
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# name lanes alias index speed
Ethernet0 33,34,35,36 Ethernet1/1 1 100000
Ethernet4 37,38,39,40 Ethernet2/1 2 100000
Ethernet8 41,42,43,44 Ethernet3/1 3 40000
Ethernet12 45,46,47,48 Ethernet4/1 4 40000
Ethernet16 49,50,51,52 Ethernet5/1 5 40000
Ethernet20 53,54,55,56 Ethernet6/1 6 40000
Ethernet24 57,58,59,60 Ethernet7/1 7 40000
Ethernet28 61,62,63,64 Ethernet8/1 8 40000
Ethernet32 65,66,67,68 Ethernet9/1 9 100000
Ethernet36 69,70,71,72 Ethernet10/1 10 100000
Ethernet40 73,74,75,76 Ethernet11/1 11 40000
Ethernet44 77,78,79,80 Ethernet12/1 12 40000
Ethernet48 81,82,83,84 Ethernet13/1 13 40000
Ethernet52 85,86,87,88 Ethernet14/1 14 40000
Ethernet56 89,90,91,92 Ethernet15/1 15 40000
Ethernet60 93,94,95,96 Ethernet16/1 16 40000
Ethernet64 97,98,99,100 Ethernet17/1 17 100000
Ethernet68 101,102,103,104 Ethernet18/1 18 100000
Ethernet72 105,106,107,108 Ethernet19/1 19 40000
Ethernet76 109,110,111,112 Ethernet20/1 20 40000
Ethernet80 113,114,115,116 Ethernet21/1 21 40000
Ethernet84 117,118,119,120 Ethernet22/1 22 40000
Ethernet88 121,122,123,124 Ethernet23/1 23 40000
Ethernet92 125,126,127,128 Ethernet24/1 24 40000
Ethernet96 1,2,3,4 Ethernet25/1 25 100000
Ethernet100 5,6,7,8 Ethernet26/1 26 100000
Ethernet104 9,10,11,12 Ethernet27/1 27 40000
Ethernet108 13,14,15,16 Ethernet28/1 28 40000
Ethernet112 17,18,19,20 Ethernet29/1 29 40000
Ethernet116 21,22,23,24 Ethernet30/1 30 40000
Ethernet120 25,26,27,28 Ethernet31/1 31 40000
Ethernet124 29,30,31,32 Ethernet32/1 32 40000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{%- include 'qos_config.j2' %}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th-a7060-cx32s-8x100G+24x40G.config.bcm
Loading