Add changes for validating config at the boot phase of haas

Please review the changes.