-
Notifications
You must be signed in to change notification settings - Fork 525
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
Move QoS configuration to config DB #378
Conversation
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
Build triggered. sha1 is merged. |
1 similar comment
Build triggered. sha1 is merged. |
Build started sha1 is merged. |
Build finished. No test results found. |
Build started sha1 is merged. |
Build finished. No test results found. |
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
d248a81
to
bf60822
Compare
orchagent/qosorch.cpp
Outdated
@@ -1014,7 +1014,7 @@ task_process_status QosOrch::handleQueueTable(Consumer& consumer) | |||
|
|||
ref_resolve_status resolve_result; | |||
// sample "QUEUE_TABLE:ETHERNET4:1" | |||
tokens = tokenize(key, delimiter); | |||
tokens = tokenize(key, delimiter2); |
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.
The example doesn't match the code change here. Can you also update the example?
orchagent/orch.h
Outdated
@@ -18,6 +18,7 @@ using namespace std; | |||
using namespace swss; | |||
|
|||
const char delimiter = ':'; | |||
const char delimiter2 = '|'; |
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.
delimiter2 doesn't tell what it is separating, can you give it a more meaningful name? like field_delimiter if it is separating fields, or attr_delimiter if it is separating attributes, for example.
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.
I have a couple non-blocking issue on this review. Otherwise it looks good to me.
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
root@node1# config warm_restart bgp_timer 14 root@node1# show warm_restart config name enable timer_name timer_duration ------ -------- ------------ ---------------- bgp false bgp_timer 14 system true NULL NULL root@7d3e5fba80c0:/# config warm_restart enable bgp root@7d3e5fba80c0:/# show warm_restart config name enable timer_name timer_duration ------ -------- ------------ ---------------- bgp true bgp_timer 14 system false NULL NULL Signed-off-by: Rodny Molina <rmolina@linkedin.com>
…c-net#378) Signed-off-by: Ying Xie <ying.xie@microsoft.com>
What I did
Move QoS configuration to config DB
See also:
sonic-net/sonic-swss-common#158
sonic-net/sonic-buildimage#1162