Skip to content
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

[BFN] Updated platform plugins #9540

Merged
merged 35 commits into from
Jan 17, 2022
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
32e6ecb
[BFN] Updated platform APIs impl
Nov 18, 2021
24bbb90
Extended BFN platform SFP APIs implementation
Nov 25, 2021
cb13424
Update sfp.py
Dec 3, 2021
384b36a
[BFN] Extended SFP platform plugin implementation
Dec 1, 2021
c6693ad
[BFN] Extended Fans platform plugin implementation
KostiantynYarovyiBf Dec 3, 2021
71abb28
[BFN] divided classes Fan and FanDrawer into 2 files
KostiantynYarovyiBf Dec 3, 2021
700f957
Signed-off-by: Vadym Yashchenko <[email protected]>
VadymYashchenko Dec 3, 2021
bfbffed
Add get_presence() function and revised __get() function
VadymYashchenko Dec 3, 2021
d2cfec7
[BFN] Updated PSU platform APIs impl
dmytroxIntel Dec 3, 2021
b37f657
Added BFN PSU cache (#9)
Dec 10, 2021
365e7ea
[BFN] Fans and Fantray platform APIs update (#7)
KostiantynYarovyiBf Dec 10, 2021
fb7f0f3
[BFN] Updated SFP platform APIs (#10)
vboykox Dec 10, 2021
92cb4d9
[BFN] Updated platform API for thermal (#8)
VadymYashchenko Dec 10, 2021
d4551d5
Revert "[BFN] Fans and Fantray platform APIs update (#7)" (#11)
Dec 10, 2021
3cce13b
Add support health monitor system (#15)
bratashX Dec 13, 2021
ed822a7
Update chassis.py
Dec 13, 2021
1c44794
[BFN] Updated FANs and FAN Tray platform API (#14)
KostiantynYarovyiBf Dec 13, 2021
5d221d3
Fix fix_alignment (#17)
bratashX Dec 13, 2021
c327a51
[BFN] Improvement show environment (#16)
KostiantynYarovyiBf Dec 13, 2021
110f8ab
Added PSU temperature skip into platform.json (#18)
Dec 14, 2021
4836a0a
Do not skip psud on Newport
Dec 14, 2021
708027c
[BFN] fix fan status from Not OK to Ok (#19)
KostiantynYarovyiBf Dec 14, 2021
4541b93
[BFN] Updated SFP platform plugin (#13)
vboykox Dec 15, 2021
5a3a601
[DPB] Fix typo for Ethernet0 2x200G[100G,40G] breakout mode (#21)
mykolaxgerasymenko Dec 15, 2021
9c37644
[barefoot] Tmp fix vendor_rev (#22)
vboykox Dec 15, 2021
d43663d
Fixed python issues in sonic_platform/fan_drawer.py
Dec 16, 2021
cbd35dd
Updated fan_drawer.py
Dec 17, 2021
ff6bd5b
Fixing trailing white spaces in fan_drawer.py
vboykox Dec 21, 2021
ec5afc4
[BFN] Fix thrift for SFPs API
vboykox Dec 21, 2021
1e73127
In platform.json, replaced 'false' with '0' to workaround ast.literal…
Dec 22, 2021
b1aa104
[Newport] Thermal manager (#23)
VadymYashchenko Dec 22, 2021
2a4643e
Revert "In platform.json, replaced 'false' with '0' to workaround ast…
Dec 23, 2021
83751fe
Removed 'controllable' options from platform.json to fix factory defa…
Dec 23, 2021
8b734dc
Update thermal_manager.py
Dec 26, 2021
a06129c
Migrated SFP plugin to sonic_xcvr API (#30)
Jan 13, 2022
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
113 changes: 62 additions & 51 deletions device/barefoot/x86_64-accton_as9516_32d-r0/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
"name": "counter-rotating-fan-6"
}
],
"fan_drawers":[
"fan_drawers": [
{
"name": "fantray",
"num_fans" : 6,
"name": "fantray-1",
"fans": [
{
"name": "counter-rotating-fan-1"
Expand Down Expand Up @@ -57,147 +56,159 @@
],
"thermals": [
{
"name": "tmp75-i2c-3-4b:switch-temp"
"name": "com_e_driver-i2c-4-33:cpu-temp"
},
{
"name": "com_e_driver-i2c-4-33:memory-temp"
},
{
"name": "com_e_driver-i2c-4-33:cpu-temp"
"name": "psu_driver-i2c-7-59:psu2-temp1"
},
{
"name": "coretemp-isa-0000:core-0"
"name": "psu_driver-i2c-7-59:psu2-temp2"
},
{
"name": "coretemp-isa-0000:core-1"
"name": "psu_driver-i2c-7-59:psu2-temp3"
},
{
"name": "coretemp-isa-0000:core-2"
"name": "psu_driver-i2c-7-5a:psu1-temp1"
},
{
"name": "coretemp-isa-0000:core-3"
"name": "psu_driver-i2c-7-5a:psu1-temp2"
},
{
"name": "coretemp-isa-0000:package-id-0"
"name": "psu_driver-i2c-7-5a:psu1-temp3"
},
{
"name": "psu_driver-i2c-7-5a:psu1-temp1"
"name": "tmp75-i2c-3-48:chip-temp"
},
{
"name": "psu_driver-i2c-7-5a:psu1-temp2"
"name": "tmp75-i2c-3-49:exhaust2-temp"
},
{
"name": "psu_driver-i2c-7-5a:psu1-temp3"
"name": "tmp75-i2c-3-4a:exhaust-temp"
},
{
"name": "tmp75-i2c-3-4a:inlet-left-temp"
"name": "tmp75-i2c-3-4b:intake-temp"
},
{
"name": "tmp75-i2c-3-4c:inlet-right-temp"
"name": "tmp75-i2c-3-4c:tofino-temp"
},
{
"name": "tmp75-i2c-3-4d:temp1"
"name": "tmp75-i2c-3-4d:intake2-temp"
},
{
"name": "tmp75-i2c-3-48:outlet-middle-temp"
"name": "coretemp-isa-0000:package-id-0"
},
{
"name": "coretemp-isa-0000:core-0"
},
{
"name": "coretemp-isa-0000:core-1"
},
{
"name": "tmp75-i2c-3-49:inlet-middle-temp"
"name": "coretemp-isa-0000:core-2"
},
{
"name": "coretemp-isa-0000:core-3"
}
],
"sfps": [
{
"name": "Ethernet0"
"name": "sfp1"
},
{
"name": "sfp2"
},
{
"name": "Ethernet8"
"name": "sfp3"
},
{
"name": "Ethernet16"
"name": "sfp4"
},
{
"name": "Ethernet32"
"name": "sfp5"
},
{
"name": "Ethernet40"
"name": "sfp6"
},
{
"name": "Ethernet48"
"name": "sfp7"
},
{
"name": "Ethernet56"
"name": "sfp8"
},
{
"name": "Ethernet64"
"name": "sfp9"
},
{
"name": "Ethernet72"
"name": "sfp10"
},
{
"name": "Ethernet80"
"name": "sfp11"
},
{
"name": "Ethernet88"
"name": "sfp12"
},
{
"name": "Ethernet96"
"name": "sfp13"
},
{
"name": "Ethernet104"
"name": "sfp14"
},
{
"name": "Ethernet112"
"name": "sfp15"
},
{
"name": "Ethernet120"
"name": "sfp16"
},
{
"name": "Ethernet128"
"name": "sfp17"
},
{
"name": "Ethernet136"
"name": "sfp18"
},
{
"name": "Ethernet144"
"name": "sfp19"
},
{
"name": "Ethernet152"
"name": "sfp20"
},
{
"name": "Ethernet160"
"name": "sfp21"
},
{
"name": "Ethernet168"
"name": "sfp22"
},
{
"name": "Ethernet176"
"name": "sfp23"
},
{
"name": "Ethernet184"
"name": "sfp24"
},
{
"name": "Ethernet192"
"name": "sfp25"
},
{
"name": "Ethernet200"
"name": "sfp26"
},
{
"name": "Ethernet208"
"name": "sfp27"
},
{
"name": "Ethernet216"
"name": "sfp28"
},
{
"name": "Ethernet224"
"name": "sfp29"
},
{
"name": "Ethernet232"
"name": "sfp30"
},
{
"name": "Ethernet240"
"name": "sfp31"
},
{
"name": "Ethernet248"
"name": "sfp32"
}
]
},
Expand All @@ -207,7 +218,7 @@
"lanes": "0,1,2,3,4,5,6,7",
"breakout_modes": {
"1x400G[200G]": ["Ethernet0"],
"2x200G[100G,40G]": ["Ethernet0, Ethernet4"],
"2x200G[100G,40G]": ["Ethernet0", "Ethernet4"],
"4x100G[50G]": ["Ethernet0", "Ethernet2", "Ethernet4", "Ethernet6"],
"8x50G[25G,10G]": ["Ethernet0", "Ethernet1", "Ethernet2", "Ethernet3", "Ethernet4", "Ethernet5", "Ethernet6", "Ethernet7"],
"1x200G[100G,40G](4)+4x50G[25G,10G](4)": ["Ethernet0", "Ethernet4", "Ethernet5", "Ethernet6", "Ethernet7"],
Expand Down Expand Up @@ -587,4 +598,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"skip_thermalctld": false,
"skip_ledd": true,
"skip_xcvrd": false,
"skip_psud": true,
"skip_psud": false,
"skip_syseepromd": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"services_to_ignore": [],
"devices_to_ignore": [],
"user_defined_checkers": [],
"polling_interval": 60,
"led_color": {
"fault": "amber",
"normal": "green",
"booting": "orange_blink"
}
}
Loading