Skip to content

Commit

Permalink
Remove sonic-db-cli (#122)
Browse files Browse the repository at this point in the history
#### Why I did it
    Fix sonic-db-cli high CPU usage on SONiC startup issue: sonic-net/sonic-buildimage#10218
    ETA of this issue will be 2022/05/31

#### How I did it
    Re-write sonic-cli with c++ in sonic-swss-common: sonic-net/sonic-swss-common#607
    Remove python version sonic-db-cli from swsssdk.

#### How to verify it
    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
    Remove python version sonic-db-cli from swsssdk

#### 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)
  • Loading branch information
liuh-80 authored Jun 1, 2022
1 parent 653bdba commit ca785a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 132 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package_dir={'swsssdk': 'src/swsssdk'},
packages=['swsssdk'],
package_data={'swsssdk': ['config/*.json']},
scripts=['src/swsssdk/scripts/sonic-db-cli'],
scripts=[],
license='Apache 2.0',
author='SONiC Team',
author_email='linuxnetdev@microsoft.com',
Expand Down
131 changes: 0 additions & 131 deletions src/swsssdk/scripts/sonic-db-cli

This file was deleted.

0 comments on commit ca785a2

Please sign in to comment.