From d603b0fc2cabe1909c6a83d47c9874d489320808 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Thu, 21 Dec 2023 22:52:06 +0000 Subject: [PATCH] [OVN] "description" property missing in ``NeutronAgent`` The "description" property abstract method definition is missing in the abstract class ``NeutronAgent``. This property is being used in this definition, in the "as_dict" method. Trivial-Fix Change-Id: I18029707414fc361b36e85326e2e9dadd7d6c336 --- neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py b/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py index 8f5e26a1f94..3fe528fdc11 100644 --- a/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py +++ b/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py @@ -139,6 +139,11 @@ class NeutronAgent(abc.ABC): def agent_id(self): pass + @property + @abc.abstractmethod + def description(self): + pass + class ControllerAgent(NeutronAgent): agent_type = ovn_const.OVN_CONTROLLER_AGENT