Hello Lucas,
Recently on one of the client's installation we faced issue with vDC not being able to connect. It appeared that vDC announced itself with IPv4 and IPv6, vdSM tried to use IPv6 and was not able to connect (it is not yet supporting IPv6).
We think that the best would be to announce vDCs using only IPv4 and also create mechanism in vdSM to retry connection if it fails (implmentation of fitering out IPv6 in vdSM probably would be messy).
This MR is vDC part of implementation. Please let me know what do you think about this idea. If this is fine with you, you can just merge.
Best regards, Marcin