sonic-buildimage/device/arista
Oleksandr Kozodoi 8c10c01bd8
Updated format of generating BUFFER_QUEUE in buffers_defaults templates (#9850)
This PR includes necessary changes for correct generating BUFFER_QUEUE values in DB. Changes are based on the schema.md

Why I did it
Change format of generating BUFFER_QUEUE in DB according to schema.md and yang-model.

Old format:
    "BUFFER_QUEUE": {
        "Ethernet0,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet12,Ethernet120,Ethernet124,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet4,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet8,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96|queue": {
            "profile": "profile"
        },
        "Ethernet0,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet12,Ethernet120,Ethernet124,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet4,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet8,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96|queue": {
            "profile": "profile"
        }
    },
New format:
    "BUFFER_QUEUE": {
        "Ethernet0|queue": {
            "profile": "profile"
        },
        "Ethernet0|queue": {
            "profile": "profile"
        },
        "Ethernet4|queue": {
            "profile": "profile"
        },
        "Ethernet4|queue": {
            "profile": "profile"
        },
        "Ethernet8|queue": {
            "profile": "profile"
        },
        "Ethernet8|queue": {
            "profile": "profile"
        },
        ...
    }
How I did it
Updated structure of buffers_defaults jinja templates.

Signed-off-by: Oleksandr Kozodoi <oleksandrx.kozodoi@intel.com>
2022-04-13 09:11:01 -07:00
..
x86_64-arista_7050_qx32 Disable ALPM distributed hitbit thread that is used for debug purpose only but interfered with Other functional operations (#9199) 2021-11-09 07:21:57 -08:00
x86_64-arista_7050_qx32s [Arista] Change default_sku for 7050QX-32S (#9730) 2022-01-16 07:36:22 +05:30
x86_64-arista_7050cx3_32s [device config] Adding configuration for default route fallback (#10465) 2022-04-12 14:43:03 -07:00
x86_64-arista_7050sx3_48c8 [broadcom]: td2/td3 change cpu cos num to 10 (#9301) 2021-11-17 20:56:46 -08:00
x86_64-arista_7050sx3_48yc8 [broadcom]: td2/td3 change cpu cos num to 10 (#9301) 2021-11-17 20:56:46 -08:00
x86_64-arista_7060_cx32s [Arista] Increase switch PCIe timeout for 7060-cx32s (#9248) 2021-12-17 08:43:25 -08:00
x86_64-arista_7060cx2_32s Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-arista_7060dx4_32 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-arista_7060px4_32 Disable ALPM distributed hitbit thread that is used for debug purpose only but interfered with Other functional operations (#9199) 2021-11-09 07:21:57 -08:00
x86_64-arista_7170_32c [BFN] Update configuration files (#9913) 2022-03-09 09:57:08 +05:30
x86_64-arista_7170_32cd [BFN] Update configuration files (#9913) 2022-03-09 09:57:08 +05:30
x86_64-arista_7170_64c Updated format of generating BUFFER_QUEUE in buffers_defaults templates (#9850) 2022-04-13 09:11:01 -07:00
x86_64-arista_7170b_64c [Arista] Update driver submodules (#9393) 2021-12-08 11:33:36 -08:00
x86_64-arista_7260cx3_64 [device config] Adding configuration for default route fallback (#10465) 2022-04-12 14:43:03 -07:00
x86_64-arista_7280cr3_32d4 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-arista_7280cr3_32p4 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-arista_7280cr3mk_32d4 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
x86_64-arista_7280cr3mk_32p4 [arista] Update serdes tuning values for 7280cr3 (#9966) 2022-04-05 09:49:26 -07:00
x86_64-arista_7800_sup Add platform.json configs for all denali SKUs (#9717) 2022-01-20 12:14:44 +05:30
x86_64-arista_7800r3_48cq2_lc [arista] Update serdes tuning values for 7800r3_48cqm2 (#9967) 2022-04-12 15:53:35 -07:00
x86_64-arista_7800r3_48cqm2_lc [arista] Update serdes tuning values for 7800r3_48cqm2 (#9967) 2022-04-12 15:53:35 -07:00
x86_64-arista_common Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -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