Don't do port validation if passed explicity by configuration file
If the configuration to add mirrors is passed by -i parameters, don't
perform mirror offset calculation as the entries in the files are
manually edited based on the preference of the customer.
@@ -511,6 +511,7 @@ class GpAddMirrorsProgram:
# check that heap_checksums is consistent across cluster, fail immediately if not
self.validate_heap_checksums(gpArray)
+ if self.__options.mirrorConfigFile is None:
self.checkMirrorOffset(gpArray)
# check that we actually have mirrors
