Skip to content

Commit

Permalink
[db_migrator] Migrate DNS configuratuion (sonic-net#2893)
Browse files Browse the repository at this point in the history
What I did
sonic-net/sonic-buildimage#14549
This PR has introduced DNS configuration to CONFIG_DB, we need to migrate original CONFIG_DB to support DNS configuration during upgrading SONiC.

How I did it
If there's no DNS_NAMESERVER table in CONFIG_DB, read DNS_NAMESERVER table from minigraph and update CONFIG_DB.

How to verify it
Run unit test for db migrator.
  • Loading branch information
ganglyu authored and rajkumar38 committed Jul 25, 2023
1 parent 8dbc3cc commit 491e60a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/db_migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,7 @@ def version_4_0_5(self):
This is the latest version for master branch
"""
log.log_info('Handling version_4_0_5')

return None

def get_version(self):
Expand Down

0 comments on commit 491e60a

Please sign in to comment.