Skip to content

Commit 916490e

Browse files
authored
Add support for Arista-7060X6-64PE-B-O128 TH5-512 (sonic-net#1255)
<!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md ** Make sure all your commits include a signature generated with `git commit -s` ** If this is a bug fix, make sure your description includes "fixes #xxxx", or "closes #xxxx" or "resolves #xxxx" Please provide the following information: --> #### Why I did it Manual backport of sonic-net#22672 to address missing LT2 template files in automerge PR: Azure/sonic-buildimage-msft#1239 ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it #### How to verify it <!-- If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012. --> #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 - [ ] 202211 #### Tested branch (Please provide the tested image version) <!-- - Please provide tested image version - e.g. - [x] 20201231.100 --> - [ ] <!-- image version 1 --> - [ ] <!-- image version 2 --> #### Description for the changelog <!-- Write a short (one line) summary that describes the changes in this pull request for inclusion in the changelog: --> <!-- Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU. --> #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md --> #### A picture of a cute animal (not mandatory but encouraged)
2 parents a745b3f + dce9308 commit 916490e

10 files changed

Lines changed: 3043 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{%- macro generate_port_lists(PORT_ALL) %}
2+
{# Generate list of ports #}
3+
{%- for port_idx in range(0, 512, 4) %}
4+
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
5+
{%- endfor %}
6+
{%- endmacro %}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{%- set default_topo = 't1' %}
2+
{%- include 'buffers_config.j2' %}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{%- set default_cable = '5m' %}
2+
3+
{%- include 'buffer_ports.j2' %}
4+
5+
{%- macro generate_buffer_pool_and_profiles() %}
6+
"BUFFER_POOL": {
7+
"ingress_lossless_pool": {
8+
"size": "164075364",
9+
"type": "ingress",
10+
"mode": "dynamic",
11+
"xoff": "22010624"
12+
},
13+
"egress_lossless_pool": {
14+
"size": "164075364",
15+
"type": "egress",
16+
"mode": "static"
17+
}
18+
},
19+
"BUFFER_PROFILE": {
20+
"ingress_lossy_profile": {
21+
"pool": "ingress_lossless_pool",
22+
"size": "0",
23+
"static_th": "165364160"
24+
},
25+
"egress_lossy_profile": {
26+
"pool": "egress_lossless_pool",
27+
"size": "1778",
28+
"dynamic_th": "0"
29+
},
30+
"egress_lossless_profile": {
31+
"pool": "egress_lossless_pool",
32+
"size": "0",
33+
"static_th": "165364160"
34+
}
35+
},
36+
{%- endmacro %}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{%- set default_cable = '5m' %}
2+
3+
{%- include 'buffer_ports.j2' %}
4+
5+
{%- macro generate_buffer_pool_and_profiles() %}
6+
"BUFFER_POOL": {
7+
"ingress_lossless_pool": {
8+
"size": "164075364",
9+
"type": "ingress",
10+
"mode": "dynamic",
11+
"xoff": "22010624"
12+
},
13+
"egress_lossless_pool": {
14+
"size": "164075364",
15+
"type": "egress",
16+
"mode": "static"
17+
}
18+
},
19+
"BUFFER_PROFILE": {
20+
"ingress_lossy_profile": {
21+
"pool": "ingress_lossless_pool",
22+
"size": "0",
23+
"static_th": "165364160"
24+
},
25+
"egress_lossy_profile": {
26+
"pool": "egress_lossless_pool",
27+
"size": "1778",
28+
"dynamic_th": "0"
29+
},
30+
"egress_lossless_profile": {
31+
"pool": "egress_lossless_pool",
32+
"size": "0",
33+
"static_th": "165364160"
34+
}
35+
},
36+
{%- endmacro %}
Lines changed: 260 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,260 @@
1+
{
2+
"interfaces": {
3+
"Ethernet0": {
4+
"default_brkout_mode": "2x400G",
5+
"autoneg": "on"
6+
},
7+
"Ethernet8": {
8+
"default_brkout_mode": "2x400G",
9+
"autoneg": "on"
10+
},
11+
"Ethernet16": {
12+
"default_brkout_mode": "2x400G",
13+
"autoneg": "on"
14+
},
15+
"Ethernet24": {
16+
"default_brkout_mode": "2x400G",
17+
"autoneg": "on"
18+
},
19+
"Ethernet32": {
20+
"default_brkout_mode": "2x400G",
21+
"autoneg": "on"
22+
},
23+
"Ethernet40": {
24+
"default_brkout_mode": "2x400G",
25+
"autoneg": "on"
26+
},
27+
"Ethernet48": {
28+
"default_brkout_mode": "2x400G",
29+
"autoneg": "on"
30+
},
31+
"Ethernet56": {
32+
"default_brkout_mode": "2x400G",
33+
"autoneg": "on"
34+
},
35+
"Ethernet64": {
36+
"default_brkout_mode": "2x400G",
37+
"autoneg": "on"
38+
},
39+
"Ethernet72": {
40+
"default_brkout_mode": "2x400G",
41+
"autoneg": "on"
42+
},
43+
"Ethernet80": {
44+
"default_brkout_mode": "2x400G",
45+
"autoneg": "on"
46+
},
47+
"Ethernet88": {
48+
"default_brkout_mode": "2x400G",
49+
"autoneg": "on"
50+
},
51+
"Ethernet96": {
52+
"default_brkout_mode": "2x400G",
53+
"autoneg": "on"
54+
},
55+
"Ethernet104": {
56+
"default_brkout_mode": "2x400G",
57+
"autoneg": "on"
58+
},
59+
"Ethernet112": {
60+
"default_brkout_mode": "2x400G",
61+
"autoneg": "on"
62+
},
63+
"Ethernet120": {
64+
"default_brkout_mode": "2x400G",
65+
"autoneg": "on"
66+
},
67+
"Ethernet128": {
68+
"default_brkout_mode": "2x400G",
69+
"autoneg": "on"
70+
},
71+
"Ethernet136": {
72+
"default_brkout_mode": "2x400G",
73+
"autoneg": "on"
74+
},
75+
"Ethernet144": {
76+
"default_brkout_mode": "2x400G",
77+
"autoneg": "on"
78+
},
79+
"Ethernet152": {
80+
"default_brkout_mode": "2x400G",
81+
"autoneg": "on"
82+
},
83+
"Ethernet160": {
84+
"default_brkout_mode": "2x400G",
85+
"autoneg": "on"
86+
},
87+
"Ethernet168": {
88+
"default_brkout_mode": "2x400G",
89+
"autoneg": "on"
90+
},
91+
"Ethernet176": {
92+
"default_brkout_mode": "2x400G",
93+
"autoneg": "on"
94+
},
95+
"Ethernet184": {
96+
"default_brkout_mode": "2x400G",
97+
"autoneg": "on"
98+
},
99+
"Ethernet192": {
100+
"default_brkout_mode": "2x400G",
101+
"autoneg": "on"
102+
},
103+
"Ethernet200": {
104+
"default_brkout_mode": "2x400G",
105+
"autoneg": "on"
106+
},
107+
"Ethernet208": {
108+
"default_brkout_mode": "2x400G",
109+
"autoneg": "on"
110+
},
111+
"Ethernet216": {
112+
"default_brkout_mode": "2x400G",
113+
"autoneg": "on"
114+
},
115+
"Ethernet224": {
116+
"default_brkout_mode": "2x400G",
117+
"autoneg": "on"
118+
},
119+
"Ethernet232": {
120+
"default_brkout_mode": "2x400G",
121+
"autoneg": "on"
122+
},
123+
"Ethernet240": {
124+
"default_brkout_mode": "2x400G",
125+
"autoneg": "on"
126+
},
127+
"Ethernet248": {
128+
"default_brkout_mode": "2x400G",
129+
"autoneg": "on"
130+
},
131+
"Ethernet256": {
132+
"default_brkout_mode": "2x400G",
133+
"autoneg": "on"
134+
},
135+
"Ethernet264": {
136+
"default_brkout_mode": "2x400G",
137+
"autoneg": "on"
138+
},
139+
"Ethernet272": {
140+
"default_brkout_mode": "2x400G",
141+
"autoneg": "on"
142+
},
143+
"Ethernet280": {
144+
"default_brkout_mode": "2x400G",
145+
"autoneg": "on"
146+
},
147+
"Ethernet288": {
148+
"default_brkout_mode": "2x400G",
149+
"autoneg": "on"
150+
},
151+
"Ethernet296": {
152+
"default_brkout_mode": "2x400G",
153+
"autoneg": "on"
154+
},
155+
"Ethernet304": {
156+
"default_brkout_mode": "2x400G",
157+
"autoneg": "on"
158+
},
159+
"Ethernet312": {
160+
"default_brkout_mode": "2x400G",
161+
"autoneg": "on"
162+
},
163+
"Ethernet320": {
164+
"default_brkout_mode": "2x400G",
165+
"autoneg": "on"
166+
},
167+
"Ethernet328": {
168+
"default_brkout_mode": "2x400G",
169+
"autoneg": "on"
170+
},
171+
"Ethernet336": {
172+
"default_brkout_mode": "2x400G",
173+
"autoneg": "on"
174+
},
175+
"Ethernet344": {
176+
"default_brkout_mode": "2x400G",
177+
"autoneg": "on"
178+
},
179+
"Ethernet352": {
180+
"default_brkout_mode": "2x400G",
181+
"autoneg": "on"
182+
},
183+
"Ethernet360": {
184+
"default_brkout_mode": "2x400G",
185+
"autoneg": "on"
186+
},
187+
"Ethernet368": {
188+
"default_brkout_mode": "2x400G",
189+
"autoneg": "on"
190+
},
191+
"Ethernet376": {
192+
"default_brkout_mode": "2x400G",
193+
"autoneg": "on"
194+
},
195+
"Ethernet384": {
196+
"default_brkout_mode": "2x400G",
197+
"autoneg": "on"
198+
},
199+
"Ethernet392": {
200+
"default_brkout_mode": "2x400G",
201+
"autoneg": "on"
202+
},
203+
"Ethernet400": {
204+
"default_brkout_mode": "2x400G",
205+
"autoneg": "on"
206+
},
207+
"Ethernet408": {
208+
"default_brkout_mode": "2x400G",
209+
"autoneg": "on"
210+
},
211+
"Ethernet416": {
212+
"default_brkout_mode": "2x400G",
213+
"autoneg": "on"
214+
},
215+
"Ethernet424": {
216+
"default_brkout_mode": "2x400G",
217+
"autoneg": "on"
218+
},
219+
"Ethernet432": {
220+
"default_brkout_mode": "2x400G",
221+
"autoneg": "on"
222+
},
223+
"Ethernet440": {
224+
"default_brkout_mode": "2x400G",
225+
"autoneg": "on"
226+
},
227+
"Ethernet448": {
228+
"default_brkout_mode": "2x400G",
229+
"autoneg": "on"
230+
},
231+
"Ethernet456": {
232+
"default_brkout_mode": "2x400G",
233+
"autoneg": "on"
234+
},
235+
"Ethernet464": {
236+
"default_brkout_mode": "2x400G",
237+
"autoneg": "on"
238+
},
239+
"Ethernet472": {
240+
"default_brkout_mode": "2x400G",
241+
"autoneg": "on"
242+
},
243+
"Ethernet480": {
244+
"default_brkout_mode": "2x400G",
245+
"autoneg": "on"
246+
},
247+
"Ethernet488": {
248+
"default_brkout_mode": "2x400G",
249+
"autoneg": "on"
250+
},
251+
"Ethernet496": {
252+
"default_brkout_mode": "2x400G",
253+
"autoneg": "on"
254+
},
255+
"Ethernet504": {
256+
"default_brkout_mode": "2x400G",
257+
"autoneg": "on"
258+
}
259+
}
260+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# PG lossless profiles.
2+
# speed cable size xon xoff threshold xon_offset
3+
400000 5m 18796 0 445770 0 3556
4+
400000 40m 18796 0 445770 0 3556
5+
400000 150m 18796 0 445770 0 3556

0 commit comments

Comments
 (0)