[Arista] Add missing configuration files for linecards (#10749)

Why I did it
Fixes some pmon errors/warnings by providing missing configuration files

How I did it
Add missing pcie.yaml and sensors.conf for supported linecards

How to verify it
pcie-check should pass
sensors should display proper sensor names
This commit is contained in:
Samuel Angebault 2022-05-09 11:51:38 -07:00 committed by GitHub
parent 23f9126f59
commit 123f20fea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 541 additions and 2 deletions

View File

@ -0,0 +1,235 @@
- bus: '00'
dev: '00'
fn: '0'
id: '1450'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Root Complex'
- bus: '00'
dev: '00'
fn: '2'
id: '1451'
name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O
Memory Management Unit'
- bus: '00'
dev: '01'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '01'
fn: '4'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '01'
fn: '5'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '01'
fn: '6'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '02'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '03'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '03'
fn: '1'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '03'
fn: '2'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '03'
fn: '3'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '03'
fn: '4'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '04'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '07'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '07'
fn: '1'
id: '1454'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Internal PCIe GPP Bridge 0 to Bus B'
- bus: '00'
dev: 08
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: 08
fn: '1'
id: '1454'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Internal PCIe GPP Bridge 0 to Bus B'
- bus: '00'
dev: '14'
fn: '0'
id: 790b
name: 'SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)'
- bus: '00'
dev: '14'
fn: '3'
id: 790e
name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)'
- bus: '00'
dev: '18'
fn: '0'
id: '1460'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 0'
- bus: '00'
dev: '18'
fn: '1'
id: '1461'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 1'
- bus: '00'
dev: '18'
fn: '2'
id: '1462'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 2'
- bus: '00'
dev: '18'
fn: '3'
id: '1463'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 3'
- bus: '00'
dev: '18'
fn: '4'
id: '1464'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 4'
- bus: '00'
dev: '18'
fn: '5'
id: '1465'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 5'
- bus: '00'
dev: '18'
fn: '6'
id: '1466'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 6'
- bus: '00'
dev: '18'
fn: '7'
id: '0001'
name: 'Host bridge: Arista Networks, Inc. Device 0001'
- bus: '04'
dev: '00'
fn: '0'
id: '8717'
name: 'PCI bridge: PLX Technology, Inc. PEX 8717 16-lane, 8-Port PCI Express Gen
3 (8.0 GT/s) Switch with DMA (rev ca)'
- bus: '05'
dev: '03'
fn: '0'
id: '8717'
name: 'PCI bridge: PLX Technology, Inc. PEX 8717 16-lane, 8-Port PCI Express Gen
3 (8.0 GT/s) Switch with DMA (rev ca)'
- bus: '05'
dev: '05'
fn: '0'
id: '8717'
name: 'PCI bridge: PLX Technology, Inc. PEX 8717 16-lane, 8-Port PCI Express Gen
3 (8.0 GT/s) Switch with DMA (rev ca)'
- bus: '06'
dev: '00'
fn: '0'
id: '8694'
name: 'Ethernet controller: Broadcom Inc. and subsidiaries Device 8694 (rev 12)'
- bus: '07'
dev: '00'
fn: '0'
id: '0001'
name: 'System peripheral: Arista Networks, Inc. Device 0001 (rev 01)'
- bus: '10'
dev: '00'
fn: '0'
id: '1682'
name: 'Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57762 Gigabit
Ethernet PCIe (rev 01)'
- bus: '11'
dev: '00'
fn: '0'
id: 145a
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD]
Zeppelin/Raven/Raven2 PCIe Dummy Function'
- bus: '11'
dev: '00'
fn: '2'
id: '1456'
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models
00h-0fh) Platform Security Processor'
- bus: '11'
dev: '00'
fn: '3'
id: 145f
name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host
controller'
- bus: '12'
dev: '00'
fn: '0'
id: '1455'
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD]
Zeppelin/Renoir PCIe Dummy Function'
- bus: '12'
dev: '00'
fn: '1'
id: '1468'
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic
Coprocessor NTBCCP'
- bus: '12'
dev: '00'
fn: '2'
id: '7901'
name: 'SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI
mode] (rev 51)'
- bus: '12'
dev: '00'
fn: '3'
id: '1457'
name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
HD Audio Controller'

View File

@ -0,0 +1,27 @@
# autogenerated by arista
bus "i2c-17" "SCD 0000:07:00.0 SMBus master 1 bus 0"
chip "k10temp-pci-00c3"
label temp1 "Cpu temp sensor"
set temp1_max 90
set temp1_crit 95
chip "tmp464-i2c-17-48"
label temp1 "Center back"
set temp1_max 85
set temp1_crit 95
label temp2 "Fap0 core0"
set temp2_max 100
set temp2_crit 105
label temp3 "Fap0 core1"
set temp3_max 100
set temp3_crit 105
label temp4 "PCIE"
set temp4_max 85
set temp4_crit 90
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9

View File

@ -1 +1 @@
../x86_64-arista_common/system_health_monitoring_config.json
../x86_64-arista_common/system_health_monitoring_config_linecard.json

View File

@ -0,0 +1,235 @@
- bus: '00'
dev: '00'
fn: '0'
id: '1450'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Root Complex'
- bus: '00'
dev: '00'
fn: '2'
id: '1451'
name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O
Memory Management Unit'
- bus: '00'
dev: '01'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '01'
fn: '4'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '01'
fn: '5'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '01'
fn: '6'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '02'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '03'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '03'
fn: '1'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '03'
fn: '2'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '03'
fn: '3'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '03'
fn: '4'
id: '1453'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
PCIe GPP Bridge'
- bus: '00'
dev: '04'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '07'
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: '07'
fn: '1'
id: '1454'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Internal PCIe GPP Bridge 0 to Bus B'
- bus: '00'
dev: 08
fn: '0'
id: '1452'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
PCIe Dummy Host Bridge'
- bus: '00'
dev: 08
fn: '1'
id: '1454'
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Internal PCIe GPP Bridge 0 to Bus B'
- bus: '00'
dev: '14'
fn: '0'
id: 790b
name: 'SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)'
- bus: '00'
dev: '14'
fn: '3'
id: 790e
name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)'
- bus: '00'
dev: '18'
fn: '0'
id: '1460'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 0'
- bus: '00'
dev: '18'
fn: '1'
id: '1461'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 1'
- bus: '00'
dev: '18'
fn: '2'
id: '1462'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 2'
- bus: '00'
dev: '18'
fn: '3'
id: '1463'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 3'
- bus: '00'
dev: '18'
fn: '4'
id: '1464'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 4'
- bus: '00'
dev: '18'
fn: '5'
id: '1465'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 5'
- bus: '00'
dev: '18'
fn: '6'
id: '1466'
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
Data Fabric: Device 18h; Function 6'
- bus: '00'
dev: '18'
fn: '7'
id: '0001'
name: 'Host bridge: Arista Networks, Inc. Device 0001'
- bus: '04'
dev: '00'
fn: '0'
id: '8717'
name: 'PCI bridge: PLX Technology, Inc. PEX 8717 16-lane, 8-Port PCI Express Gen
3 (8.0 GT/s) Switch with DMA (rev ca)'
- bus: '05'
dev: '03'
fn: '0'
id: '8717'
name: 'PCI bridge: PLX Technology, Inc. PEX 8717 16-lane, 8-Port PCI Express Gen
3 (8.0 GT/s) Switch with DMA (rev ca)'
- bus: '05'
dev: '05'
fn: '0'
id: '8717'
name: 'PCI bridge: PLX Technology, Inc. PEX 8717 16-lane, 8-Port PCI Express Gen
3 (8.0 GT/s) Switch with DMA (rev ca)'
- bus: '06'
dev: '00'
fn: '0'
id: '8694'
name: 'Ethernet controller: Broadcom Inc. and subsidiaries Device 8694 (rev 12)'
- bus: '07'
dev: '00'
fn: '0'
id: '0001'
name: 'System peripheral: Arista Networks, Inc. Device 0001 (rev 01)'
- bus: '10'
dev: '00'
fn: '0'
id: '1682'
name: 'Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57762 Gigabit
Ethernet PCIe (rev 01)'
- bus: '11'
dev: '00'
fn: '0'
id: 145a
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD]
Zeppelin/Raven/Raven2 PCIe Dummy Function'
- bus: '11'
dev: '00'
fn: '2'
id: '1456'
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models
00h-0fh) Platform Security Processor'
- bus: '11'
dev: '00'
fn: '3'
id: 145f
name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host
controller'
- bus: '12'
dev: '00'
fn: '0'
id: '1455'
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD]
Zeppelin/Renoir PCIe Dummy Function'
- bus: '12'
dev: '00'
fn: '1'
id: '1468'
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic
Coprocessor NTBCCP'
- bus: '12'
dev: '00'
fn: '2'
id: '7901'
name: 'SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI
mode] (rev 51)'
- bus: '12'
dev: '00'
fn: '3'
id: '1457'
name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
HD Audio Controller'

View File

@ -0,0 +1,27 @@
# autogenerated by arista
bus "i2c-17" "SCD 0000:07:00.0 SMBus master 1 bus 0"
chip "k10temp-pci-00c3"
label temp1 "Cpu temp sensor"
set temp1_max 90
set temp1_crit 95
chip "tmp464-i2c-17-48"
label temp1 "Center back"
set temp1_max 85
set temp1_crit 95
label temp2 "Fap0 core0"
set temp2_max 100
set temp2_crit 105
label temp3 "Fap0 core1"
set temp3_max 100
set temp3_crit 105
label temp4 "PCIE"
set temp4_max 85
set temp4_crit 90
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9

View File

@ -1 +1 @@
../x86_64-arista_common/system_health_monitoring_config.json
../x86_64-arista_common/system_health_monitoring_config_linecard.json

View File

@ -0,0 +1,15 @@
{
"services_to_ignore": [],
"devices_to_ignore": [
"asic",
"fan",
"psu"
],
"user_defined_checkers": [],
"polling_interval": 60,
"led_color": {
"fault": "amber",
"normal": "green",
"booting": "amber_blink"
}
}