Skip to content

Commit 491e60a

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 8dbc3cc commit 491e60a

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
@@ -1089,6 +1089,7 @@ def version_4_0_5(self):
10891089
This is the latest version for master branch
10901090
"""
10911091
log.log_info('Handling version_4_0_5')
1092+
10921093
return None
10931094

10941095
def get_version(self):

0 commit comments

Comments
 (0)