-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
296 changed files
with
22,116 additions
and
1,296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{%- set default_topo = 't0' %} | ||
{%- include 'buffers_config.j2' %} |
54 changes: 54 additions & 0 deletions
54
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t0.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
{%- set default_cable = '300m' %} | ||
|
||
{%- set ports2cable = { | ||
'torrouter_server' : '5m', | ||
'leafrouter_torrouter' : '40m', | ||
'spinerouter_leafrouter' : '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": "10875072", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "4194112" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "9243812", | ||
"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":"15982720" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossy_pool]", | ||
"size":"1518", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
54 changes: 54 additions & 0 deletions
54
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/buffers_defaults_t1.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
{%- set default_cable = '300m' %} | ||
|
||
{%- set ports2cable = { | ||
'torrouter_server' : '5m', | ||
'leafrouter_torrouter' : '40m', | ||
'spinerouter_leafrouter' : '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": "10875072", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "4194112" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "9243812", | ||
"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":"15982720" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossy_pool]", | ||
"size":"1518", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
17 changes: 17 additions & 0 deletions
17
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 0 2288 | ||
25000 5m 1248 2288 53248 0 2288 | ||
40000 5m 1248 2288 66560 0 2288 | ||
50000 5m 1248 2288 79872 0 2288 | ||
100000 5m 1248 2288 165568 0 2288 | ||
10000 40m 1248 2288 37024 0 2288 | ||
25000 40m 1248 2288 56160 0 2288 | ||
40000 40m 1248 2288 71552 0 2288 | ||
50000 40m 1248 2288 85696 0 2288 | ||
100000 40m 1248 2288 177632 0 2288 | ||
10000 300m 1248 2288 46176 0 2288 | ||
25000 300m 1248 2288 79040 0 2288 | ||
40000 300m 1248 2288 108160 0 2288 | ||
50000 300m 1248 2288 141856 0 2288 | ||
100000 300m 1248 2288 268736 0 2288 |
21 changes: 21 additions & 0 deletions
21
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-C32/qos.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{%- macro generate_wred_profiles() %} | ||
"WRED_PROFILE": { | ||
"AZURE_LOSSLESS" : { | ||
"wred_green_enable" : "true", | ||
"wred_yellow_enable" : "true", | ||
"wred_red_enable" : "true", | ||
"ecn" : "ecn_all", | ||
"green_max_threshold" : "2097152", | ||
"green_min_threshold" : "250000", | ||
"yellow_max_threshold" : "2097152", | ||
"yellow_min_threshold" : "1048576", | ||
"red_max_threshold" : "2097152", | ||
"red_min_threshold" : "1048576", | ||
"green_drop_probability" : "5", | ||
"yellow_drop_probability": "5", | ||
"red_drop_probability" : "5" | ||
} | ||
}, | ||
{%- endmacro %} | ||
|
||
{%- include 'qos_config.j2' %} |
2 changes: 2 additions & 0 deletions
2
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/buffers.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{%- set default_topo = 't0' %} | ||
{%- include 'buffers_config.j2' %} |
61 changes: 61 additions & 0 deletions
61
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/buffers_defaults_t0.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(26,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,26) %} | ||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{%- endif %} | ||
{%- endfor %} | ||
{%- endmacro %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "10875072", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "4194112" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "9243812", | ||
"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":"15982720" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossy_pool]", | ||
"size":"1518", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
17 changes: 17 additions & 0 deletions
17
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 0 2288 | ||
25000 5m 1248 2288 53248 0 2288 | ||
40000 5m 1248 2288 66560 0 2288 | ||
50000 5m 1248 2288 79872 0 2288 | ||
100000 5m 1248 2288 165568 0 2288 | ||
10000 40m 1248 2288 37024 0 2288 | ||
25000 40m 1248 2288 56160 0 2288 | ||
40000 40m 1248 2288 71552 0 2288 | ||
50000 40m 1248 2288 85696 0 2288 | ||
100000 40m 1248 2288 177632 0 2288 | ||
10000 300m 1248 2288 46176 0 2288 | ||
25000 300m 1248 2288 79040 0 2288 | ||
40000 300m 1248 2288 108160 0 2288 | ||
50000 300m 1248 2288 141856 0 2288 | ||
100000 300m 1248 2288 268736 0 2288 |
21 changes: 21 additions & 0 deletions
21
device/arista/x86_64-arista_7050cx3_32s/Arista-7050CX3-32S-D48C8/qos.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{%- macro generate_wred_profiles() %} | ||
"WRED_PROFILE": { | ||
"AZURE_LOSSLESS" : { | ||
"wred_green_enable" : "true", | ||
"wred_yellow_enable" : "true", | ||
"wred_red_enable" : "true", | ||
"ecn" : "ecn_all", | ||
"green_max_threshold" : "2097152", | ||
"green_min_threshold" : "250000", | ||
"yellow_max_threshold" : "2097152", | ||
"yellow_min_threshold" : "1048576", | ||
"red_max_threshold" : "2097152", | ||
"red_min_threshold" : "1048576", | ||
"green_drop_probability" : "5", | ||
"yellow_drop_probability": "5", | ||
"red_drop_probability" : "5" | ||
} | ||
}, | ||
{%- endmacro %} | ||
|
||
{%- include 'qos_config.j2' %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
device/arista/x86_64-arista_7060_cx32s/Arista-7060CX-32S-Q32/sai.profile.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
device/celestica/x86_64-cel_seastone-r0/Celestica-DX010-C32/sai.profile.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.