-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ProfileProvider class to support read profile config from PROFILE_DB. #683
Conversation
This PR depends on another PR to pass UT: #681 |
There is a ongoing PR to remove this DB. Possible to use it? In reply to: 1260486336 In reply to: 1260486336 Refers to: tests/redis_multi_db_ut_config/database_config1.json:25 in 9b60524. [](commit_id = 9b60524, deletion_comment = False) |
I check the loglevel PR, seems that PR only move logger table from LOGLEVEL_DB, seems still something left in that DB. |
common/configdb.cpp
Outdated
@@ -244,24 +244,7 @@ void ConfigDBConnector_Native::mod_config(const map<string, map<string, map<stri | |||
map<string, map<string, map<string, string>>> ConfigDBConnector_Native::get_config() | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File change in configdb.cpp dbconnector.cpp and dbconnector.h are from another PR:
#692
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Will merge after this validation pass: sonic-net/sonic-buildimage#10575 |
Will merge this PR after the validation PR passed: sonic-net/sonic-buildimage#10575 |
Could you check build failures? |
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Update sonic-swss-common submodule pointer to include the following: * 3352881 Prevent sonic-db-cli generate core dump ([sonic-net#749](sonic-net/sonic-swss-common#749)) * 43cadec Add ProfileProvider class to support read profile config from PROFILE_DB. ([sonic-net#683](sonic-net/sonic-swss-common#683)) * 8b09f90 Update path to sairedis tests ([sonic-net#747](sonic-net/sonic-swss-common#747)) * 85f3776 Non recursive automake and Debian packaging changes ([sonic-net#700](sonic-net/sonic-swss-common#700)) Signed-off-by: AntonHryshchuk <antonh@nvidia.com>
Update sonic-swss-common submodule pointer to include the following: * 565ad4b Fix common path issue ([sonic-net#751](sonic-net/sonic-swss-common#751)) * 3352881 Prevent sonic-db-cli generate core dump ([sonic-net#749](sonic-net/sonic-swss-common#749)) * 43cadec Add ProfileProvider class to support read profile config from PROFILE_DB. ([sonic-net#683](sonic-net/sonic-swss-common#683)) * 8b09f90 Update path to sairedis tests ([sonic-net#747](sonic-net/sonic-swss-common#747)) * 85f3776 Non recursive automake and Debian packaging changes ([sonic-net#700](sonic-net/sonic-swss-common#700)) Signed-off-by: dprital <drorp@nvidia.com>
Update sonic-swss-common submodule pointer to include the following: * 565ad4b Fix common path issue ([#751](sonic-net/sonic-swss-common#751)) * 3352881 Prevent sonic-db-cli generate core dump ([#749](sonic-net/sonic-swss-common#749)) * 43cadec Add ProfileProvider class to support read profile config from PROFILE_DB. ([#683](sonic-net/sonic-swss-common#683)) * 8b09f90 Update path to sairedis tests ([#747](sonic-net/sonic-swss-common#747)) * 85f3776 Non recursive automake and Debian packaging changes ([#700](sonic-net/sonic-swss-common#700)) Signed-off-by: dprital <drorp@nvidia.com>
Update sonic-swss-common submodule pointer to include the following: * 565ad4b Fix common path issue ([sonic-net#751](sonic-net/sonic-swss-common#751)) * 3352881 Prevent sonic-db-cli generate core dump ([sonic-net#749](sonic-net/sonic-swss-common#749)) * 43cadec Add ProfileProvider class to support read profile config from PROFILE_DB. ([sonic-net#683](sonic-net/sonic-swss-common#683)) * 8b09f90 Update path to sairedis tests ([sonic-net#747](sonic-net/sonic-swss-common#747)) * 85f3776 Non recursive automake and Debian packaging changes ([sonic-net#700](sonic-net/sonic-swss-common#700)) This is a reland of sonic-net#13950, with the debug image build fix. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Update sonic-swss-common submodule pointer to include the following: * 06ffb51 Define ACL_TABLE and ACL_RULE table in STATE_DB ([sonic-net#748](sonic-net/sonic-swss-common#748)) * 1b369ab [ci] Fix apt-get install unable locate package issue. ([sonic-net#753](sonic-net/sonic-swss-common#753)) * 619d4ec Improve unit test for go wrapper ([sonic-net#752](sonic-net/sonic-swss-common#752)) * 565ad4b Fix common path issue ([sonic-net#751](sonic-net/sonic-swss-common#751)) * 3352881 Prevent sonic-db-cli generate core dump ([sonic-net#749](sonic-net/sonic-swss-common#749)) * 43cadec Add ProfileProvider class to support read profile config from PROFILE_DB. ([sonic-net#683](sonic-net/sonic-swss-common#683)) * 8b09f90 Update path to sairedis tests ([sonic-net#747](sonic-net/sonic-swss-common#747)) * 85f3776 Non recursive automake and Debian packaging changes ([sonic-net#700](sonic-net/sonic-swss-common#700)) Signed-off-by: AntonHryshchuk <antonh@nvidia.com>
Update sonic-swss-common submodule pointer to include the following: * 565ad4b Fix common path issue ([sonic-net#751](sonic-net/sonic-swss-common#751)) * 3352881 Prevent sonic-db-cli generate core dump ([sonic-net#749](sonic-net/sonic-swss-common#749)) * 43cadec Add ProfileProvider class to support read profile config from PROFILE_DB. ([sonic-net#683](sonic-net/sonic-swss-common#683)) * 8b09f90 Update path to sairedis tests ([sonic-net#747](sonic-net/sonic-swss-common#747)) * 85f3776 Non recursive automake and Debian packaging changes ([sonic-net#700](sonic-net/sonic-swss-common#700)) Signed-off-by: dprital <drorp@nvidia.com>
Why I did it
Add default value and profile support to swss-swss-common.
How I did it
Add ProfileProvider class to support read profile config from PROFILE_DB.
How to verify it
Add new UT.
Pass all existing UT and E2E test.
Which release branch to backport (provide reason below if selected)
Description for the changelog
Add ProfileProvider class to support read profile config from PROFILE_DB.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)