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

Update flush_unused_database to use SonicDBConfig C++ methods #6844

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vaibhavhd
Copy link
Contributor

@vaibhavhd vaibhavhd commented Feb 22, 2021

DO NOT MERGE UNTIL sonic-net/sonic-swss-common#460 is IN sonic-buildimage

Update flush_unused_database to use SonicDBConfig from swsscommon instread of swsssdk

Why I did it

Python based swsssdk (https://github.com/Azure/sonic-py-swsssdk) is being deprecated in favor of C++ library defined in https://github.com/Azure/sonic-swss-common/blob/master/common/dbconnector.cpp

How I did it

Updated the flush_unused_database to use C++ library methods to interact with database.

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

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

@vaibhavhd vaibhavhd requested a review from lguohan as a code owner February 22, 2021 18:58
@vaibhavhd vaibhavhd changed the title Update flush_unused_database to use SonicDBConfig methods defined in … Update flush_unused_database to use SonicDBConfig C++ methods Feb 22, 2021
@vaibhavhd vaibhavhd marked this pull request as draft February 22, 2021 20:02
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.

1 participant