Skip to content

Commit

Permalink
Support dynamic port breakout on AS9726-32D
Browse files Browse the repository at this point in the history
  • Loading branch information
chihhan123 committed Nov 9, 2022
1 parent f8c996d commit c02d861
Show file tree
Hide file tree
Showing 6 changed files with 1,601 additions and 35 deletions.
174 changes: 174 additions & 0 deletions device/accton/x86_64-accton_as9726_32d-r0/Accton-AS9726-32D/hwsku.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet8": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet16": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet24": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet32": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet40": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet48": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet56": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet64": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet72": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet80": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet88": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet96": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet104": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet112": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet120": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet128": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet136": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet144": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet152": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet160": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet168": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet176": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet184": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet192": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet200": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet208": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet216": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet224": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet232": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet240": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet248": {
"default_brkout_mode": "1x400G",
"autoneg": "off"
},

"Ethernet256": {
"default_brkout_mode": "1x10G[1G]",
"autoneg": "off"
},

"Ethernet257": {
"default_brkout_mode": "1x10G[1G]",
"autoneg": "off"
}
}
}

Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# name lanes alias index speed
Ethernet1 73,74,75,76,77,78,79,80 fourHundredGigE1 1 400000
Ethernet2 65,66,67,68,69,70,71,72 fourHundredGigE2 2 400000
Ethernet3 81,82,83,84,85,86,87,88 fourHundredGigE3 3 400000
Ethernet4 89,90,91,92,93,94,95,96 fourHundredGigE4 4 400000
Ethernet5 97,98,99,100,101,102,103,104 fourHundredGigE5 5 400000
Ethernet6 105,106,107,108,109,110,111,112 fourHundredGigE6 6 400000
Ethernet7 113,114,115,116,117,118,119,120 fourHundredGigE7 7 400000
Ethernet8 121,122,123,124,125,126,127,128 fourHundredGigE8 8 400000
Ethernet9 41,42,43,44,45,46,47,48 fourHundredGigE9 9 400000
Ethernet10 33,34,35,36,37,38,39,40 fourHundredGigE10 10 400000
Ethernet11 49,50,51,52,53,54,55,56 fourHundredGigE11 11 400000
Ethernet12 57,58,59,60,61,62,63,64 fourHundredGigE12 12 400000
Ethernet13 129,130,131,132,133,134,135,136 fourHundredGigE13 13 400000
Ethernet14 137,138,139,140,141,142,143,144 fourHundredGigE14 14 400000
Ethernet15 145,146,147,148,149,150,151,152 fourHundredGigE15 15 400000
Ethernet16 153,154,155,156,157,158,159,160 fourHundredGigE16 16 400000
Ethernet17 169,170,171,172,173,174,175,176 fourHundredGigE17 17 400000
Ethernet18 161,162,163,164,165,166,167,168 fourHundredGigE18 18 400000
Ethernet19 177,178,179,180,181,182,183,184 fourHundredGigE19 19 400000
Ethernet20 185,186,187,188,189,190,191,192 fourHundredGigE20 20 400000
Ethernet21 1,2,3,4,5,6,7,8 fourHundredGigE21 21 400000
Ethernet22 9,10,11,12,13,14,15,16 fourHundredGigE22 22 400000
Ethernet23 17,18,19,20,21,22,23,24 fourHundredGigE23 23 400000
Ethernet24 25,26,27,28,29,30,31,32 fourHundredGigE24 24 400000
Ethernet25 201,202,203,204,205,206,207,208 fourHundredGigE25 25 400000
Ethernet26 193,194,195,196,197,198,199,200 fourHundredGigE26 26 400000
Ethernet27 217,218,219,220,221,222,223,224 fourHundredGigE27 27 400000
Ethernet28 209,210,211,212,213,214,215,216 fourHundredGigE28 28 400000
Ethernet29 233,234,235,236,237,238,239,240 fourHundredGigE29 29 400000
Ethernet30 225,226,227,228,229,230,231,232 fourHundredGigE30 30 400000
Ethernet31 249,250,251,252,253,254,255,256 fourHundredGigE31 31 400000
Ethernet32 241,242,243,244,245,246,247,248 fourHundredGigE32 32 400000
Ethernet33 249 tenGigE33 33 10000
Ethernet34 250 tenGigE34 34 10000
# name lanes alias index speed
Ethernet0 73,74,75,76,77,78,79,80 Eth1(Port1) 1 400000
Ethernet8 65,66,67,68,69,70,71,72 Eth2(Port2) 2 400000
Ethernet16 81,82,83,84,85,86,87,88 Eth3(Port3) 3 400000
Ethernet24 89,90,91,92,93,94,95,96 Eth4(Port4) 4 400000
Ethernet32 97,98,99,100,101,102,103,104 Eth5(Port5) 5 400000
Ethernet40 105,106,107,108,109,110,111,112 Eth6(Port6) 6 400000
Ethernet48 113,114,115,116,117,118,119,120 Eth7(Port7) 7 400000
Ethernet56 121,122,123,124,125,126,127,128 Eth8(Port8) 8 400000
Ethernet64 41,42,43,44,45,46,47,48 Eth9(Port9) 9 400000
Ethernet72 33,34,35,36,37,38,39,40 Eth10(Port10) 10 400000
Ethernet80 49,50,51,52,53,54,55,56 Eth11(Port11) 11 400000
Ethernet88 57,58,59,60,61,62,63,64 Eth12(Port12) 12 400000
Ethernet96 129,130,131,132,133,134,135,136 Eth13(Port13) 13 400000
Ethernet104 137,138,139,140,141,142,143,144 Eth14(Port14) 14 400000
Ethernet112 145,146,147,148,149,150,151,152 Eth15(Port15) 15 400000
Ethernet120 153,154,155,156,157,158,159,160 Eth16(Port16) 16 400000
Ethernet128 169,170,171,172,173,174,175,176 Eth17(Port17) 17 400000
Ethernet136 161,162,163,164,165,166,167,168 Eth18(Port18) 18 400000
Ethernet144 177,178,179,180,181,182,183,184 Eth19(Port19) 19 400000
Ethernet152 185,186,187,188,189,190,191,192 Eth20(Port20) 20 400000
Ethernet160 1,2,3,4,5,6,7,8 Eth21(Port21) 21 400000
Ethernet168 9,10,11,12,13,14,15,16 Eth22(Port22) 22 400000
Ethernet176 17,18,19,20,21,22,23,24 Eth23(Port23) 23 400000
Ethernet184 25,26,27,28,29,30,31,32 Eth24(Port24) 24 400000
Ethernet192 201,202,203,204,205,206,207,208 Eth25(Port25) 25 400000
Ethernet200 193,194,195,196,197,198,199,200 Eth26(Port26) 26 400000
Ethernet208 217,218,219,220,221,222,223,224 Eth27(Port27) 27 400000
Ethernet216 209,210,211,212,213,214,215,216 Eth28(Port28) 28 400000
Ethernet224 233,234,235,236,237,238,239,240 Eth29(Port29) 29 400000
Ethernet232 225,226,227,228,229,230,231,232 Eth30(Port30) 30 400000
Ethernet240 249,250,251,252,253,254,255,256 Eth31(Port31) 31 400000
Ethernet248 241,242,243,244,245,246,247,248 Eth32(Port32) 32 400000
Ethernet256 259 Eth33(Port33) 33 10000
Ethernet257 260 Eth34(Port34) 34 10000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td4-as9726-32x400G.config.yml
Loading

0 comments on commit c02d861

Please sign in to comment.