[devices]: add Mellanox-SN2700-D48C8 hwsku (#1717)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
parent
74aa48279f
commit
c0bb2e04d5
@ -0,0 +1,2 @@
|
|||||||
|
{%- set default_topo = 't0' %}
|
||||||
|
{%- include 'buffers_config.j2' %}
|
@ -0,0 +1,90 @@
|
|||||||
|
{% set default_cable = '5m' %}
|
||||||
|
{% set ingress_lossless_pool_size = '4194304' %}
|
||||||
|
{% set ingress_lossy_pool_size = '7340032' %}
|
||||||
|
{% set egress_lossless_pool_size = '16777152' %}
|
||||||
|
{% set egress_lossy_pool_size = '7340032' %}
|
||||||
|
|
||||||
|
{%- 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)) %}{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
|
"BUFFER_POOL": {
|
||||||
|
"ingress_lossless_pool": {
|
||||||
|
"size": "{{ ingress_lossless_pool_size }}",
|
||||||
|
"type": "ingress",
|
||||||
|
"mode": "dynamic"
|
||||||
|
},
|
||||||
|
"ingress_lossy_pool": {
|
||||||
|
"size": "{{ ingress_lossy_pool_size }}",
|
||||||
|
"type": "ingress",
|
||||||
|
"mode": "dynamic"
|
||||||
|
},
|
||||||
|
"egress_lossless_pool": {
|
||||||
|
"size": "{{ egress_lossless_pool_size }}",
|
||||||
|
"type": "egress",
|
||||||
|
"mode": "dynamic"
|
||||||
|
},
|
||||||
|
"egress_lossy_pool": {
|
||||||
|
"size": "{{ egress_lossy_pool_size }}",
|
||||||
|
"type": "egress",
|
||||||
|
"mode": "dynamic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"BUFFER_PROFILE": {
|
||||||
|
"ingress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"dynamic_th":"0"
|
||||||
|
},
|
||||||
|
"ingress_lossy_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|ingress_lossy_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"egress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"dynamic_th":"7"
|
||||||
|
},
|
||||||
|
"egress_lossy_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
||||||
|
"size":"4096",
|
||||||
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"q_lossy_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"dynamic_th":"3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{%- macro generate_profile_lists(port_names) %}
|
||||||
|
"BUFFER_PORT_INGRESS_PROFILE_LIST": {
|
||||||
|
"{{ port_names }}": {
|
||||||
|
"profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"BUFFER_PORT_EGRESS_PROFILE_LIST": {
|
||||||
|
"{{ port_names }}": {
|
||||||
|
"profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{%- macro generate_queue_buffers(port_names) %}
|
||||||
|
"BUFFER_QUEUE": {
|
||||||
|
"{{ port_names }}|3-4": {
|
||||||
|
"profile" : "[BUFFER_PROFILE|egress_lossless_profile]"
|
||||||
|
},
|
||||||
|
"{{ port_names }}|0-1": {
|
||||||
|
"profile" : "[BUFFER_PROFILE|q_lossy_profile]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,90 @@
|
|||||||
|
{% set default_cable = '5m' %}
|
||||||
|
{% set ingress_lossless_pool_size = '2097152' %}
|
||||||
|
{% set ingress_lossy_pool_size = '5242880' %}
|
||||||
|
{% set egress_lossless_pool_size = '16777152' %}
|
||||||
|
{% set egress_lossy_pool_size = '5242880' %}
|
||||||
|
|
||||||
|
{%- 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)) %}{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
|
"BUFFER_POOL": {
|
||||||
|
"ingress_lossless_pool": {
|
||||||
|
"size": "{{ ingress_lossless_pool_size }}",
|
||||||
|
"type": "ingress",
|
||||||
|
"mode": "dynamic"
|
||||||
|
},
|
||||||
|
"ingress_lossy_pool": {
|
||||||
|
"size": "{{ ingress_lossy_pool_size }}",
|
||||||
|
"type": "ingress",
|
||||||
|
"mode": "dynamic"
|
||||||
|
},
|
||||||
|
"egress_lossless_pool": {
|
||||||
|
"size": "{{ egress_lossless_pool_size }}",
|
||||||
|
"type": "egress",
|
||||||
|
"mode": "dynamic"
|
||||||
|
},
|
||||||
|
"egress_lossy_pool": {
|
||||||
|
"size": "{{ egress_lossy_pool_size }}",
|
||||||
|
"type": "egress",
|
||||||
|
"mode": "dynamic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"BUFFER_PROFILE": {
|
||||||
|
"ingress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"dynamic_th":"0"
|
||||||
|
},
|
||||||
|
"ingress_lossy_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|ingress_lossy_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"egress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"dynamic_th":"7"
|
||||||
|
},
|
||||||
|
"egress_lossy_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
||||||
|
"size":"4096",
|
||||||
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"q_lossy_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"dynamic_th":"3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{%- macro generate_profile_lists(port_names) %}
|
||||||
|
"BUFFER_PORT_INGRESS_PROFILE_LIST": {
|
||||||
|
"{{ port_names }}": {
|
||||||
|
"profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"BUFFER_PORT_EGRESS_PROFILE_LIST": {
|
||||||
|
"{{ port_names }}": {
|
||||||
|
"profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{%- macro generate_queue_buffers(port_names) %}
|
||||||
|
"BUFFER_QUEUE": {
|
||||||
|
"{{ port_names }}|3-4": {
|
||||||
|
"profile" : "[BUFFER_PROFILE|egress_lossless_profile]"
|
||||||
|
},
|
||||||
|
"{{ port_names }}|0-1": {
|
||||||
|
"profile" : "[BUFFER_PROFILE|q_lossy_profile]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
|||||||
|
# PG lossless profiles.
|
||||||
|
# speed cable size xon xoff threshold
|
||||||
|
10000 5m 34816 18432 16384 0
|
||||||
|
25000 5m 34816 18432 16384 0
|
||||||
|
40000 5m 34816 18432 16384 0
|
||||||
|
50000 5m 34816 18432 16384 0
|
||||||
|
100000 5m 36864 18432 18432 0
|
||||||
|
10000 40m 36864 18432 18432 0
|
||||||
|
25000 40m 39936 18432 21504 0
|
||||||
|
40000 40m 41984 18432 23552 0
|
||||||
|
50000 40m 41984 18432 23552 0
|
||||||
|
100000 40m 54272 18432 35840 0
|
||||||
|
10000 300m 49152 18432 30720 0
|
||||||
|
25000 300m 71680 18432 53248 0
|
||||||
|
40000 300m 94208 18432 75776 0
|
||||||
|
50000 300m 94208 18432 75776 0
|
||||||
|
100000 300m 184320 18432 165888 0
|
@ -0,0 +1,57 @@
|
|||||||
|
# name lanes speed
|
||||||
|
Ethernet0 0,1 50000
|
||||||
|
Ethernet2 2,3 50000
|
||||||
|
Ethernet4 4,5 50000
|
||||||
|
Ethernet6 6,7 50000
|
||||||
|
Ethernet8 8,9 50000
|
||||||
|
Ethernet10 10,11 50000
|
||||||
|
Ethernet12 12,13 50000
|
||||||
|
Ethernet14 14,15 50000
|
||||||
|
Ethernet16 16,17 50000
|
||||||
|
Ethernet18 18,19 50000
|
||||||
|
Ethernet20 20,21 50000
|
||||||
|
Ethernet22 22,23 50000
|
||||||
|
Ethernet24 24,25,26,27 100000
|
||||||
|
Ethernet28 28,29,30,31 100000
|
||||||
|
Ethernet32 32,33,34,35 100000
|
||||||
|
Ethernet36 36,37,38,39 100000
|
||||||
|
Ethernet40 40,41 50000
|
||||||
|
Ethernet42 42,43 50000
|
||||||
|
Ethernet44 44,45 50000
|
||||||
|
Ethernet46 46,47 50000
|
||||||
|
Ethernet48 48,49 50000
|
||||||
|
Ethernet50 50,51 50000
|
||||||
|
Ethernet52 52,53 50000
|
||||||
|
Ethernet54 54,55 50000
|
||||||
|
Ethernet56 56,57 50000
|
||||||
|
Ethernet58 58,59 50000
|
||||||
|
Ethernet60 60,61 50000
|
||||||
|
Ethernet62 62,63 50000
|
||||||
|
Ethernet64 64,65 50000
|
||||||
|
Ethernet66 66,67 50000
|
||||||
|
Ethernet68 68,69 50000
|
||||||
|
Ethernet70 70,71 50000
|
||||||
|
Ethernet72 72,73 50000
|
||||||
|
Ethernet74 74,75 50000
|
||||||
|
Ethernet76 76,77 50000
|
||||||
|
Ethernet78 78,79 50000
|
||||||
|
Ethernet80 80,81 50000
|
||||||
|
Ethernet82 82,83 50000
|
||||||
|
Ethernet84 84,85 50000
|
||||||
|
Ethernet86 86,87 50000
|
||||||
|
Ethernet88 88,89,90,91 100000
|
||||||
|
Ethernet92 92,93,94,95 100000
|
||||||
|
Ethernet96 96,97,98,99 100000
|
||||||
|
Ethernet100 100,101,102,103 100000
|
||||||
|
Ethernet104 104,105 50000
|
||||||
|
Ethernet106 106,107 50000
|
||||||
|
Ethernet108 108,109 50000
|
||||||
|
Ethernet110 110,111 50000
|
||||||
|
Ethernet112 112,113 50000
|
||||||
|
Ethernet114 114,115 50000
|
||||||
|
Ethernet116 116,117 50000
|
||||||
|
Ethernet118 118,119 50000
|
||||||
|
Ethernet120 120,121 50000
|
||||||
|
Ethernet122 122,123 50000
|
||||||
|
Ethernet124 124,125 50000
|
||||||
|
Ethernet126 126,127 50000
|
@ -0,0 +1,166 @@
|
|||||||
|
{
|
||||||
|
"TC_TO_PRIORITY_GROUP_MAP": {
|
||||||
|
"AZURE": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"MAP_PFC_PRIORITY_TO_QUEUE": {
|
||||||
|
"AZURE": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"TC_TO_QUEUE_MAP": {
|
||||||
|
"AZURE": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"DSCP_TO_TC_MAP": {
|
||||||
|
"AZURE": {
|
||||||
|
"0":"0",
|
||||||
|
"1":"0",
|
||||||
|
"2":"0",
|
||||||
|
"3":"3",
|
||||||
|
"4":"4",
|
||||||
|
"5":"0",
|
||||||
|
"6":"0",
|
||||||
|
"7":"0",
|
||||||
|
"8":"1",
|
||||||
|
"9":"0",
|
||||||
|
"10":"0",
|
||||||
|
"11":"0",
|
||||||
|
"12":"0",
|
||||||
|
"13":"0",
|
||||||
|
"14":"0",
|
||||||
|
"15":"0",
|
||||||
|
"16":"0",
|
||||||
|
"17":"0",
|
||||||
|
"18":"0",
|
||||||
|
"19":"0",
|
||||||
|
"20":"0",
|
||||||
|
"21":"0",
|
||||||
|
"22":"0",
|
||||||
|
"23":"0",
|
||||||
|
"24":"0",
|
||||||
|
"25":"0",
|
||||||
|
"26":"0",
|
||||||
|
"27":"0",
|
||||||
|
"28":"0",
|
||||||
|
"29":"0",
|
||||||
|
"30":"0",
|
||||||
|
"31":"0",
|
||||||
|
"32":"0",
|
||||||
|
"33":"0",
|
||||||
|
"34":"0",
|
||||||
|
"35":"0",
|
||||||
|
"36":"0",
|
||||||
|
"37":"0",
|
||||||
|
"38":"0",
|
||||||
|
"39":"0",
|
||||||
|
"40":"0",
|
||||||
|
"41":"0",
|
||||||
|
"42":"0",
|
||||||
|
"43":"0",
|
||||||
|
"44":"0",
|
||||||
|
"45":"0",
|
||||||
|
"46":"0",
|
||||||
|
"47":"0",
|
||||||
|
"48":"0",
|
||||||
|
"49":"0",
|
||||||
|
"50":"0",
|
||||||
|
"51":"0",
|
||||||
|
"52":"0",
|
||||||
|
"53":"0",
|
||||||
|
"54":"0",
|
||||||
|
"55":"0",
|
||||||
|
"56":"0",
|
||||||
|
"57":"0",
|
||||||
|
"58":"0",
|
||||||
|
"59":"0",
|
||||||
|
"60":"0",
|
||||||
|
"61":"0",
|
||||||
|
"62":"0",
|
||||||
|
"63":"0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"SCHEDULER": {
|
||||||
|
"scheduler.0": {
|
||||||
|
"type":"DWRR",
|
||||||
|
"weight": "25"
|
||||||
|
},
|
||||||
|
"scheduler.1": {
|
||||||
|
"type":"DWRR",
|
||||||
|
"weight": "30"
|
||||||
|
},
|
||||||
|
"scheduler.2": {
|
||||||
|
"type":"DWRR",
|
||||||
|
"weight": "20"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"PFC_PRIORITY_TO_PRIORITY_GROUP_MAP": {
|
||||||
|
"AZURE": {
|
||||||
|
"0": "0",
|
||||||
|
"1": "1",
|
||||||
|
"3": "3",
|
||||||
|
"4": "4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"PORT_QOS_MAP": {
|
||||||
|
"Ethernet8,Ethernet2,Ethernet0,Ethernet6,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet106,Ethernet58,Ethernet126,Ethernet96,Ethernet124,Ethernet122,Ethernet92,Ethernet120,Ethernet50,Ethernet52,Ethernet54,Ethernet56,Ethernet76,Ethernet74,Ethernet18,Ethernet70,Ethernet32,Ethernet72,Ethernet16,Ethernet36,Ethernet78,Ethernet60,Ethernet28,Ethernet62,Ethernet14,Ethernet88,Ethernet118,Ethernet24,Ethernet116,Ethernet82,Ethernet114,Ethernet80,Ethernet112,Ethernet86,Ethernet110,Ethernet84,Ethernet48,Ethernet10,Ethernet44,Ethernet42,Ethernet40,Ethernet64,Ethernet66,Ethernet12,Ethernet46,Ethernet20,Ethernet22,Ethernet68": {
|
||||||
|
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]",
|
||||||
|
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]",
|
||||||
|
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
|
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
|
||||||
|
"pfc_to_pg_map" : "[PFC_PRIORITY_TO_PRIORITY_GROUP_MAP|AZURE]",
|
||||||
|
"pfc_enable": "3,4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"WRED_PROFILE": {
|
||||||
|
"AZURE_LOSSY": {
|
||||||
|
"wred_green_enable":"true",
|
||||||
|
"wred_yellow_enable":"true",
|
||||||
|
"ecn":"ecn_all",
|
||||||
|
"red_max_threshold":"516096",
|
||||||
|
"red_min_threshold":"516096",
|
||||||
|
"yellow_max_threshold":"516096",
|
||||||
|
"yellow_min_threshold":"516096",
|
||||||
|
"green_max_threshold": "184320",
|
||||||
|
"green_min_threshold": "184320"
|
||||||
|
},
|
||||||
|
"AZURE_LOSSLESS": {
|
||||||
|
"wred_green_enable":"true",
|
||||||
|
"wred_yellow_enable":"true",
|
||||||
|
"ecn":"ecn_all",
|
||||||
|
"red_max_threshold":"516096",
|
||||||
|
"red_min_threshold":"516096",
|
||||||
|
"yellow_max_threshold":"516096",
|
||||||
|
"yellow_min_threshold":"516096",
|
||||||
|
"green_max_threshold": "184320",
|
||||||
|
"green_min_threshold": "184320"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"QUEUE": {
|
||||||
|
"Ethernet8,Ethernet2,Ethernet0,Ethernet6,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet106,Ethernet58,Ethernet126,Ethernet96,Ethernet124,Ethernet122,Ethernet92,Ethernet120,Ethernet50,Ethernet52,Ethernet54,Ethernet56,Ethernet76,Ethernet74,Ethernet18,Ethernet70,Ethernet32,Ethernet72,Ethernet16,Ethernet36,Ethernet78,Ethernet60,Ethernet28,Ethernet62,Ethernet14,Ethernet88,Ethernet118,Ethernet24,Ethernet116,Ethernet82,Ethernet114,Ethernet80,Ethernet112,Ethernet86,Ethernet110,Ethernet84,Ethernet48,Ethernet10,Ethernet44,Ethernet42,Ethernet40,Ethernet64,Ethernet66,Ethernet12,Ethernet46,Ethernet20,Ethernet22,Ethernet68|0": {
|
||||||
|
"scheduler" : "[SCHEDULER|scheduler.1]"
|
||||||
|
},
|
||||||
|
"Ethernet8,Ethernet2,Ethernet0,Ethernet6,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet106,Ethernet58,Ethernet126,Ethernet96,Ethernet124,Ethernet122,Ethernet92,Ethernet120,Ethernet50,Ethernet52,Ethernet54,Ethernet56,Ethernet76,Ethernet74,Ethernet18,Ethernet70,Ethernet32,Ethernet72,Ethernet16,Ethernet36,Ethernet78,Ethernet60,Ethernet28,Ethernet62,Ethernet14,Ethernet88,Ethernet118,Ethernet24,Ethernet116,Ethernet82,Ethernet114,Ethernet80,Ethernet112,Ethernet86,Ethernet110,Ethernet84,Ethernet48,Ethernet10,Ethernet44,Ethernet42,Ethernet40,Ethernet64,Ethernet66,Ethernet12,Ethernet46,Ethernet20,Ethernet22,Ethernet68|1": {
|
||||||
|
"scheduler" : "[SCHEDULER|scheduler.2]"
|
||||||
|
},
|
||||||
|
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|0-1": {
|
||||||
|
"wred_profile" : "[WRED_PROFILE|AZURE_LOSSY]"
|
||||||
|
},
|
||||||
|
"Ethernet8,Ethernet2,Ethernet0,Ethernet6,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet106,Ethernet58,Ethernet126,Ethernet96,Ethernet124,Ethernet122,Ethernet92,Ethernet120,Ethernet50,Ethernet52,Ethernet54,Ethernet56,Ethernet76,Ethernet74,Ethernet18,Ethernet70,Ethernet32,Ethernet72,Ethernet16,Ethernet36,Ethernet78,Ethernet60,Ethernet28,Ethernet62,Ethernet14,Ethernet88,Ethernet118,Ethernet24,Ethernet116,Ethernet82,Ethernet114,Ethernet80,Ethernet112,Ethernet86,Ethernet110,Ethernet84,Ethernet48,Ethernet10,Ethernet44,Ethernet42,Ethernet40,Ethernet64,Ethernet66,Ethernet12,Ethernet46,Ethernet20,Ethernet22,Ethernet68|3-4": {
|
||||||
|
"scheduler" : "[SCHEDULER|scheduler.0]",
|
||||||
|
"wred_profile" : "[WRED_PROFILE|AZURE_LOSSLESS]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_48x50g_8x100g.xml
|
@ -0,0 +1,267 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<root>
|
||||||
|
<platform_info type="2700">
|
||||||
|
|
||||||
|
<!-- Device MAC address -->
|
||||||
|
<device-mac-address>00:02:03:04:05:00</device-mac-address>
|
||||||
|
|
||||||
|
<!-- Number of ports in the following port list -->
|
||||||
|
<number-of-physical-ports>32</number-of-physical-ports>
|
||||||
|
|
||||||
|
<!-- List of ports in the device -->
|
||||||
|
<ports-list>
|
||||||
|
<port-info>
|
||||||
|
<local-port>1</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>16</module>
|
||||||
|
|
||||||
|
<!-- 0 none, 1=2, 2=4, 3=2,4 -->
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
|
||||||
|
<!-- (BITMASK) 4096 - 10Gb , 939524096 - 25Gb , 98368 - 40Gb , 3221225472 - 50Gb , 11534336 - 100Gb-->
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>3</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>17</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>5</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>18</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>7</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>19</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>9</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>20</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>11</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>21</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>13</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>22</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>11534336</port-speed>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>15</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>23</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>11534336</port-speed>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>17</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>24</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>11534336</port-speed>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>19</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>25</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>11534336</port-speed>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>21</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>26</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>23</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>27</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>25</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>28</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>27</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>29</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>29</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>30</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>31</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>31</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>33</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>14</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>35</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>15</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>37</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>12</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>39</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>13</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>41</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>10</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>43</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>11</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>45</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>8</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>11534336</port-speed>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>47</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>9</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>11534336</port-speed>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>49</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>6</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>11534336</port-speed>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>51</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>7</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>11534336</port-speed>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>53</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>4</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>55</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>5</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>57</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>2</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>59</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>3</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>61</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>0</module>
|
||||||
|
<breakout-modes>3</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
<port-info>
|
||||||
|
<local-port>63</local-port>
|
||||||
|
<width>4</width>
|
||||||
|
<module>1</module>
|
||||||
|
<breakout-modes>1</breakout-modes>
|
||||||
|
<port-speed>3221225472</port-speed>
|
||||||
|
<split>2</split>
|
||||||
|
</port-info>
|
||||||
|
</ports-list>
|
||||||
|
</platform_info>
|
||||||
|
</root>
|
Reference in New Issue
Block a user