sonic-buildimage/device/arista/x86_64-arista_7800r3_48cqm2_lc
Samuel Angebault d410d26e26 [Arista] Fix Clearwater2 phy initialization when no configuration is provided (#8271)
Why I did it
Fix an issue on the Clearwater2 linecard.
When the linecard is started with a fresh image without configuration, phys would not be initialized.

How I did it
Added default_sku for Clearwater2 which prevents config-setup from failing to create a default config_db.json.
Added some extra logic in the phy-credo-init script to run the phy_config.sh of the hwsku pointed by default_sku if the DEVICE_METADATA.localhost.hwsku information is not populated in CONFIG_DB.

How to verify it
Booting an image with this change and without configuration will lead to the phys being initialized using the phy_config.sh from default_sku.
2021-09-14 09:36:55 -07:00
..
default_sku [Arista] Fix Clearwater2 phy initialization when no configuration is provided (#8271) 2021-09-14 09:36:55 -07:00
platform_env.conf [Arista] Chassis device configurations (#7529) 2021-06-30 18:16:20 -07:00
plugins [Arista] Updating driver submodules (#5352) 2020-09-10 01:34:38 -07:00
pmon_daemon_control.json [Arista] Chassis device configurations (#7529) 2021-06-30 18:16:20 -07:00
sensors.conf [Arista] Updating driver submodules (#5352) 2020-09-10 01:34:38 -07:00
system_health_monitoring_config.json [arista]: Add placeholder healthd configuration for all platforms (#6233) 2020-12-17 05:18:38 -08:00
thermal_policy.json [Arista] Chassis device configurations (#7529) 2021-06-30 18:16:20 -07:00