Skip to content
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

Merged
merged 3 commits into from
Nov 21, 2017

Conversation

andriymoroz-mlnx
Copy link
Contributor

@andriymoroz-mlnx andriymoroz-mlnx commented Nov 10, 2017

What I did
Move QoS configuration to config DB

See also:
sonic-net/sonic-swss-common#158
sonic-net/sonic-buildimage#1162

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
@svc-acs
Copy link
Collaborator

svc-acs commented Nov 13, 2017

Build triggered. sha1 is merged.

1 similar comment
@svc-acs
Copy link
Collaborator

svc-acs commented Nov 13, 2017

Build triggered. sha1 is merged.

@svc-acs
Copy link
Collaborator

svc-acs commented Nov 13, 2017

Build started sha1 is merged.

@svc-acs
Copy link
Collaborator

svc-acs commented Nov 13, 2017

Build finished. No test results found.

@svc-acs
Copy link
Collaborator

svc-acs commented Nov 13, 2017

Build started sha1 is merged.

@svc-acs
Copy link
Collaborator

svc-acs commented Nov 13, 2017

Build finished. No test results found.

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
@@ -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);
Copy link
Contributor

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 = '|';
Copy link
Contributor

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.

Copy link
Contributor

@yxieca yxieca left a 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>
@yxieca yxieca merged commit 3a9cf8f into sonic-net:master Nov 21, 2017
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
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>
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants