sonic-swss
sonic-swss copied to clipboard
[dvs] Use DB namespace to construct DVSDatabase objects
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
retest this please