sonic-buildimage/device/barefoot/x86_64-accton_as9516_32d-r0/newport
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][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00
pg_profile_lookup.ini [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -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 [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00
sai.profile [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00
switch-tna-sai.conf [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00