Script to automate migration testing

removed awk files, added logger name,used argparse

added code for v4 upgrade and updated code according to recent migration changes

code updated for reboot