sonic-buildimage/device/arista
Samuel Angebault f899a82864
[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-09 13:03:22 -07:00
..
x86_64-arista_7050_qx32 BRCM Disable ACL Drop counted towards interface RX_DRP counters (#8382) 2021-08-10 19:03:22 -07:00
x86_64-arista_7050_qx32s [7050] define hwsku.json for Arista-7050QX-32S-S4Q31 to skip SFP checks for first 4 ports (#8624) 2021-08-31 17:15:03 -07:00
x86_64-arista_7050cx3_32s [Arista] Add dynamic port breakout hwsku to platforms (#7975) 2021-08-16 07:03:50 -07:00
x86_64-arista_7050sx3_48c8 [Arista] Update platform configurations and library (#7527) 2021-05-06 10:59:22 -07:00
x86_64-arista_7050sx3_48yc8 [Arista] Update platform configurations and library (#7527) 2021-05-06 10:59:22 -07:00
x86_64-arista_7060_cx32s BRCM Disable ACL Drop counted towards interface RX_DRP counters (#8382) 2021-08-10 19:03:22 -07:00
x86_64-arista_7060cx2_32s [arista]: Add placeholder healthd configuration for all platforms (#6233) 2020-12-17 05:18:38 -08:00
x86_64-arista_7060dx4_32 [Arista] Add dynamic port breakout hwsku to platforms (#7975) 2021-08-16 07:03:50 -07:00
x86_64-arista_7060px4_32 [Arista] Add dynamic port breakout hwsku to platforms (#7975) 2021-08-16 07:03:50 -07:00
x86_64-arista_7170_32c [Arista] Update platform library submodules (#8281) 2021-07-30 17:10:45 -07:00
x86_64-arista_7170_32cd [Arista] Update platform library submodules (#8281) 2021-07-30 17:10:45 -07:00
x86_64-arista_7170_64c [Arista] Update platform configurations and library (#7527) 2021-05-06 10:59:22 -07:00
x86_64-arista_7260cx3_64 [Arista] Add dynamic port breakout hwsku to platforms (#7975) 2021-08-16 07:03:50 -07:00
x86_64-arista_7280cr3_32d4 [Arista] Improve 7280CR3 platform configurations (#8234) 2021-07-24 13:42:27 -07:00
x86_64-arista_7280cr3_32p4 [arista] Add gearbox configs for Arista 7280cr3mk (#8146) 2021-08-26 15:30:11 +08:00
x86_64-arista_7280cr3mk_32d4 [arista] Add gearbox configs for Arista 7280cr3mk (#8146) 2021-08-26 15:30:11 +08:00
x86_64-arista_7280cr3mk_32p4 [arista] Add gearbox configs for Arista 7280cr3mk (#8146) 2021-08-26 15:30:11 +08:00
x86_64-arista_7800_sup [chassis] Set LAG Id range for 7800 chassis (#8052) 2021-08-30 16:04:07 -07:00
x86_64-arista_7800r3_48cq2_lc [Arista] Fix Clearwater2 phy initialization when no configuration is provided (#8271) 2021-09-09 13:03:22 -07:00
x86_64-arista_7800r3_48cqm2_lc [Arista] Fix Clearwater2 phy initialization when no configuration is provided (#8271) 2021-09-09 13:03:22 -07:00
x86_64-arista_common [Arista] Update platform library submodules (#8594) 2021-09-01 01:52:57 -07:00
x86_64-arista_7280cr3k_32d4 [arista]: Add SmartsvilleDDBK and SmartsvilleBkMs (#4662) 2020-05-28 14:59:00 -07:00
x86_64-arista_7280cr3k_32p4 [arista] Add support for more 7280CR3 variants (#3711) 2019-11-06 10:11:38 -08:00