[Arista] Update driver submodules (#5686)
- Enable thermalctld support for our platforms - Fix Chassis.get_num_sfp which had an off by one - Implement read_eeprom and write_eeprom in SfpBase - Refactor of Psus and PsuSlots. Psus they are now detected and metadata reported - Improvements to modular support Co-authored-by: Zhi Yuan Carl Zhao <zyzhao@arista.com>
This commit is contained in:
parent
3a4435eb53
commit
5bfe37ca42
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7050_qx32/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7050_qx32/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7050_qx32s/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7050_qx32s/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7050cx3_32s/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7050cx3_32s/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7060_cx32s/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7060_cx32s/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7060cx2_32s/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7060cx2_32s/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7060px4_32/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7060px4_32/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7170_32c/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7170_32c/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7170_32cd/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7170_32cd/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7170_64c/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7170_64c/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7260cx3_64/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7260cx3_64/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7280cr3_32d4/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7280cr3_32d4/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
|||||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7280cr3_32p4/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7280cr3_32p4/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/thermal_policy.json
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"skip_fancontrol": true
|
||||||
|
}
|
||||||
|
|
60
device/arista/x86_64-arista_common/thermal_policy.json
Normal file
60
device/arista/x86_64-arista_common/thermal_policy.json
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
"thermal_control_algorithm": {
|
||||||
|
"run_at_boot_up": "true",
|
||||||
|
"fan_speed_when_suspend": "100"
|
||||||
|
},
|
||||||
|
"info_types": [
|
||||||
|
{
|
||||||
|
"type": "control_info"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "fan_info"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "thermal_info"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"policies": [
|
||||||
|
{
|
||||||
|
"name": "any thermal critical",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"type": "thermal.any.critical"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"type": "fan.all.set_speed",
|
||||||
|
"speed": "100"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "any thermal overheat",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"type": "thermal.any.overheat"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"type": "fan.all.set_speed",
|
||||||
|
"speed": "100"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "normal operations",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"type": "normal"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"type": "thermal_control.control"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
Subproject commit 10f08eea27329e7090fcedf1857f3ab385a27a27
|
Subproject commit 05a02d74c91fb1b91fbb4602bf8c77067da3ecf2
|
@ -1 +1 @@
|
|||||||
Subproject commit 10f08eea27329e7090fcedf1857f3ab385a27a27
|
Subproject commit 05a02d74c91fb1b91fbb4602bf8c77067da3ecf2
|
@ -43,6 +43,7 @@ $(DOCKER_PLATFORM_MONITOR)_RUN_OPT += --privileged -t
|
|||||||
$(DOCKER_PLATFORM_MONITOR)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
$(DOCKER_PLATFORM_MONITOR)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
||||||
|
|
||||||
# Mount Arista python library on Aboot images to be used by plugins
|
# Mount Arista python library on Aboot images to be used by plugins
|
||||||
|
$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /run/arista:/run/arista:ro
|
||||||
$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python2.7/dist-packages/arista:/usr/lib/python2.7/dist-packages/arista:ro
|
$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python2.7/dist-packages/arista:/usr/lib/python2.7/dist-packages/arista:ro
|
||||||
$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python3/dist-packages/arista:/usr/lib/python3/dist-packages/arista:ro
|
$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python3/dist-packages/arista:/usr/lib/python3/dist-packages/arista:ro
|
||||||
$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python2.7/dist-packages/sonic_platform:/usr/lib/python2.7/dist-packages/sonic_platform:ro
|
$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python2.7/dist-packages/sonic_platform:/usr/lib/python2.7/dist-packages/sonic_platform:ro
|
||||||
|
Reference in New Issue
Block a user