From add9b651b6dbab949dbe68d78c7bd3d2d499751a Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Fri, 8 Oct 2021 19:27:48 -0700 Subject: [PATCH] Add platform_asic file to each platform folder in sonic-device-data based package (#8542) #### Why I did it Add platform_asic file to each platform folder in sonic-device-data package. The file content will be used as the ground truth of mapping from PLATFORM_STRING to switch ASIC family. One use case of the mapping is to prevent installing a wrong image, which targets for other ASIC platforms. For example, currently we have several ONIE images naming as sonic-*.bin, it's easy to mistakenly install the wrong image. With this mapping built into image, we could fetch the ONIE platform string, and figure out which ASIC it is using, and check we are installing the correct image. After this PR merged, each platform vendor has to add one mandatory text file `device/PLATFORM_VENDOR/PLATFORM_STRING/platform_asic`, with the content of the platform's switch ASIC family. I will update https://github.com/Azure/SONiC/wiki/Porting-Guide after this PR is merged. You can get a list of the ASIC platforms by `ls -b platform | cat`. Currently the options are ``` barefoot broadcom cavium centec centec-arm64 generic innovium marvell marvell-arm64 marvell-armhf mellanox nephos p4 vs ``` Also support ``` broadcom-dnx ``` #### How I did it #### How to verify it Test one image on DUT. And check the folders under `/usr/share/sonic/device` --- .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-accton_as5712_54x-r0/platform_asic | 1 + .../x86_64-accton_as5812_54t-r0/platform_asic | 1 + .../x86_64-accton_as5812_54x-r0/platform_asic | 1 + .../x86_64-accton_as5835_54t-r0/platform_asic | 1 + .../x86_64-accton_as5835_54x-r0/platform_asic | 1 + .../x86_64-accton_as6712_32x-r0/platform_asic | 1 + .../x86_64-accton_as7116_54x-r0/platform_asic | 1 + .../x86_64-accton_as7212_54x-r0/platform_asic | 1 + .../x86_64-accton_as7312_54x-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-accton_as7326_56x-r0/platform_asic | 1 + .../x86_64-accton_as7512_32x-r0/platform_asic | 1 + .../x86_64-accton_as7712_32x-r0/platform_asic | 1 + .../x86_64-accton_as7716_32x-r0/platform_asic | 1 + .../platform_asic | 1 + .../x86_64-accton_as7726_32x-r0/platform_asic | 1 + .../x86_64-accton_as7816_64x-r0/platform_asic | 1 + .../x86_64-accton_as9716_32d-r0/platform_asic | 1 + .../x86_64-accton_as9726_32d-r0/platform_asic | 1 + .../x86_64-accton_minipack-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-arista_7050_qx32/platform_asic | 1 + .../x86_64-arista_7050_qx32s/platform_asic | 1 + .../x86_64-arista_7050cx3_32s/platform_asic | 1 + .../x86_64-arista_7050sx3_48c8/platform_asic | 1 + .../x86_64-arista_7050sx3_48yc8/platform_asic | 1 + .../x86_64-arista_7060_cx32s/platform_asic | 1 + .../x86_64-arista_7060cx2_32s/platform_asic | 1 + .../x86_64-arista_7060dx4_32/platform_asic | 1 + .../x86_64-arista_7060px4_32/platform_asic | 1 + .../x86_64-arista_7170_32c/platform_asic | 1 + .../x86_64-arista_7170_32cd/platform_asic | 1 + .../x86_64-arista_7170_64c/platform_asic | 1 + .../x86_64-arista_7260cx3_64/platform_asic | 1 + .../x86_64-arista_7280cr3_32d4/platform_asic | 1 + .../x86_64-arista_7280cr3_32p4/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-arista_7800_sup/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../arista/x86_64-arista_common/platform_asic | 2 + .../x86_64-accton_as9516_32d-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../broadcom/x86_64-bcm_xlr-r0/platform_asic | 1 + .../x86_64-broadcom_common/platform_asic | 1 + .../x86_64-cel_e1031-r0/platform_asic | 1 + .../x86_64-cel_midstone-r0/platform_asic | 1 + .../x86_64-cel_seastone-r0/platform_asic | 1 + .../x86_64-cel_seastone_2-r0/platform_asic | 1 + .../x86_64-cel_silverstone-r0/platform_asic | 1 + .../arm64-centec_e530_24x2c-r0/platform_asic | 1 + .../arm64-centec_e530_24x2q-r0/platform_asic | 1 + .../arm64-centec_e530_48s4x-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-centec_e582_48x6q-r0/platform_asic | 1 + .../x86_64-ew_es6220_x48q2h4-r0/platform_asic | 1 + .../x86_64-cig_cs5435_54p-r0/platform_asic | 1 + .../x86_64-cig_cs6436_54p-r0/platform_asic | 1 + .../x86_64-cig_cs6436_56p-r0/platform_asic | 1 + .../x86_64-dell_s6000_s1220-r0/platform_asic | 1 + .../x86_64-dell_s6100_c2538-r0/platform_asic | 1 + .../x86_64-dell_z9100_c2538-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-delta_ag5648-r0/platform_asic | 1 + .../x86_64-delta_ag9032v1-r0/platform_asic | 1 + .../x86_64-delta_ag9032v2a-r0/platform_asic | 1 + .../x86_64-delta_ag9064-r0/platform_asic | 1 + .../x86_64-delta_agc032-r0/platform_asic | 1 + .../x86_64-delta_et-6248brb-r0/platform_asic | 1 + .../x86_64-delta_et-c032if-r0/platform_asic | 1 + .../x86_64-facebook_wedge100-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-ingrasys_s9100-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-inventec_d6254qs-r0/platform_asic | 1 + .../x86_64-inventec_d6332-r0/platform_asic | 1 + .../x86_64-inventec_d6356-r0/platform_asic | 1 + .../x86_64-inventec_d6556-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-juniper_qfx5200-r0/platform_asic | 1 + .../x86_64-juniper_qfx5210-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-mlnx_lssn2700-r0/platform_asic | 1 + .../x86_64-mlnx_msn2010-r0/platform_asic | 1 + .../x86_64-mlnx_msn2100-r0/platform_asic | 1 + .../x86_64-mlnx_msn2410-r0/platform_asic | 1 + .../x86_64-mlnx_msn2700-r0/platform_asic | 1 + .../x86_64-mlnx_msn2700_simx-r0/platform_asic | 1 + .../x86_64-mlnx_msn2740-r0/platform_asic | 1 + .../x86_64-mlnx_msn3420-r0/platform_asic | 1 + .../x86_64-mlnx_msn3700-r0/platform_asic | 1 + .../x86_64-mlnx_msn3700_simx-r0/platform_asic | 1 + .../x86_64-mlnx_msn3700c-r0/platform_asic | 1 + .../x86_64-mlnx_msn3800-r0/platform_asic | 1 + .../x86_64-mlnx_msn4410-r0/platform_asic | 1 + .../x86_64-mlnx_msn4600-r0/platform_asic | 1 + .../x86_64-mlnx_msn4600c-r0/platform_asic | 1 + .../x86_64-mlnx_msn4700-r0/platform_asic | 1 + .../x86_64-mlnx_msn4700_simx-r0/platform_asic | 1 + .../x86_64-mlnx_msn4800-r0/platform_asic | 1 + .../x86_64-mlnx_msn4800_simx-r0/platform_asic | 1 + .../x86_64-mlnx_x86-r5.0.1400/platform_asic | 1 + .../platform_asic | 1 + .../armhf-nokia_ixs7215_52x-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-pegatron_porsche-r0/platform_asic | 1 + .../x86_64-quanta_ix1b_32x-r0/platform_asic | 1 + .../platform_asic | 1 + .../x86_64-quanta_ix7_bwde-r0/platform_asic | 1 + .../x86_64-quanta_ix7_rglbmc-r0/platform_asic | 1 + .../x86_64-quanta_ix8_rglbmc-r0/platform_asic | 1 + .../x86_64-quanta_ix8a_bwde-r0/platform_asic | 1 + .../x86_64-quanta_ix8c_bwde-r0/platform_asic | 1 + .../x86_64-quanta_ix9_bwde-r0/platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../platform_asic | 1 + .../x86_64-kvm_x86_64-r0/platform_asic | 1 + .../x86_64-kvm_x86_64_4_asic-r0/platform_asic | 1 + .../x86_64-kvm_x86_64_6_asic-r0/platform_asic | 1 + .../wnc/x86_64-wnc_osw1800-r0/platform_asic | 1 + src/sonic-device-data/src/Makefile | 1 + .../tests/platform_asic_checker | 65 +++++++++++++++++++ 151 files changed, 216 insertions(+) create mode 100644 device/accton/x86_64-accton_as4630_54pe-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as4630_54te-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as5712_54x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as5812_54t-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as5812_54x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as5835_54t-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as5835_54x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as6712_32x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7116_54x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7212_54x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7312_54x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7312_54xs-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7315_27xb-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7326_56x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7512_32x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7712_32x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7716_32x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7716_32xb-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7726_32x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as7816_64x-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as9716_32d-r0/platform_asic create mode 100644 device/accton/x86_64-accton_as9726_32d-r0/platform_asic create mode 100644 device/accton/x86_64-accton_minipack-r0/platform_asic create mode 100644 device/alphanetworks/x86_64-alphanetworks_snh60a0_320fv2-r0/platform_asic create mode 100644 device/alphanetworks/x86_64-alphanetworks_snh60b0_640f-r0/platform_asic create mode 100644 device/arista/x86_64-arista_7050_qx32/platform_asic create mode 100644 device/arista/x86_64-arista_7050_qx32s/platform_asic create mode 100644 device/arista/x86_64-arista_7050cx3_32s/platform_asic create mode 100644 device/arista/x86_64-arista_7050sx3_48c8/platform_asic create mode 100644 device/arista/x86_64-arista_7050sx3_48yc8/platform_asic create mode 100644 device/arista/x86_64-arista_7060_cx32s/platform_asic create mode 100644 device/arista/x86_64-arista_7060cx2_32s/platform_asic create mode 100644 device/arista/x86_64-arista_7060dx4_32/platform_asic create mode 100644 device/arista/x86_64-arista_7060px4_32/platform_asic create mode 100644 device/arista/x86_64-arista_7170_32c/platform_asic create mode 100644 device/arista/x86_64-arista_7170_32cd/platform_asic create mode 100644 device/arista/x86_64-arista_7170_64c/platform_asic create mode 100644 device/arista/x86_64-arista_7260cx3_64/platform_asic create mode 100644 device/arista/x86_64-arista_7280cr3_32d4/platform_asic create mode 100644 device/arista/x86_64-arista_7280cr3_32p4/platform_asic create mode 100644 device/arista/x86_64-arista_7280cr3mk_32d4/platform_asic create mode 100644 device/arista/x86_64-arista_7280cr3mk_32p4/platform_asic create mode 100644 device/arista/x86_64-arista_7800_sup/platform_asic create mode 100644 device/arista/x86_64-arista_7800r3_48cq2_lc/platform_asic create mode 100644 device/arista/x86_64-arista_7800r3_48cqm2_lc/platform_asic create mode 100644 device/arista/x86_64-arista_common/platform_asic create mode 100644 device/barefoot/x86_64-accton_as9516_32d-r0/platform_asic create mode 100644 device/barefoot/x86_64-accton_wedge100bf_32x-r0/platform_asic create mode 100644 device/barefoot/x86_64-accton_wedge100bf_65x-r0/platform_asic create mode 100644 device/broadcom/x86_64-bcm_xlr-r0/platform_asic create mode 100644 device/broadcom/x86_64-broadcom_common/platform_asic create mode 100644 device/celestica/x86_64-cel_e1031-r0/platform_asic create mode 100644 device/celestica/x86_64-cel_midstone-r0/platform_asic create mode 100644 device/celestica/x86_64-cel_seastone-r0/platform_asic create mode 100644 device/celestica/x86_64-cel_seastone_2-r0/platform_asic create mode 100644 device/celestica/x86_64-cel_silverstone-r0/platform_asic create mode 100644 device/centec/arm64-centec_e530_24x2c-r0/platform_asic create mode 100644 device/centec/arm64-centec_e530_24x2q-r0/platform_asic create mode 100644 device/centec/arm64-centec_e530_48s4x-r0/platform_asic create mode 100644 device/centec/arm64-centec_e530_48t4x_p-r0/platform_asic create mode 100644 device/centec/x86_64-centec_e582_48x2q4z-r0/platform_asic create mode 100644 device/centec/x86_64-centec_e582_48x6q-r0/platform_asic create mode 100644 device/centec/x86_64-ew_es6220_x48q2h4-r0/platform_asic create mode 100644 device/cig/x86_64-cig_cs5435_54p-r0/platform_asic create mode 100644 device/cig/x86_64-cig_cs6436_54p-r0/platform_asic create mode 100644 device/cig/x86_64-cig_cs6436_56p-r0/platform_asic create mode 100644 device/dell/x86_64-dell_s6000_s1220-r0/platform_asic create mode 100644 device/dell/x86_64-dell_s6100_c2538-r0/platform_asic create mode 100644 device/dell/x86_64-dell_z9100_c2538-r0/platform_asic create mode 100644 device/dell/x86_64-dellemc_n3248pxe_c3338-r0/platform_asic create mode 100644 device/dell/x86_64-dellemc_n3248te_c3338-r0/platform_asic create mode 100644 device/dell/x86_64-dellemc_s5224f_c3538-r0/platform_asic create mode 100644 device/dell/x86_64-dellemc_s5232f_c3538-r0/platform_asic create mode 100644 device/dell/x86_64-dellemc_s5248f_c3538-r0/platform_asic create mode 100644 device/dell/x86_64-dellemc_s5296f_c3538-r0/platform_asic create mode 100644 device/dell/x86_64-dellemc_z9264f_c3538-r0/platform_asic create mode 100644 device/dell/x86_64-dellemc_z9332f_d1508-r0/platform_asic create mode 100644 device/delta/x86_64-delta_ag5648-r0/platform_asic create mode 100644 device/delta/x86_64-delta_ag9032v1-r0/platform_asic create mode 100644 device/delta/x86_64-delta_ag9032v2a-r0/platform_asic create mode 100644 device/delta/x86_64-delta_ag9064-r0/platform_asic create mode 100644 device/delta/x86_64-delta_agc032-r0/platform_asic create mode 100644 device/delta/x86_64-delta_et-6248brb-r0/platform_asic create mode 100644 device/delta/x86_64-delta_et-c032if-r0/platform_asic create mode 100644 device/facebook/x86_64-facebook_wedge100-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s8810_32q-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s8900_54xc-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s8900_64xc-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s9100-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s9130_32x-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s9180_32x-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s9200_64x-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s9230_64x-r0/platform_asic create mode 100644 device/ingrasys/x86_64-ingrasys_s9280_64x-r0/platform_asic create mode 100644 device/inventec/x86_64-inventec_d6254qs-r0/platform_asic create mode 100644 device/inventec/x86_64-inventec_d6332-r0/platform_asic create mode 100644 device/inventec/x86_64-inventec_d6356-r0/platform_asic create mode 100644 device/inventec/x86_64-inventec_d6556-r0/platform_asic create mode 100644 device/inventec/x86_64-inventec_d7032q28b-r0/platform_asic create mode 100644 device/inventec/x86_64-inventec_d7054q28b-r0/platform_asic create mode 100644 device/inventec/x86_64-inventec_d7264q28b-r0/platform_asic create mode 100644 device/juniper/x86_64-juniper_qfx5200-r0/platform_asic create mode 100644 device/juniper/x86_64-juniper_qfx5210-r0/platform_asic create mode 100644 device/marvell/arm64-marvell_db98cx8580_16cd-r0/platform_asic create mode 100644 device/marvell/arm64-marvell_db98cx8580_32cd-r0/platform_asic create mode 100644 device/marvell/armhf-marvell_et6448m_52x-r0/platform_asic create mode 100644 device/marvell/x86_64-marvell_db98cx8580_16cd-r0/platform_asic create mode 100644 device/marvell/x86_64-marvell_db98cx8580_32cd-r0/platform_asic create mode 100644 device/marvell/x86_64-marvell_slm5401_54x-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_lssn2700-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn2010-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn2100-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn2410-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn2700-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn2700_simx-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn2740-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn3420-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn3700-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn3700_simx-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn3700c-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn3800-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn4410-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn4600-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn4600c-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn4700-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn4700_simx-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_msn4800_simx-r0/platform_asic create mode 100644 device/mellanox/x86_64-mlnx_x86-r5.0.1400/platform_asic create mode 100644 device/mitac/x86_64-mitac_ly1200_b32h0_c3-r0/platform_asic create mode 100644 device/nokia/armhf-nokia_ixs7215_52x-r0/platform_asic create mode 100644 device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_asic create mode 100644 device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_asic create mode 100644 device/pegatron/x86_64-pegatron_porsche-r0/platform_asic create mode 100644 device/quanta/x86_64-quanta_ix1b_32x-r0/platform_asic create mode 100644 device/quanta/x86_64-quanta_ix1b_rglbmc-r0/platform_asic create mode 100644 device/quanta/x86_64-quanta_ix7_bwde-r0/platform_asic create mode 100644 device/quanta/x86_64-quanta_ix7_rglbmc-r0/platform_asic create mode 100644 device/quanta/x86_64-quanta_ix8_rglbmc-r0/platform_asic create mode 100644 device/quanta/x86_64-quanta_ix8a_bwde-r0/platform_asic create mode 100644 device/quanta/x86_64-quanta_ix8c_bwde-r0/platform_asic create mode 100644 device/quanta/x86_64-quanta_ix9_bwde-r0/platform_asic create mode 100644 device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/platform_asic create mode 100644 device/ragile/x86_64-ragile_ra-b6910-64c-r0/platform_asic create mode 100644 device/ruijie/x86_64-ruijie_b6510-48vs8cq-r0/platform_asic create mode 100644 device/virtual/x86_64-kvm_x86_64-r0/platform_asic create mode 100644 device/virtual/x86_64-kvm_x86_64_4_asic-r0/platform_asic create mode 100644 device/virtual/x86_64-kvm_x86_64_6_asic-r0/platform_asic create mode 100644 device/wnc/x86_64-wnc_osw1800-r0/platform_asic create mode 100755 src/sonic-device-data/tests/platform_asic_checker diff --git a/device/accton/x86_64-accton_as4630_54pe-r0/platform_asic b/device/accton/x86_64-accton_as4630_54pe-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as4630_54pe-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as4630_54te-r0/platform_asic b/device/accton/x86_64-accton_as4630_54te-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as4630_54te-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as5712_54x-r0/platform_asic b/device/accton/x86_64-accton_as5712_54x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as5712_54x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as5812_54t-r0/platform_asic b/device/accton/x86_64-accton_as5812_54t-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as5812_54t-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as5812_54x-r0/platform_asic b/device/accton/x86_64-accton_as5812_54x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as5812_54x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as5835_54t-r0/platform_asic b/device/accton/x86_64-accton_as5835_54t-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as5835_54t-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as5835_54x-r0/platform_asic b/device/accton/x86_64-accton_as5835_54x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as5835_54x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as6712_32x-r0/platform_asic b/device/accton/x86_64-accton_as6712_32x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as6712_32x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7116_54x-r0/platform_asic b/device/accton/x86_64-accton_as7116_54x-r0/platform_asic new file mode 100644 index 0000000000..4211b60b9c --- /dev/null +++ b/device/accton/x86_64-accton_as7116_54x-r0/platform_asic @@ -0,0 +1 @@ +nephos diff --git a/device/accton/x86_64-accton_as7212_54x-r0/platform_asic b/device/accton/x86_64-accton_as7212_54x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7212_54x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7312_54x-r0/platform_asic b/device/accton/x86_64-accton_as7312_54x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7312_54x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7312_54xs-r0/platform_asic b/device/accton/x86_64-accton_as7312_54xs-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7312_54xs-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7315_27xb-r0/platform_asic b/device/accton/x86_64-accton_as7315_27xb-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7315_27xb-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7326_56x-r0/platform_asic b/device/accton/x86_64-accton_as7326_56x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7326_56x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7512_32x-r0/platform_asic b/device/accton/x86_64-accton_as7512_32x-r0/platform_asic new file mode 100644 index 0000000000..9f633e3d17 --- /dev/null +++ b/device/accton/x86_64-accton_as7512_32x-r0/platform_asic @@ -0,0 +1 @@ +cavium diff --git a/device/accton/x86_64-accton_as7712_32x-r0/platform_asic b/device/accton/x86_64-accton_as7712_32x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7712_32x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7716_32x-r0/platform_asic b/device/accton/x86_64-accton_as7716_32x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7716_32x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7716_32xb-r0/platform_asic b/device/accton/x86_64-accton_as7716_32xb-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7716_32xb-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7726_32x-r0/platform_asic b/device/accton/x86_64-accton_as7726_32x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7726_32x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as7816_64x-r0/platform_asic b/device/accton/x86_64-accton_as7816_64x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as7816_64x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as9716_32d-r0/platform_asic b/device/accton/x86_64-accton_as9716_32d-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as9716_32d-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_as9726_32d-r0/platform_asic b/device/accton/x86_64-accton_as9726_32d-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_as9726_32d-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/accton/x86_64-accton_minipack-r0/platform_asic b/device/accton/x86_64-accton_minipack-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/accton/x86_64-accton_minipack-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/alphanetworks/x86_64-alphanetworks_snh60a0_320fv2-r0/platform_asic b/device/alphanetworks/x86_64-alphanetworks_snh60a0_320fv2-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/alphanetworks/x86_64-alphanetworks_snh60a0_320fv2-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/alphanetworks/x86_64-alphanetworks_snh60b0_640f-r0/platform_asic b/device/alphanetworks/x86_64-alphanetworks_snh60b0_640f-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/alphanetworks/x86_64-alphanetworks_snh60b0_640f-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7050_qx32/platform_asic b/device/arista/x86_64-arista_7050_qx32/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7050_qx32/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7050_qx32s/platform_asic b/device/arista/x86_64-arista_7050_qx32s/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7050_qx32s/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7050cx3_32s/platform_asic b/device/arista/x86_64-arista_7050cx3_32s/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7050cx3_32s/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7050sx3_48c8/platform_asic b/device/arista/x86_64-arista_7050sx3_48c8/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7050sx3_48c8/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7050sx3_48yc8/platform_asic b/device/arista/x86_64-arista_7050sx3_48yc8/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7050sx3_48yc8/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7060_cx32s/platform_asic b/device/arista/x86_64-arista_7060_cx32s/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7060_cx32s/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7060cx2_32s/platform_asic b/device/arista/x86_64-arista_7060cx2_32s/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7060cx2_32s/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7060dx4_32/platform_asic b/device/arista/x86_64-arista_7060dx4_32/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7060dx4_32/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7060px4_32/platform_asic b/device/arista/x86_64-arista_7060px4_32/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7060px4_32/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7170_32c/platform_asic b/device/arista/x86_64-arista_7170_32c/platform_asic new file mode 100644 index 0000000000..88d8811792 --- /dev/null +++ b/device/arista/x86_64-arista_7170_32c/platform_asic @@ -0,0 +1 @@ +barefoot diff --git a/device/arista/x86_64-arista_7170_32cd/platform_asic b/device/arista/x86_64-arista_7170_32cd/platform_asic new file mode 100644 index 0000000000..88d8811792 --- /dev/null +++ b/device/arista/x86_64-arista_7170_32cd/platform_asic @@ -0,0 +1 @@ +barefoot diff --git a/device/arista/x86_64-arista_7170_64c/platform_asic b/device/arista/x86_64-arista_7170_64c/platform_asic new file mode 100644 index 0000000000..88d8811792 --- /dev/null +++ b/device/arista/x86_64-arista_7170_64c/platform_asic @@ -0,0 +1 @@ +barefoot diff --git a/device/arista/x86_64-arista_7260cx3_64/platform_asic b/device/arista/x86_64-arista_7260cx3_64/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_7260cx3_64/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_7280cr3_32d4/platform_asic b/device/arista/x86_64-arista_7280cr3_32d4/platform_asic new file mode 100644 index 0000000000..9ba24ca3e7 --- /dev/null +++ b/device/arista/x86_64-arista_7280cr3_32d4/platform_asic @@ -0,0 +1 @@ +broadcom-dnx diff --git a/device/arista/x86_64-arista_7280cr3_32p4/platform_asic b/device/arista/x86_64-arista_7280cr3_32p4/platform_asic new file mode 100644 index 0000000000..9ba24ca3e7 --- /dev/null +++ b/device/arista/x86_64-arista_7280cr3_32p4/platform_asic @@ -0,0 +1 @@ +broadcom-dnx diff --git a/device/arista/x86_64-arista_7280cr3mk_32d4/platform_asic b/device/arista/x86_64-arista_7280cr3mk_32d4/platform_asic new file mode 100644 index 0000000000..9ba24ca3e7 --- /dev/null +++ b/device/arista/x86_64-arista_7280cr3mk_32d4/platform_asic @@ -0,0 +1 @@ +broadcom-dnx diff --git a/device/arista/x86_64-arista_7280cr3mk_32p4/platform_asic b/device/arista/x86_64-arista_7280cr3mk_32p4/platform_asic new file mode 100644 index 0000000000..9ba24ca3e7 --- /dev/null +++ b/device/arista/x86_64-arista_7280cr3mk_32p4/platform_asic @@ -0,0 +1 @@ +broadcom-dnx diff --git a/device/arista/x86_64-arista_7800_sup/platform_asic b/device/arista/x86_64-arista_7800_sup/platform_asic new file mode 100644 index 0000000000..9ba24ca3e7 --- /dev/null +++ b/device/arista/x86_64-arista_7800_sup/platform_asic @@ -0,0 +1 @@ +broadcom-dnx diff --git a/device/arista/x86_64-arista_7800r3_48cq2_lc/platform_asic b/device/arista/x86_64-arista_7800r3_48cq2_lc/platform_asic new file mode 100644 index 0000000000..9ba24ca3e7 --- /dev/null +++ b/device/arista/x86_64-arista_7800r3_48cq2_lc/platform_asic @@ -0,0 +1 @@ +broadcom-dnx diff --git a/device/arista/x86_64-arista_7800r3_48cqm2_lc/platform_asic b/device/arista/x86_64-arista_7800r3_48cqm2_lc/platform_asic new file mode 100644 index 0000000000..9ba24ca3e7 --- /dev/null +++ b/device/arista/x86_64-arista_7800r3_48cqm2_lc/platform_asic @@ -0,0 +1 @@ +broadcom-dnx diff --git a/device/arista/x86_64-arista_common/platform_asic b/device/arista/x86_64-arista_common/platform_asic new file mode 100644 index 0000000000..7e2f4f1044 --- /dev/null +++ b/device/arista/x86_64-arista_common/platform_asic @@ -0,0 +1,2 @@ +broadcom +broadcom-dnx diff --git a/device/barefoot/x86_64-accton_as9516_32d-r0/platform_asic b/device/barefoot/x86_64-accton_as9516_32d-r0/platform_asic new file mode 100644 index 0000000000..88d8811792 --- /dev/null +++ b/device/barefoot/x86_64-accton_as9516_32d-r0/platform_asic @@ -0,0 +1 @@ +barefoot diff --git a/device/barefoot/x86_64-accton_wedge100bf_32x-r0/platform_asic b/device/barefoot/x86_64-accton_wedge100bf_32x-r0/platform_asic new file mode 100644 index 0000000000..88d8811792 --- /dev/null +++ b/device/barefoot/x86_64-accton_wedge100bf_32x-r0/platform_asic @@ -0,0 +1 @@ +barefoot diff --git a/device/barefoot/x86_64-accton_wedge100bf_65x-r0/platform_asic b/device/barefoot/x86_64-accton_wedge100bf_65x-r0/platform_asic new file mode 100644 index 0000000000..88d8811792 --- /dev/null +++ b/device/barefoot/x86_64-accton_wedge100bf_65x-r0/platform_asic @@ -0,0 +1 @@ +barefoot diff --git a/device/broadcom/x86_64-bcm_xlr-r0/platform_asic b/device/broadcom/x86_64-bcm_xlr-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/broadcom/x86_64-bcm_xlr-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/broadcom/x86_64-broadcom_common/platform_asic b/device/broadcom/x86_64-broadcom_common/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/broadcom/x86_64-broadcom_common/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/celestica/x86_64-cel_e1031-r0/platform_asic b/device/celestica/x86_64-cel_e1031-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/celestica/x86_64-cel_e1031-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/celestica/x86_64-cel_midstone-r0/platform_asic b/device/celestica/x86_64-cel_midstone-r0/platform_asic new file mode 100644 index 0000000000..84083a7415 --- /dev/null +++ b/device/celestica/x86_64-cel_midstone-r0/platform_asic @@ -0,0 +1 @@ +innovium diff --git a/device/celestica/x86_64-cel_seastone-r0/platform_asic b/device/celestica/x86_64-cel_seastone-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/celestica/x86_64-cel_seastone-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/celestica/x86_64-cel_seastone_2-r0/platform_asic b/device/celestica/x86_64-cel_seastone_2-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/celestica/x86_64-cel_seastone_2-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/celestica/x86_64-cel_silverstone-r0/platform_asic b/device/celestica/x86_64-cel_silverstone-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/celestica/x86_64-cel_silverstone-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/centec/arm64-centec_e530_24x2c-r0/platform_asic b/device/centec/arm64-centec_e530_24x2c-r0/platform_asic new file mode 100644 index 0000000000..74dac3505e --- /dev/null +++ b/device/centec/arm64-centec_e530_24x2c-r0/platform_asic @@ -0,0 +1 @@ +centec diff --git a/device/centec/arm64-centec_e530_24x2q-r0/platform_asic b/device/centec/arm64-centec_e530_24x2q-r0/platform_asic new file mode 100644 index 0000000000..74dac3505e --- /dev/null +++ b/device/centec/arm64-centec_e530_24x2q-r0/platform_asic @@ -0,0 +1 @@ +centec diff --git a/device/centec/arm64-centec_e530_48s4x-r0/platform_asic b/device/centec/arm64-centec_e530_48s4x-r0/platform_asic new file mode 100644 index 0000000000..74dac3505e --- /dev/null +++ b/device/centec/arm64-centec_e530_48s4x-r0/platform_asic @@ -0,0 +1 @@ +centec diff --git a/device/centec/arm64-centec_e530_48t4x_p-r0/platform_asic b/device/centec/arm64-centec_e530_48t4x_p-r0/platform_asic new file mode 100644 index 0000000000..74dac3505e --- /dev/null +++ b/device/centec/arm64-centec_e530_48t4x_p-r0/platform_asic @@ -0,0 +1 @@ +centec diff --git a/device/centec/x86_64-centec_e582_48x2q4z-r0/platform_asic b/device/centec/x86_64-centec_e582_48x2q4z-r0/platform_asic new file mode 100644 index 0000000000..74dac3505e --- /dev/null +++ b/device/centec/x86_64-centec_e582_48x2q4z-r0/platform_asic @@ -0,0 +1 @@ +centec diff --git a/device/centec/x86_64-centec_e582_48x6q-r0/platform_asic b/device/centec/x86_64-centec_e582_48x6q-r0/platform_asic new file mode 100644 index 0000000000..74dac3505e --- /dev/null +++ b/device/centec/x86_64-centec_e582_48x6q-r0/platform_asic @@ -0,0 +1 @@ +centec diff --git a/device/centec/x86_64-ew_es6220_x48q2h4-r0/platform_asic b/device/centec/x86_64-ew_es6220_x48q2h4-r0/platform_asic new file mode 100644 index 0000000000..74dac3505e --- /dev/null +++ b/device/centec/x86_64-ew_es6220_x48q2h4-r0/platform_asic @@ -0,0 +1 @@ +centec diff --git a/device/cig/x86_64-cig_cs5435_54p-r0/platform_asic b/device/cig/x86_64-cig_cs5435_54p-r0/platform_asic new file mode 100644 index 0000000000..4211b60b9c --- /dev/null +++ b/device/cig/x86_64-cig_cs5435_54p-r0/platform_asic @@ -0,0 +1 @@ +nephos diff --git a/device/cig/x86_64-cig_cs6436_54p-r0/platform_asic b/device/cig/x86_64-cig_cs6436_54p-r0/platform_asic new file mode 100644 index 0000000000..4211b60b9c --- /dev/null +++ b/device/cig/x86_64-cig_cs6436_54p-r0/platform_asic @@ -0,0 +1 @@ +nephos diff --git a/device/cig/x86_64-cig_cs6436_56p-r0/platform_asic b/device/cig/x86_64-cig_cs6436_56p-r0/platform_asic new file mode 100644 index 0000000000..4211b60b9c --- /dev/null +++ b/device/cig/x86_64-cig_cs6436_56p-r0/platform_asic @@ -0,0 +1 @@ +nephos diff --git a/device/dell/x86_64-dell_s6000_s1220-r0/platform_asic b/device/dell/x86_64-dell_s6000_s1220-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dell_s6000_s1220-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dell_s6100_c2538-r0/platform_asic b/device/dell/x86_64-dell_s6100_c2538-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dell_s6100_c2538-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dell_z9100_c2538-r0/platform_asic b/device/dell/x86_64-dell_z9100_c2538-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dell_z9100_c2538-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dellemc_n3248pxe_c3338-r0/platform_asic b/device/dell/x86_64-dellemc_n3248pxe_c3338-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dellemc_n3248pxe_c3338-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dellemc_n3248te_c3338-r0/platform_asic b/device/dell/x86_64-dellemc_n3248te_c3338-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dellemc_n3248te_c3338-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dellemc_s5224f_c3538-r0/platform_asic b/device/dell/x86_64-dellemc_s5224f_c3538-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dellemc_s5224f_c3538-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dellemc_s5232f_c3538-r0/platform_asic b/device/dell/x86_64-dellemc_s5232f_c3538-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dellemc_s5232f_c3538-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dellemc_s5248f_c3538-r0/platform_asic b/device/dell/x86_64-dellemc_s5248f_c3538-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dellemc_s5248f_c3538-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dellemc_s5296f_c3538-r0/platform_asic b/device/dell/x86_64-dellemc_s5296f_c3538-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dellemc_s5296f_c3538-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dellemc_z9264f_c3538-r0/platform_asic b/device/dell/x86_64-dellemc_z9264f_c3538-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dellemc_z9264f_c3538-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/dell/x86_64-dellemc_z9332f_d1508-r0/platform_asic b/device/dell/x86_64-dellemc_z9332f_d1508-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/dell/x86_64-dellemc_z9332f_d1508-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/delta/x86_64-delta_ag5648-r0/platform_asic b/device/delta/x86_64-delta_ag5648-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/delta/x86_64-delta_ag5648-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/delta/x86_64-delta_ag9032v1-r0/platform_asic b/device/delta/x86_64-delta_ag9032v1-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/delta/x86_64-delta_ag9032v1-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/delta/x86_64-delta_ag9032v2a-r0/platform_asic b/device/delta/x86_64-delta_ag9032v2a-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/delta/x86_64-delta_ag9032v2a-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/delta/x86_64-delta_ag9064-r0/platform_asic b/device/delta/x86_64-delta_ag9064-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/delta/x86_64-delta_ag9064-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/delta/x86_64-delta_agc032-r0/platform_asic b/device/delta/x86_64-delta_agc032-r0/platform_asic new file mode 100644 index 0000000000..84083a7415 --- /dev/null +++ b/device/delta/x86_64-delta_agc032-r0/platform_asic @@ -0,0 +1 @@ +innovium diff --git a/device/delta/x86_64-delta_et-6248brb-r0/platform_asic b/device/delta/x86_64-delta_et-6248brb-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/delta/x86_64-delta_et-6248brb-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/delta/x86_64-delta_et-c032if-r0/platform_asic b/device/delta/x86_64-delta_et-c032if-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/delta/x86_64-delta_et-c032if-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/facebook/x86_64-facebook_wedge100-r0/platform_asic b/device/facebook/x86_64-facebook_wedge100-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/facebook/x86_64-facebook_wedge100-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ingrasys/x86_64-ingrasys_s8810_32q-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s8810_32q-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s8810_32q-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ingrasys/x86_64-ingrasys_s8900_54xc-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s8900_54xc-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s8900_54xc-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ingrasys/x86_64-ingrasys_s8900_64xc-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s8900_64xc-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s8900_64xc-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ingrasys/x86_64-ingrasys_s9100-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s9100-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s9100-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ingrasys/x86_64-ingrasys_s9130_32x-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s9130_32x-r0/platform_asic new file mode 100644 index 0000000000..4211b60b9c --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s9130_32x-r0/platform_asic @@ -0,0 +1 @@ +nephos diff --git a/device/ingrasys/x86_64-ingrasys_s9180_32x-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s9180_32x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s9180_32x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ingrasys/x86_64-ingrasys_s9200_64x-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s9200_64x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s9200_64x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ingrasys/x86_64-ingrasys_s9230_64x-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s9230_64x-r0/platform_asic new file mode 100644 index 0000000000..4211b60b9c --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s9230_64x-r0/platform_asic @@ -0,0 +1 @@ +nephos diff --git a/device/ingrasys/x86_64-ingrasys_s9280_64x-r0/platform_asic b/device/ingrasys/x86_64-ingrasys_s9280_64x-r0/platform_asic new file mode 100644 index 0000000000..88d8811792 --- /dev/null +++ b/device/ingrasys/x86_64-ingrasys_s9280_64x-r0/platform_asic @@ -0,0 +1 @@ +barefoot diff --git a/device/inventec/x86_64-inventec_d6254qs-r0/platform_asic b/device/inventec/x86_64-inventec_d6254qs-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/inventec/x86_64-inventec_d6254qs-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/inventec/x86_64-inventec_d6332-r0/platform_asic b/device/inventec/x86_64-inventec_d6332-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/inventec/x86_64-inventec_d6332-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/inventec/x86_64-inventec_d6356-r0/platform_asic b/device/inventec/x86_64-inventec_d6356-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/inventec/x86_64-inventec_d6356-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/inventec/x86_64-inventec_d6556-r0/platform_asic b/device/inventec/x86_64-inventec_d6556-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/inventec/x86_64-inventec_d6556-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/inventec/x86_64-inventec_d7032q28b-r0/platform_asic b/device/inventec/x86_64-inventec_d7032q28b-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/inventec/x86_64-inventec_d7032q28b-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/inventec/x86_64-inventec_d7054q28b-r0/platform_asic b/device/inventec/x86_64-inventec_d7054q28b-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/inventec/x86_64-inventec_d7054q28b-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/inventec/x86_64-inventec_d7264q28b-r0/platform_asic b/device/inventec/x86_64-inventec_d7264q28b-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/inventec/x86_64-inventec_d7264q28b-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/juniper/x86_64-juniper_qfx5200-r0/platform_asic b/device/juniper/x86_64-juniper_qfx5200-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/juniper/x86_64-juniper_qfx5200-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/juniper/x86_64-juniper_qfx5210-r0/platform_asic b/device/juniper/x86_64-juniper_qfx5210-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/juniper/x86_64-juniper_qfx5210-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/marvell/arm64-marvell_db98cx8580_16cd-r0/platform_asic b/device/marvell/arm64-marvell_db98cx8580_16cd-r0/platform_asic new file mode 100644 index 0000000000..a554752878 --- /dev/null +++ b/device/marvell/arm64-marvell_db98cx8580_16cd-r0/platform_asic @@ -0,0 +1 @@ +marvell diff --git a/device/marvell/arm64-marvell_db98cx8580_32cd-r0/platform_asic b/device/marvell/arm64-marvell_db98cx8580_32cd-r0/platform_asic new file mode 100644 index 0000000000..a554752878 --- /dev/null +++ b/device/marvell/arm64-marvell_db98cx8580_32cd-r0/platform_asic @@ -0,0 +1 @@ +marvell diff --git a/device/marvell/armhf-marvell_et6448m_52x-r0/platform_asic b/device/marvell/armhf-marvell_et6448m_52x-r0/platform_asic new file mode 100644 index 0000000000..a554752878 --- /dev/null +++ b/device/marvell/armhf-marvell_et6448m_52x-r0/platform_asic @@ -0,0 +1 @@ +marvell diff --git a/device/marvell/x86_64-marvell_db98cx8580_16cd-r0/platform_asic b/device/marvell/x86_64-marvell_db98cx8580_16cd-r0/platform_asic new file mode 100644 index 0000000000..a554752878 --- /dev/null +++ b/device/marvell/x86_64-marvell_db98cx8580_16cd-r0/platform_asic @@ -0,0 +1 @@ +marvell diff --git a/device/marvell/x86_64-marvell_db98cx8580_32cd-r0/platform_asic b/device/marvell/x86_64-marvell_db98cx8580_32cd-r0/platform_asic new file mode 100644 index 0000000000..a554752878 --- /dev/null +++ b/device/marvell/x86_64-marvell_db98cx8580_32cd-r0/platform_asic @@ -0,0 +1 @@ +marvell diff --git a/device/marvell/x86_64-marvell_slm5401_54x-r0/platform_asic b/device/marvell/x86_64-marvell_slm5401_54x-r0/platform_asic new file mode 100644 index 0000000000..a554752878 --- /dev/null +++ b/device/marvell/x86_64-marvell_slm5401_54x-r0/platform_asic @@ -0,0 +1 @@ +marvell diff --git a/device/mellanox/x86_64-mlnx_lssn2700-r0/platform_asic b/device/mellanox/x86_64-mlnx_lssn2700-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_lssn2700-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn2010-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn2010-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn2010-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn2100-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn2100-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn2100-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn2410-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn2410-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn2410-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn2700-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn2700-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn2700-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn2700_simx-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn2700_simx-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn2700_simx-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn2740-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn2740-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn2740-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn3420-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn3420-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn3420-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn3700-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn3700-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn3700-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn3700_simx-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn3700_simx-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn3700_simx-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn3700c-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn3700c-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn3700c-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn3800-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn3800-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn3800-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn4410-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn4410-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4410-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn4600-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn4600-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn4600c-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn4600c-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4600c-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn4700-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn4700-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4700-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn4700_simx-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn4700_simx-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4700_simx-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn4800-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_msn4800_simx-r0/platform_asic b/device/mellanox/x86_64-mlnx_msn4800_simx-r0/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800_simx-r0/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mellanox/x86_64-mlnx_x86-r5.0.1400/platform_asic b/device/mellanox/x86_64-mlnx_x86-r5.0.1400/platform_asic new file mode 100644 index 0000000000..70c0748855 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_x86-r5.0.1400/platform_asic @@ -0,0 +1 @@ +mellanox diff --git a/device/mitac/x86_64-mitac_ly1200_b32h0_c3-r0/platform_asic b/device/mitac/x86_64-mitac_ly1200_b32h0_c3-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/mitac/x86_64-mitac_ly1200_b32h0_c3-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/nokia/armhf-nokia_ixs7215_52x-r0/platform_asic b/device/nokia/armhf-nokia_ixs7215_52x-r0/platform_asic new file mode 100644 index 0000000000..a554752878 --- /dev/null +++ b/device/nokia/armhf-nokia_ixs7215_52x-r0/platform_asic @@ -0,0 +1 @@ +marvell diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_asic b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_asic new file mode 100644 index 0000000000..9ba24ca3e7 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_asic @@ -0,0 +1 @@ +broadcom-dnx diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_asic b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/pegatron/x86_64-pegatron_porsche-r0/platform_asic b/device/pegatron/x86_64-pegatron_porsche-r0/platform_asic new file mode 100644 index 0000000000..4211b60b9c --- /dev/null +++ b/device/pegatron/x86_64-pegatron_porsche-r0/platform_asic @@ -0,0 +1 @@ +nephos diff --git a/device/quanta/x86_64-quanta_ix1b_32x-r0/platform_asic b/device/quanta/x86_64-quanta_ix1b_32x-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/quanta/x86_64-quanta_ix1b_32x-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/quanta/x86_64-quanta_ix1b_rglbmc-r0/platform_asic b/device/quanta/x86_64-quanta_ix1b_rglbmc-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/quanta/x86_64-quanta_ix1b_rglbmc-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/quanta/x86_64-quanta_ix7_bwde-r0/platform_asic b/device/quanta/x86_64-quanta_ix7_bwde-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/quanta/x86_64-quanta_ix7_bwde-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/quanta/x86_64-quanta_ix7_rglbmc-r0/platform_asic b/device/quanta/x86_64-quanta_ix7_rglbmc-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/quanta/x86_64-quanta_ix7_rglbmc-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/quanta/x86_64-quanta_ix8_rglbmc-r0/platform_asic b/device/quanta/x86_64-quanta_ix8_rglbmc-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/quanta/x86_64-quanta_ix8_rglbmc-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/quanta/x86_64-quanta_ix8a_bwde-r0/platform_asic b/device/quanta/x86_64-quanta_ix8a_bwde-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/quanta/x86_64-quanta_ix8a_bwde-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/quanta/x86_64-quanta_ix8c_bwde-r0/platform_asic b/device/quanta/x86_64-quanta_ix8c_bwde-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/quanta/x86_64-quanta_ix8c_bwde-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/quanta/x86_64-quanta_ix9_bwde-r0/platform_asic b/device/quanta/x86_64-quanta_ix9_bwde-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/quanta/x86_64-quanta_ix9_bwde-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/platform_asic b/device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ragile/x86_64-ragile_ra-b6910-64c-r0/platform_asic b/device/ragile/x86_64-ragile_ra-b6910-64c-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ragile/x86_64-ragile_ra-b6910-64c-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/ruijie/x86_64-ruijie_b6510-48vs8cq-r0/platform_asic b/device/ruijie/x86_64-ruijie_b6510-48vs8cq-r0/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/ruijie/x86_64-ruijie_b6510-48vs8cq-r0/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/virtual/x86_64-kvm_x86_64-r0/platform_asic b/device/virtual/x86_64-kvm_x86_64-r0/platform_asic new file mode 100644 index 0000000000..12c13a2308 --- /dev/null +++ b/device/virtual/x86_64-kvm_x86_64-r0/platform_asic @@ -0,0 +1 @@ +vs diff --git a/device/virtual/x86_64-kvm_x86_64_4_asic-r0/platform_asic b/device/virtual/x86_64-kvm_x86_64_4_asic-r0/platform_asic new file mode 100644 index 0000000000..12c13a2308 --- /dev/null +++ b/device/virtual/x86_64-kvm_x86_64_4_asic-r0/platform_asic @@ -0,0 +1 @@ +vs diff --git a/device/virtual/x86_64-kvm_x86_64_6_asic-r0/platform_asic b/device/virtual/x86_64-kvm_x86_64_6_asic-r0/platform_asic new file mode 100644 index 0000000000..12c13a2308 --- /dev/null +++ b/device/virtual/x86_64-kvm_x86_64_6_asic-r0/platform_asic @@ -0,0 +1 @@ +vs diff --git a/device/wnc/x86_64-wnc_osw1800-r0/platform_asic b/device/wnc/x86_64-wnc_osw1800-r0/platform_asic new file mode 100644 index 0000000000..88d8811792 --- /dev/null +++ b/device/wnc/x86_64-wnc_osw1800-r0/platform_asic @@ -0,0 +1 @@ +barefoot diff --git a/src/sonic-device-data/src/Makefile b/src/sonic-device-data/src/Makefile index 5ecefbf379..c6e05b5a8f 100644 --- a/src/sonic-device-data/src/Makefile +++ b/src/sonic-device-data/src/Makefile @@ -17,4 +17,5 @@ test: for f in $$(find ../../../device -name hwsku.json); do ./hwsku_json_checker $$f done + ./platform_asic_checker ../../../platform ../../../device popd diff --git a/src/sonic-device-data/tests/platform_asic_checker b/src/sonic-device-data/tests/platform_asic_checker new file mode 100755 index 0000000000..5684b312a4 --- /dev/null +++ b/src/sonic-device-data/tests/platform_asic_checker @@ -0,0 +1,65 @@ +#!/usr/bin/env python3 +# For any valid platform folder (which must includes a default_sku file), check there is a valid platform_asic file + +import fnmatch +import os +import sys +import argparse + +def check_file(platform_asic_file, platforms): + try: + with open(platform_asic_file, "r") as f: + for line in f.readlines(): + line = line.rstrip() + if line not in platforms: + return False + except IOError: + return False + return True + + +def main(argv): + parser = argparse.ArgumentParser(description='') + parser.add_argument('platform_folder', type=str, + help='an integer for the accumulator') + parser.add_argument('device_folder', type=str, + help='sum the integers (default: find the max)') + + args = parser.parse_args() + + # Load all the valid platforms as strings + platforms = set() + with os.scandir(args.platform_folder) as it: + for entry in it: + p = entry.path + if entry.is_dir() and os.path.isfile(os.path.join(p, 'rules.mk')): + platforms.add(entry.name) + # dnx platform is special broadcom platform, add it manually + platforms.add('broadcom-dnx') + + device_folder = os.path.normpath(args.device_folder) + base_level = len(device_folder.split(os.sep)) + all_good = True + for dirpath, _, filenames in os.walk(args.device_folder, followlinks=True): + # The platform folder is like device_folder/vendor/platform + if len(dirpath.split(os.sep)) != base_level + 2: + continue + # If none of below files found, this is not the root of a platform folder + if not ({'default_sku', 'installer.conf', 'led_proc_init.soc', 'asic.conf'} & set(filenames)): + continue + + platform_asic_file = os.path.join(dirpath, 'platform_asic') + good = check_file(platform_asic_file, platforms) + if good: + print("File " + platform_asic_file + " passed validity check") + else: + print("File " + platform_asic_file + " failed validity check") + + all_good = all_good and good + + if not all_good: + sys.exit(-1) + + +if __name__ == "__main__": + main(sys.argv[1:])