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

[202205] Fix sonic-db-cli dictionary output format not backward compatible issue #690

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

keboliu
Copy link
Collaborator

@keboliu keboliu commented Sep 18, 2022

This is to backport PR fix #678 to 202205 branch.
since the original PR has not been cherry-picked yet, so create this PR directly to backport the fix.
If the original PR will be cherry-picked, then this PR should be closed.

Why I did it

Fix sonic-db-cli dictionary output format not backward compatible issue: sonic-net/sonic-buildimage#11945

How I did it

Improve redis reply format method, keep same format with redis-py.

How to verify it

Add c++ unit test to cover all code.
Pass all E2E test scenario.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Fix sonic-db-cli dictionary output format not backward compatible issue.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

…ue. (sonic-net#678)

#### Why I did it
Fix sonic-db-cli dictionary output format not backward compatible issue: sonic-net/sonic-buildimage#11945

#### How I did it
Improve redis reply format method, keep same format with redis-py.

#### How to verify it
Add c++ unit test to cover all code.
Pass all E2E test scenario.

#### Which release branch to backport (provide reason below if selected)

<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111

#### Description for the changelog
Fix sonic-db-cli dictionary output format not backward compatible issue.

#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/SONiC/wiki/Configuration.
-->

#### A picture of a cute animal (not mandatory but encouraged)
@liat-grozovik liat-grozovik merged commit afd2382 into sonic-net:202205 Sep 19, 2022
@keboliu keboliu deleted the 202205_sonic_db_cli_fix branch September 20, 2022 02:39
liat-grozovik pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Sep 20, 2022
)

- Why I did it
To pickup new commit from sonic-swss-common submodule:

afd2382 [202205] Fix sonic-db-cli dictionary output format not backward compatible issue. sonic-net/sonic-swss-common#690

- How I did it
Advance the sonic-swss-common submodule pointer

Signed-off-by: Kebo Liu <kebol@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants