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

[dvs] Use DB namespace to construct DVSDatabase objects

Open daall opened this issue 4 years ago • 1 comments

Signed-off-by: Danny Allen [email protected]

What I did I updated the DVSDatabase to refer to DBs by name and depend on the database config as opposed to manually providing the IDs and redis socket path.

Why I did it This is the preferred way of addressing databases now, and it's also a much cleaner abstraction than ID/redis socket.

How I verified it Re-ran the tests w/ this change. Also verified that concurrent tests work as expected.

Details if related

daall avatar Nov 20 '20 00:11 daall

retest this please

daall avatar Nov 20 '20 00:11 daall