This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform/barefoot
zzhiyuan 380ad2e8fc
[202012] [Arista] Raise ValueError on thermal manager invalid fan speed (#8903)
Why I did it
Vaibhav Dahiya notified me that invalid fan speed policy was expecting an error raised in sonic-mgmt testing, but it was not raised.
This change will fix test_platform_info.py::test_thermal_control_load_invalid_value_json

How I did it
Add in the suggested code chunk to Arista platform submodule to raise ValueError when an invalid fan speed is set in thermal policy.

How to verify it
Vaibhav Dahiya has verified it through sonic-mgmt testing.

Co-authored-by: Zhi Yuan (Carl) Zhao <zyzhao@arista.com>
2021-10-05 18:29:26 -07:00
..
bfn-modules [barefoot]: Add psample module to load at boot time on BFN platform (#7164) 2021-03-31 08:48:53 -07:00
docker-saiserver-bfn [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-syncd-bfn [202012][Monit] Deprecate the feature of monitoring the critical processes by Monit (#7823) 2021-06-09 09:04:22 -07:00
docker-syncd-bfn-rpc [syncd-rpc] Install Libboost Atomic 1.71, Libqtcore And Libqtnetwork (#6689) 2021-02-16 15:29:21 -08:00
sonic-platform-modules-arista@cf36e513e4 [202012] [Arista] Raise ValueError on thermal manager invalid fan speed (#8903) 2021-10-05 18:29:26 -07:00
sonic-platform-modules-bfn [barefoot][platform] Refactor legacy scripts (#6871) 2021-03-04 21:23:05 +00:00
sonic-platform-modules-bfn-montara [barefoot][platform] Chassis.get_reboot_cause (#7794) 2021-06-16 12:38:30 +00:00
sonic-platform-modules-bfn-newport [platform][barefoot] Fix as9516bf installation (#6938) 2021-03-04 21:58:53 +00:00
sonic-platform-modules-ingrasys [MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector (#4035) 2020-01-22 11:26:23 -08:00
sonic-platform-modules-wnc-osw1800 [sonic-linux-kernel]: security update to kernel 4.19.152 (#6490) 2021-02-16 15:28:34 -08:00
.gitignore [barefoot]: Add psample module to load at boot time on BFN platform (#7164) 2021-03-31 08:48:53 -07:00
bfn-modules.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
bfn-platform-ingrasys.mk [platform] update Ingrassy platform to support stretch (#2322) 2018-11-30 20:46:36 -08:00
bfn-platform-wnc.mk [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
bfn-platform.mk [BFN]: update bfnsdk package (#8350) 2021-08-10 08:19:37 -07:00
bfn-sai.mk [BFN]: update bfnsdk package (#8350) 2021-08-10 08:19:37 -07:00
docker-syncd-bfn-rpc.mk [BFN] Upgrade docker-syncd-bfn to buster (#6345) 2021-01-04 23:23:46 -08:00
docker-syncd-bfn.mk [202012][Monit] Deprecate the feature of monitoring the critical processes by Monit (#7823) 2021-06-09 09:04:22 -07:00
libsaithrift-dev.mk [sai and sairedis] advance sairedis sub-module and upgrade to matching Broadcom SAI build (#2488) 2019-02-16 10:14:18 -08:00
one-aboot.mk [arista] update platform driver submodules (#4512) 2020-04-30 12:06:19 -07:00
one-image.mk [pmon]: Install vanilla 'thrift' Python 2 and 3 packages for Barefoot in host and PMon (#6080) 2020-12-04 08:41:17 -08:00
platform-modules-arista.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-bfn-montara.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-bfn-newport.mk [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00
platform-modules-bfn.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-ingrasys.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-wnc-osw1800.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform.conf [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
rules.mk [docker-ptf]: build docker ptf 2021-01-28 09:23:12 -08:00