forked from edge-core/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sync PR #14361] [Edgecore][AS4630-54PE/PDDF] Enhance sonic_platform …
…feature sonic-net/sonic-buildimage#14361 Why I did it Base on Adding PDDF common framework enhancements. #12863 to modify pddf-device.json and platform API. Add code to pass pytest. How I did it Add needed code to sonic_platform and driver. How to verify it sonic-cli cmd: show platform {fan, temperature, firmware status, syseeprom, psustatus} sfputil cmd: show {presence, eeprom, lpmode} Verify function by sonic-mgmt tools: Test file path: /tests/platform_tests/api/ Test items: test_chassis.py, test_component.py, test_fan_drawer.py, test_psu.py, test_thermal.py, test_sfp.py
- Loading branch information
1 parent
5718257
commit 54b6b59
Showing
23 changed files
with
2,474 additions
and
139 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
- bus: '00' | ||
dev: '00' | ||
fn: '0' | ||
id: '1980' | ||
name: 'Host bridge: Intel Corporation Atom Processor C3000 Series System Agent (rev | ||
11)' | ||
- bus: '00' | ||
dev: '04' | ||
fn: '0' | ||
id: 19a1 | ||
name: 'Host bridge: Intel Corporation Atom Processor C3000 Series Error Registers | ||
(rev 11)' | ||
- bus: '00' | ||
dev: '05' | ||
fn: '0' | ||
id: 19a2 | ||
name: 'Generic system peripheral [0807]: Intel Corporation Atom Processor C3000 | ||
Series Root Complex Event Collector (rev 11)' | ||
- bus: '00' | ||
dev: '06' | ||
fn: '0' | ||
id: 19a3 | ||
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated QAT | ||
Root Port (rev 11)' | ||
- bus: '00' | ||
dev: 09 | ||
fn: '0' | ||
id: 19a4 | ||
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root | ||
Port #0 (rev 11)' | ||
- bus: '00' | ||
dev: 0b | ||
fn: '0' | ||
id: 19a6 | ||
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root | ||
Port #2 (rev 11)' | ||
- bus: '00' | ||
dev: 0e | ||
fn: '0' | ||
id: 19a8 | ||
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root | ||
Port #4 (rev 11)' | ||
- bus: '00' | ||
dev: '10' | ||
fn: '0' | ||
id: 19aa | ||
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root | ||
Port #6 (rev 11)' | ||
- bus: '00' | ||
dev: '12' | ||
fn: '0' | ||
id: 19ac | ||
name: 'System peripheral: Intel Corporation Atom Processor C3000 Series SMBus Contoller | ||
- Host (rev 11)' | ||
- bus: '00' | ||
dev: '13' | ||
fn: '0' | ||
id: 19b2 | ||
name: 'SATA controller: Intel Corporation Atom Processor C3000 Series SATA Controller | ||
0 (rev 11)' | ||
- bus: '00' | ||
dev: '15' | ||
fn: '0' | ||
id: 19d0 | ||
name: 'USB controller: Intel Corporation Atom Processor C3000 Series USB 3.0 xHCI | ||
Controller (rev 11)' | ||
- bus: '00' | ||
dev: '16' | ||
fn: '0' | ||
id: 19d1 | ||
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated LAN | ||
Root Port #0 (rev 11)' | ||
- bus: '00' | ||
dev: '17' | ||
fn: '0' | ||
id: 19d2 | ||
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated LAN | ||
Root Port #1 (rev 11)' | ||
- bus: '00' | ||
dev: '18' | ||
fn: '0' | ||
id: 19d3 | ||
name: 'Communication controller: Intel Corporation Atom Processor C3000 Series ME | ||
HECI 1 (rev 11)' | ||
- bus: '00' | ||
dev: 1a | ||
fn: '0' | ||
id: 19d8 | ||
name: 'Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller | ||
(rev 11)' | ||
- bus: '00' | ||
dev: 1a | ||
fn: '1' | ||
id: 19d8 | ||
name: 'Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller | ||
(rev 11)' | ||
- bus: '00' | ||
dev: 1a | ||
fn: '2' | ||
id: 19d8 | ||
name: 'Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller | ||
(rev 11)' | ||
- bus: '00' | ||
dev: 1c | ||
fn: '0' | ||
id: 19db | ||
name: 'SD Host controller: Intel Corporation Device 19db (rev 11)' | ||
- bus: '00' | ||
dev: 1f | ||
fn: '0' | ||
id: 19dc | ||
name: 'ISA bridge: Intel Corporation Atom Processor C3000 Series LPC or eSPI (rev | ||
11)' | ||
- bus: '00' | ||
dev: 1f | ||
fn: '1' | ||
id: 19dd | ||
name: 'Memory controller: Intel Corporation Atom Processor C3000 Series Primary | ||
to Side Band (P2SB) Bridge (rev 11)' | ||
- bus: '00' | ||
dev: 1f | ||
fn: '2' | ||
id: 19de | ||
name: 'Memory controller: Intel Corporation Atom Processor C3000 Series Power Management | ||
Controller (rev 11)' | ||
- bus: '00' | ||
dev: 1f | ||
fn: '4' | ||
id: 19df | ||
name: 'SMBus: Intel Corporation Atom Processor C3000 Series SMBus controller (rev | ||
11)' | ||
- bus: '00' | ||
dev: 1f | ||
fn: '5' | ||
id: 19e0 | ||
name: 'Serial bus controller [0c80]: Intel Corporation Atom Processor C3000 Series | ||
SPI Controller (rev 11)' | ||
- bus: '01' | ||
dev: '00' | ||
fn: '0' | ||
id: 19e2 | ||
name: 'Co-processor: Intel Corporation Atom Processor C3000 Series QuickAssist Technology | ||
(rev 11)' | ||
- bus: '05' | ||
dev: '00' | ||
fn: '0' | ||
id: b371 | ||
name: 'Ethernet controller: Broadcom Inc. and subsidiaries BCM56371 Switch ASIC | ||
(rev 03)' | ||
- bus: '06' | ||
dev: '00' | ||
fn: '0' | ||
id: 15c2 | ||
name: 'Ethernet controller: Intel Corporation Ethernet Connection X553 Backplane | ||
(rev 11)' | ||
- bus: '06' | ||
dev: '00' | ||
fn: '1' | ||
id: 15c2 | ||
name: 'Ethernet controller: Intel Corporation Ethernet Connection X553 Backplane | ||
(rev 11)' | ||
- bus: 08 | ||
dev: '00' | ||
fn: '0' | ||
id: 15e5 | ||
name: 'Ethernet controller: Intel Corporation Ethernet Connection X553 1GbE (rev | ||
11)' |
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
Oops, something went wrong.