Remove host ping test

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
Mrunal Patel 2017-01-17 13:43:23 -08:00
parent 3243cf7307
commit e785e3e07f
2 changed files with 0 additions and 39 deletions

View file

@ -245,14 +245,6 @@ function parse_pod_ip() {
done
}
function ping_host_pod() {
pod_ip=`ocic pod status --id $1 | grep "IP Address" | cut -d ' ' -f 3`
ping -W 1 -c 5 $pod_ip
echo $?
}
function ping_pod() {
netns=`ocic pod status --id $1 | grep namespace | cut -d ' ' -f 3`
inet=`ip netns exec \`basename $netns\` ip addr show dev eth0 scope global | grep inet`