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

[ciscoSwitchQosMIB]: Remove invocation of update_data function in reinit_data #161

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

SuvarnaMeenakshi
Copy link
Contributor

[ciscoSwitchQosMIB]: Remove invocation of update_data function in reinit_data
function. udpate_data and reinit_data will be invoked by periodic
events. update_data need not be invoked by reinit_data again.
Additional invocation of update_data can cause increase in running time
on multi-asic platform causing Agentx socket connection to break.

Signed-off-by: SuvarnaMeenakshi sumeenak@microsoft.com

- What I did
Removed invocation of update_data function in reinit_data function.
udpate_data and reinit_data will be invoked by periodic events.
update_data need not be invoked by reinit_data again.
Additional invocation of update_data can cause increase in running time on multi-asic platform causing Agentx socket connection to break.

- How I did it
Remove update_data call in reinit_data().

- How to verify it
Verified the output of QosMIB 1.3.6.1.4.1.9.9.580.1.5.5.1.4 on multi-asic platform.

- Description for the changelog

reinit_data. udpate_data and reinit_data will be invoked by periodic
events. update_data need not be invoked by reinit_data again.
Additional invocation of update_data can cause increase in running time
on multi-asic platform causing Agentx socket connection to break.

Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
@SuvarnaMeenakshi SuvarnaMeenakshi marked this pull request as ready for review September 25, 2020 18:56
@abdosi abdosi merged commit 0f772ce into sonic-net:master Sep 28, 2020
abdosi pushed a commit that referenced this pull request Sep 28, 2020
…#161)

reinit_data. udpate_data and reinit_data will be invoked by periodic
events. update_data need not be invoked by reinit_data again.
Additional invocation of update_data can cause increase in running time
on multi-asic platform causing Agentx socket connection to break.

Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
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.

3 participants