From 0c484feda47263cf1de5eaf034b39cb46a304d7c Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Thu, 27 Oct 2011 14:10:47 -0700 Subject: [PATCH] check that you can't hit the floating ip as well --- exercise.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exercise.sh b/exercise.sh index f7dd175021..61c7b08ae4 100755 --- a/exercise.sh +++ b/exercise.sh @@ -137,6 +137,11 @@ if ( ping -c1 -w1 $IP); then exit 1 fi +if ( ping -c1 -w1 $FLOATING_IP); then + echo "Pause failure - ping floating ips shouldn't work" + exit 1 +fi + # unpause the VM and verify we can ping it again nova unpause $NAME