The rescue tests requires neutron resources
test_rescued_vm_add_remove_security_group and
the test_rescued_vm_associate_dissociate_floating_ip does not makes
sense if the instance does not have a network connection.
'network' and 'subnet' would be sufficient for the security_group test
case, but the router is required for floating_ip test case.
Closes-Bug: #1274121
Change-Id: Ic8e70d5e549573213b2930d88b5d7da5cd4cf855
diff --git a/tempest/api/compute/servers/test_server_rescue.py b/tempest/api/compute/servers/test_server_rescue.py
index 12e0340..0bf604c 100644
--- a/tempest/api/compute/servers/test_server_rescue.py
+++ b/tempest/api/compute/servers/test_server_rescue.py
@@ -24,6 +24,7 @@
@classmethod
def setUpClass(cls):
+ cls.set_network_resources(network=True, subnet=True, router=True)
super(ServerRescueTestJSON, cls).setUpClass()
cls.device = 'vdf'