Fix required extensions for the subnet's service type API tests

In [1] new tests for subnet service types were added but by mistake
'service-types' was set as API extension required for those tests.
In fact this API feature in the subnet is provided by the
'subnet-service-types' extension and this should be required for that
tests.

This patch also adds "subnet-service-types" extension to the Tempest
conf in jobs for all branches up to stable/queens becuase this API
extension was available in Neutron since queens for sure so it's safe to
add it there.

[1] https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/787718

Related-Bug: #1933115
Change-Id: I2b9b472a07455f5e67fc4adcc3b264b4ad8a9dbf
This commit is contained in:
Slawek Kaplonski 2021-06-23 09:37:04 +02:00
parent 47bf2c5054
commit a5cdede387
9 changed files with 9 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class SubnetsSearchCriteriaTest(base.BaseSearchCriteriaTest):
class SubnetServiceTypeTestJSON(base.BaseNetworkTest): class SubnetServiceTypeTestJSON(base.BaseNetworkTest):
required_extensions = ['service-type'] required_extensions = ['subnet-service-types']
@classmethod @classmethod
def resource_setup(cls): def resource_setup(cls):

View File

@ -75,6 +75,7 @@
- standard-attr-timestamp - standard-attr-timestamp
- subnet_allocation - subnet_allocation
- subnet-dns-publish-fixed-ip - subnet-dns-publish-fixed-ip
- subnet-service-types
- subnetpool-prefix-ops - subnetpool-prefix-ops
- tag-ports-during-bulk-creation - tag-ports-during-bulk-creation
- trunk - trunk

View File

@ -75,6 +75,7 @@
- standard-attr-timestamp - standard-attr-timestamp
- standard-attr-tag - standard-attr-tag
- subnet_allocation - subnet_allocation
- subnet-service-types
- trunk - trunk
- trunk-details - trunk-details
network_api_extensions_tempest: network_api_extensions_tempest:

View File

@ -84,6 +84,7 @@
- standard-attr-timestamp - standard-attr-timestamp
- standard-attr-tag - standard-attr-tag
- subnet_allocation - subnet_allocation
- subnet-service-types
- trunk - trunk
- trunk-details - trunk-details
network_api_extensions_tempest: network_api_extensions_tempest:

View File

@ -88,6 +88,7 @@
- standard-attr-tag - standard-attr-tag
- standard-attr-timestamp - standard-attr-timestamp
- subnet_allocation - subnet_allocation
- subnet-service-types
- trunk - trunk
- trunk-details - trunk-details
- uplink-status-propagation - uplink-status-propagation

View File

@ -92,6 +92,7 @@
- standard-attr-tag - standard-attr-tag
- standard-attr-timestamp - standard-attr-timestamp
- subnet_allocation - subnet_allocation
- subnet-service-types
- subnetpool-prefix-ops - subnetpool-prefix-ops
- trunk - trunk
- trunk-details - trunk-details

View File

@ -90,6 +90,7 @@
- standard-attr-timestamp - standard-attr-timestamp
- subnet_allocation - subnet_allocation
- subnet-dns-publish-fixed-ip - subnet-dns-publish-fixed-ip
- subnet-service-types
- subnetpool-prefix-ops - subnetpool-prefix-ops
- tag-ports-during-bulk-creation - tag-ports-during-bulk-creation
- trunk - trunk

View File

@ -89,6 +89,7 @@
- standard-attr-timestamp - standard-attr-timestamp
- subnet_allocation - subnet_allocation
- subnet-dns-publish-fixed-ip - subnet-dns-publish-fixed-ip
- subnet-service-types
- subnetpool-prefix-ops - subnetpool-prefix-ops
- tag-ports-during-bulk-creation - tag-ports-during-bulk-creation
- trunk - trunk

View File

@ -76,6 +76,7 @@
- standard-attr-timestamp - standard-attr-timestamp
- subnet_allocation - subnet_allocation
- subnet-dns-publish-fixed-ip - subnet-dns-publish-fixed-ip
- subnet-service-types
- subnetpool-prefix-ops - subnetpool-prefix-ops
- tag-ports-during-bulk-creation - tag-ports-during-bulk-creation
- trunk - trunk