Skip to content

Commit 44da735

Browse files
ganglyurajkumar38
authored andcommitted
[db_migrator] Migrate DNS configuratuion (sonic-net#2893)
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.
1 parent 7da7032 commit 44da735

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/db_migrator.py

+1
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,7 @@ def version_4_0_5(self):
10911091
This is the latest version for master branch
10921092
"""
10931093
log.log_info('Handling version_4_0_5')
1094+
10941095
return None
10951096

10961097
def get_version(self):

0 commit comments

Comments
 (0)