Fix ping command execution for tests with floating ips

Added retry for calling of ping command for tests that check connectivity with floating ips.

Change-Id: I9074559a0cee1c559d87832fcf07aba944ad4361