From 0cd01edc9c0788ba9c63b34e78e347042eb5792d Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Wed, 23 Jun 2021 09:42:30 +0200 Subject: [PATCH] [OVN] Add subnet-service-types as supported by OVN mech driver This API extension is supported by ML2 plugin and is database only thing. So there is no need to filter it out when OVN backend is used. Related-Bug: #1933115 Change-Id: Ica4490d3ec36e227301e3f3a7b093750b2e18b83 --- doc/source/admin/ovn/features.rst | 2 ++ neutron/common/ovn/extensions.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/source/admin/ovn/features.rst b/doc/source/admin/ovn/features.rst index 08beb96d77e..08e98e62bd4 100644 --- a/doc/source/admin/ovn/features.rst +++ b/doc/source/admin/ovn/features.rst @@ -130,6 +130,8 @@ The following Neutron API extensions are supported with OVN: +----------------------------------+-----------------------------+ | Subnet Allocation | subnet_allocation | +----------------------------------+-----------------------------+ +| Subnet service types | subnet-service-types | ++----------------------------------+-----------------------------+ | Tag support | standard-attr-tag | +----------------------------------+-----------------------------+ | Time Stamp Fields | standard-attr-timestamp | diff --git a/neutron/common/ovn/extensions.py b/neutron/common/ovn/extensions.py index 70094705502..f2988312a84 100644 --- a/neutron/common/ovn/extensions.py +++ b/neutron/common/ovn/extensions.py @@ -55,6 +55,7 @@ from neutron_lib.api.definitions import security_groups_normalized_cidr from neutron_lib.api.definitions import security_groups_remote_address_group from neutron_lib.api.definitions import segment as seg_def from neutron_lib.api.definitions import sorting +from neutron_lib.api.definitions import subnet_service_types from neutron_lib.api.definitions import trunk from neutron_lib.api.definitions import vlantransparent from neutron_lib import constants @@ -118,6 +119,7 @@ ML2_SUPPORTED_API_EXTENSIONS = [ constants.SUBNET_ALLOCATION_EXT_ALIAS, 'standard-attr-tag', 'standard-attr-timestamp', + subnet_service_types.ALIAS, trunk.ALIAS, 'quota_details', seg_def.ALIAS,