`OvnDriver and DvrHaDriver` to use "distributed_support" variable

``OvnDriver`` and ``DvrHaDriver`` classes were using an incorrect
variable name to define the DVR support, that should be
"distributed_support" instead of "dvr_support".

Closes-Bug: #2056199
Change-Id: Id2ee080dde8cd094995e94564f2877a89e9cc5aa
This commit is contained in:
Rodolfo Alonso Hernandez
2024-03-05 02:34:30 +00:00
parent c4c14f9589
commit 06d48cb980
2 changed files with 2 additions and 2 deletions

View File

@@ -19,4 +19,4 @@ from neutron.services.l3_router.service_providers import ha
class DvrHaDriver(dvr.DvrDriver, ha.HaDriver):
ha_support = base.MANDATORY
dvr_support = base.MANDATORY
distributed_support = base.MANDATORY

View File

@@ -39,7 +39,7 @@ LOG = logging.getLogger(__name__)
@registry.has_registry_receivers
class OvnDriver(base.L3ServiceProvider):
ha_support = base.MANDATORY
dvr_support = base.MANDATORY
distributed_support = base.MANDATORY
@registry.receives(resources.ROUTER, [events.PRECOMMIT_CREATE])
def _process_router_create_precommit(self, resource, event, trigger,