sonic-buildimage/device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara
Ashok Daparthi-Dell 6cbdf11e53
SONIC QOS YANG - Remove qos tables field value refernce format (#7752)
Depends on Azure/sonic-utilities#1626
Depends on Azure/sonic-swss#1754

QOS tables in config db used ABNF format i.e "[TABLE_NAME|name] to refer fieldvalue to other qos tables.

Example:
Config DB:
"Ethernet92|3": {
"scheduler": "[SCHEDULER|scheduler.1]",
"wred_profile": "[WRED_PROFILE|AZURE_LOSSLESS]"
},
"Ethernet0|0": {
"profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
},
"Ethernet0": {
"dscp_to_tc_map": "[DSCP_TO_TC_MAP|AZURE]",
"pfc_enable": "3,4",
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
"tc_to_pg_map": "[TC_TO_PRIORITY_GROUP_MAP|AZURE]",
"tc_to_queue_map": "[TC_TO_QUEUE_MAP|AZURE]"
},

This format is not consistent with other DB schema followed in sonic.
And also this reference in DB is not required, This is taken care by YANG "leafref".

Removed this format from all platform files to consistent with other sonic db schema.
Example:
"Ethernet92|3": {
"scheduler": "scheduler.1",
"wred_profile": "AZURE_LOSSLESS"
},

Dependent pull requests:
#7752 - To modify platfrom files
#7281 - Yang model
Azure/sonic-utilities#1626 - DB migration
Azure/sonic-swss#1754 - swss change to remove ABNF format
2021-09-28 09:21:24 -07:00
..
buffers_defaults_t0.j2 SONIC QOS YANG - Remove qos tables field value refernce format (#7752) 2021-09-28 09:21:24 -07:00
buffers_defaults_t1.j2 SONIC QOS YANG - Remove qos tables field value refernce format (#7752) 2021-09-28 09:21:24 -07:00
buffers.json.j2 [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
hwsku.json [yang] update yang model, add autoneg to sonic-port (#5963) 2021-03-30 08:27:58 -07:00
pg_profile_lookup.ini [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
port_config.ini [yang] update yang model, add autoneg to sonic-port (#5963) 2021-03-30 08:27:58 -07:00
qos.json.j2 [QoS]: Unify qos json by using qos_config.j2 template (#2023) 2018-10-17 14:10:34 -07:00
sai.profile [barefoot]: Add warm-boot feature processing for wedge100bf_32x/65x platforms (#2687) 2019-04-17 00:05:24 -07:00
switch-sai.conf [barefoot][build] Fixed BFN platform build failure (#3766) 2019-11-19 22:14:29 -08:00
switch-tna-sai.conf [barefoot][build] Fixed BFN platform build failure (#3766) 2019-11-19 22:14:29 -08:00