sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

[POC] Read buffer config from both static config DB and config DB

Open liuh-80 opened this issue 2 years ago • 3 comments

What I did Change buffermgrd LUA scripts to read BUFFER_POOL and BUFFER_PROFILE config from both config DB and profile DB.

Why I did it BUFFER_POOL and BUFFER_PROFILE config are generated by J2 template when load minigraph. So, these 2 tables are part of OS image, and will move data to profile DB. same table will still exist for user config. swss-common will update to load config from profile DB and config DB and merge them together.

How I verified it PASS all UT

Details if related TODO: Will attach design document here.

liuh-80 avatar Jun 21 '22 07:06 liuh-80

hi can you explain a bit more about the motivation of this PR? thanks

stephenxs avatar Jun 22 '22 02:06 stephenxs

hi can you explain a bit more about the motivation of this PR? thanks

This still a POC PR, not ready for review, description updated.

liuh-80 avatar Aug 29 '22 04:08 liuh-80

CLA Missing ID CLA Not Signed

  • :white_check_mark: login: liuh-80 / name: Hua Liu (c59b98c2eea6b87196197dd1e642e88880fad01c, ba1d1d30b298549d6e70c669a69c6e256a4f38a9, b97a720f72542857dd2c3216ae66c949c7917c15, 7e1a3ec2663a41fa320c2003a8e9eede9301ad44, fa3a88c43644bd336c7709af89a90c42a13511a3)
  • :x: The commit (80e04b1788f234fec2480b706932386a62ca7bb5). This user is missing the User's ID, preventing the EasyCLA check. Consult GitHub Help to resolve.For further assistance with EasyCLA, please submit a support request ticket.