[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
This commit is contained in:
Rodolfo Alonso Hernandez 2023-12-21 22:52:06 +00:00
parent fa46584af9
commit d603b0fc2c
1 changed files with 5 additions and 0 deletions

View File

@ -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