Cap additional nova-network tests at Queens
As noted in I7aea99d7c1818b8edcda41ba4eaa062a8ea069eb, nova is working
on removing the nova-network only compute REST APIs in the Rocky
release, which means any requests to those APIs after Queens will result
in a 410 response, regardless of microversion or whether or not neutron
is being used.
The os-floating-ips-bulk API is being removed in nova change
I89d081108b398d8efba9636279088c61349b21e6. As a result,
os-floating-ips-bulk tests will no longer works against Rocky+ versions
of nova. Skip this test using the check added in the previous change.
Related to blueprint remove-nova-network
Change-Id: I8c60310cd5d1795b4493ab4c113d614d2208f615
diff --git a/tempest/api/compute/admin/test_floating_ips_bulk.py b/tempest/api/compute/admin/test_floating_ips_bulk.py
index 72d09ed..2d7e1a7 100644
--- a/tempest/api/compute/admin/test_floating_ips_bulk.py
+++ b/tempest/api/compute/admin/test_floating_ips_bulk.py
@@ -25,6 +25,8 @@
CONF = config.CONF
+# TODO(stephenfin): Remove this test class once the nova queens branch goes
+# into extended maintenance mode.
class FloatingIPsBulkAdminTestJSON(base.BaseV2ComputeAdminTest):
"""Tests Floating IPs Bulk APIs that require admin privileges.
@@ -32,6 +34,7 @@
content/ext-os-floating-ips-bulk.html
"""
max_microversion = '2.35'
+ depends_on_nova_network = True
@classmethod
def setup_clients(cls):