We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a208dcc commit f6c09edCopy full SHA for f6c09ed
exercises/floating_ips.sh
@@ -141,28 +141,6 @@ if ! timeout $ASSOCIATE_TIMEOUT sh -c "while ! ping -c1 -w1 $FLOATING_IP; do sle
141
exit 1
142
fi
143
144
-# pause the VM and verify we can't ping it anymore
145
-nova pause $NAME
146
-
147
-sleep 2
148
149
-if ( ping -c1 -w1 $IP); then
150
- echo "Pause failure - ping shouldn't work"
151
- exit 1
152
-fi
153
154
-if ( ping -c1 -w1 $FLOATING_IP); then
155
- echo "Pause failure - ping floating ips shouldn't work"
156
157
158
159
-# unpause the VM and verify we can ping it again
160
-nova unpause $NAME
161
162
163
164
-ping -c1 -w1 $IP
165
166
# dis-allow icmp traffic (ping)
167
nova secgroup-delete-rule $SECGROUP icmp -1 -1 0.0.0.0/0
168
0 commit comments