Skip to content

[sonic-py-common] porting sonic_db_dump_load.py from sonic-py-swsssdk to sonic-py-common#12185

Merged
liuh-80 merged 10 commits intosonic-net:masterfrom
liuh-80:dev/liuh/porting-db-dump
Sep 29, 2022
Merged

[sonic-py-common] porting sonic_db_dump_load.py from sonic-py-swsssdk to sonic-py-common#12185
liuh-80 merged 10 commits intosonic-net:masterfrom
liuh-80:dev/liuh/porting-db-dump

Conversation

@liuh-80
Copy link
Copy Markdown
Contributor

@liuh-80 liuh-80 commented Sep 26, 2022

Porting sonic_db_dump_load.py from sonic-py-swsssdk to sonic-py-common.

Why I did it

sonic-py-swsssdk will be deprecate, so porting sonic_db_dump_load.py to sonic-py-common.

How I did it

Copy sonic_db_dump_load.py to sonic-py-common, and fix minor API different.

How to verify it

Pass all E2E test.
The platform_tests/test_advanced_reboot.py::test_warm_reboot will cover this script.

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

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

Description for the changelog

Porting sonic_db_dump_load.py from sonic-py-swsssdk to sonic-py-common.

Ensure to add label/tag for the feature raised. example - PR#2174 where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

@liuh-80
Copy link
Copy Markdown
Contributor Author

liuh-80 commented Sep 26, 2022

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@liuh-80 liuh-80 changed the title [POC] [sonic-py-common] porting sonic_db_dump_load.py from sonic-py-swsssdk to sonic-py-common [sonic-py-common] porting sonic_db_dump_load.py from sonic-py-swsssdk to sonic-py-common Sep 27, 2022
@liuh-80 liuh-80 marked this pull request as ready for review September 28, 2022 03:10
@liuh-80 liuh-80 requested a review from qiluo-msft September 28, 2022 03:10
@liuh-80 liuh-80 merged commit 1f9c89a into sonic-net:master Sep 29, 2022
@liuh-80 liuh-80 deleted the dev/liuh/porting-db-dump branch September 29, 2022 02:28
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.

2 participants