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. |
||
---|---|---|
.. | ||
x86_64-arista_7050_qx32 | ||
x86_64-arista_7050_qx32s | ||
x86_64-arista_7050cx3_32s | ||
x86_64-arista_7050sx3_48c8 | ||
x86_64-arista_7050sx3_48yc8 | ||
x86_64-arista_7060_cx32s | ||
x86_64-arista_7060cx2_32s | ||
x86_64-arista_7060dx4_32 | ||
x86_64-arista_7060px4_32 | ||
x86_64-arista_7170_32c | ||
x86_64-arista_7170_32cd | ||
x86_64-arista_7170_64c | ||
x86_64-arista_7260cx3_64 | ||
x86_64-arista_7280cr3_32d4 | ||
x86_64-arista_7280cr3_32p4 | ||
x86_64-arista_7280cr3mk_32d4 | ||
x86_64-arista_7280cr3mk_32p4 | ||
x86_64-arista_7800_sup | ||
x86_64-arista_7800r3_48cq2_lc | ||
x86_64-arista_7800r3_48cqm2_lc | ||
x86_64-arista_common | ||
x86_64-arista_7280cr3k_32d4 | ||
x86_64-arista_7280cr3k_32p4 |