sonic-buildimage/device/barefoot/x86_64-accton_as9516_32d-r0
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
..
newport Updated format of generating BUFFER_QUEUE in buffers_defaults templates (#9850) 2022-04-13 09:11:01 -07:00
default_sku [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00
installer.conf [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00
pcie.yaml [barefoot][device][platform] Moved pcie.yaml (#6862) 2021-02-23 13:16:42 -08:00
platform_asic Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
platform_components.json [BFN] Implementation API for platform component (#10180) 2022-03-10 16:25:06 +05:30
platform.json [BFN] Updated x86_64-accton_as9516_32d-r0/platform.json (#10368) 2022-04-05 09:11:38 -07:00
pmon_daemon_control.json [BFN] Updated platform plugins (#9540) 2022-01-17 11:16:20 +05:30
syncd.conf [barefoot] Fix y_profile_set to not reset link (#6238) 2020-12-24 10:27:52 -08:00
system_health_monitoring_config.json [BFN] Updated platform plugins (#9540) 2022-01-17 11:16:20 +05:30
thermal_thresholds.json [BFN] Refactoring and adding some functions of Thermal class (set and get thresholds and etc.) (#10205) 2022-04-05 09:13:08 -07:00