sonic-buildimage/device/arista/x86_64-arista_7170_64c
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
..
Arista-7170-64C Updated format of generating BUFFER_QUEUE in buffers_defaults templates (#9850) 2022-04-13 09:11:01 -07:00
Arista-7170-Q59S20 [BFN] Update configuration files (#9913) 2022-03-09 09:57:08 +05:30
default_sku
fancontrol
pcie.yaml [Arista] Update platform configurations and library (#7527) 2021-05-06 10:59:22 -07: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_reboot
platform.json Add platform.json to Arista platforms (#6150) 2020-12-08 10:20:13 -08:00
plugins [device/Arista] Add initial support for platform API (#2964) 2019-06-07 09:01:09 -07:00
pmon_daemon_control.json [Arista] Update driver submodules (#5686) 2020-10-23 12:28:36 -07:00
sensors.conf [Arista] Rename chip in sensors.conf for 7170 platform (#6026) 2020-12-01 15:57:31 -08:00
system_health_monitoring_config.json [arista]: Add placeholder healthd configuration for all platforms (#6233) 2020-12-17 05:18:38 -08:00
thermal_policy.json [Arista] Update driver submodules (#5686) 2020-10-23 12:28:36 -07:00