Skip to content

Support TACACS Accounting #2762

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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,33 @@
# name lanes alias index speed
Ethernet0 57,58,59,60,61,62,63,64 Ethernet0 0 400000
Ethernet8 49,50,51,52,53,54,55,56 Ethernet8 1 400000
Ethernet16 73,74,75,76,77,78,79,80 Ethernet16 2 400000
Ethernet24 65,66,67,68,69,70,71,72 Ethernet24 3 400000
Ethernet32 25,26,27,28,29,30,31,32 Ethernet32 4 400000
Ethernet40 17,18,19,20,21,22,23,24 Ethernet40 5 400000
Ethernet48 81,82,83,84,85,86,87,88 Ethernet48 6 400000
Ethernet56 89,90,91,92,93,94,95,96 Ethernet56 7 400000
Ethernet64 1,2,3,4,5,6,7,8 Ethernet64 8 400000
Ethernet72 9,10,11,12,13,14,15,16 Ethernet72 9 400000
Ethernet80 33,34,35,36,37,38,39,40 Ethernet80 10 400000
Ethernet88 41,42,43,44,45,46,47,48 Ethernet88 11 400000
Ethernet96 97,98,99,100,101,102,103,104 Ethernet96 12 400000
Ethernet104 121,122,123,124,125,126,127,128 Ethernet104 13 400000
Ethernet112 113,114,115,116,117,118,119,120 Ethernet112 14 400000
Ethernet120 105,106,107,108,109,110,111,112 Ethernet120 15 400000
Ethernet128 129,130,131,132,133,134,135,136 Ethernet128 16 400000
Ethernet136 137,138,139,140,141,142,143,144 Ethernet136 17 400000
Ethernet144 145,146,147,148,149,150,151,152 Ethernet144 18 400000
Ethernet152 153,154,155,156,157,158,159,160 Ethernet152 19 400000
Ethernet160 217,218,219,220,221,222,223,224 Ethernet160 20 400000
Ethernet168 209,210,211,212,213,214,215,216 Ethernet168 21 400000
Ethernet176 225,226,227,228,229,230,231,232 Ethernet176 22 400000
Ethernet184 249,250,251,252,253,254,255,256 Ethernet184 23 400000
Ethernet192 241,242,243,244,245,246,247,248 Ethernet192 24 400000
Ethernet200 233,234,235,236,237,238,239,240 Ethernet200 25 400000
Ethernet208 161,162,163,164,165,166,167,168 Ethernet208 26 400000
Ethernet216 169,170,171,172,173,174,175,176 Ethernet216 27 400000
Ethernet224 177,178,179,180,181,182,183,184 Ethernet224 28 400000
Ethernet232 185,186,187,188,189,190,191,192 Ethernet232 29 400000
Ethernet240 193,194,195,196,197,198,199,200 Ethernet240 30 400000
Ethernet248 201,202,203,204,205,206,207,208 Ethernet248 31 400000
155 changes: 155 additions & 0 deletions device/inventec/x86_64-inventec_d7332-r0/INVENTEC-D7332/qos.json.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"TC_TO_PRIORITY_GROUP_MAP": {
"AZURE": {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7"
}
},
"MAP_PFC_PRIORITY_TO_QUEUE": {
"AZURE": {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7"
}
},
"TC_TO_QUEUE_MAP": {
"AZURE": {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7"
}
},
"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"
}
},
"PORT_QOS_MAP": {
"Ethernet0,Ethernet8,Ethernet16,Ethernet24,Ethernet32,Ethernet40,Ethernet48,Ethernet56,Ethernet64,Ethernet72,Ethernet80,Ethernet88,Ethernet96,Ethernet104,Ethernet112,Ethernet120,Ethernet128,Ethernet136,Ethernet144,Ethernet152,Ethernet160,Ethernet168,Ethernet176,Ethernet184,Ethernet192,Ethernet200,Ethernet208,Ethernet216,Ethernet224,Ethernet232,Ethernet240,Ethernet248": {
"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_enable": "3,4"
}
},
"WRED_PROFILE": {
"AZURE_LOSSLESS" : {
"wred_green_enable":"true",
"wred_yellow_enable":"true",
"wred_red_enable":"true",
"ecn":"ecn_all",
"red_max_threshold":"312000",
"red_min_threshold":"104000",
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold": "312000",
"green_min_threshold": "104000"
}
},
"QUEUE": {
"Ethernet0,Ethernet8,Ethernet16,Ethernet24,Ethernet32,Ethernet40,Ethernet48,Ethernet56,Ethernet64,Ethernet72,Ethernet80,Ethernet88,Ethernet96,Ethernet104,Ethernet112,Ethernet120,Ethernet128,Ethernet136,Ethernet144,Ethernet152,Ethernet160,Ethernet168,Ethernet176,Ethernet184,Ethernet192,Ethernet200,Ethernet208,Ethernet216,Ethernet224,Ethernet232,Ethernet240,Ethernet248|3-4" : {
"scheduler" : "[SCHEDULER|scheduler.0]",
"wred_profile" : "[WRED_PROFILE|AZURE_LOSSLESS]"
},
"Ethernet0,Ethernet8,Ethernet16,Ethernet24,Ethernet32,Ethernet40,Ethernet48,Ethernet56,Ethernet64,Ethernet72,Ethernet80,Ethernet88,Ethernet96,Ethernet104,Ethernet112,Ethernet120,Ethernet128,Ethernet136,Ethernet144,Ethernet152,Ethernet160,Ethernet168,Ethernet176,Ethernet184,Ethernet192,Ethernet200,Ethernet208,Ethernet216,Ethernet224,Ethernet232,Ethernet240,Ethernet248|0" : {
"scheduler" : "[SCHEDULER|scheduler.1]"
},
"Ethernet0,Ethernet8,Ethernet16,Ethernet24,Ethernet32,Ethernet40,Ethernet48,Ethernet56,Ethernet64,Ethernet72,Ethernet80,Ethernet88,Ethernet96,Ethernet104,Ethernet112,Ethernet120,Ethernet128,Ethernet136,Ethernet144,Ethernet152,Ethernet160,Ethernet168,Ethernet176,Ethernet184,Ethernet192,Ethernet200,Ethernet208,Ethernet216,Ethernet224,Ethernet232,Ethernet240,Ethernet248|1" : {
"scheduler" : "[SCHEDULER|scheduler.2]"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th3-d7332-32x400G.config.bcm
SAI_NUM_ECMP_MEMBERS=32
Loading