Hi everyone,

I am currently experimenting with OVN VIF plug providers and I think I found a bug in the interface of `vif_plug_class` (or at least an inconsistency with the documentation).

Bug Description
---

I read through the documentation and found the following description of the interface:

> If the VIF plug provider has internal lookup tables that need to be
> maintained they can define a run function which will be called as part
> of the ovn-controller main loop. If there are any changes encountered
> the function should return ‘true’ to signal that further processing is > necessary, ‘false’ otherwise.

However, in my plugin, the `run` method never gets called.


Version Information
---

OVN Version: ovn-controller 25.09.0
OVN Commit Hash: 8890abf5a25b7b67f08aca8917c1d00cf2296a56 (but problem
persists with the current HEAD).

Further Description
---

I found that the only place where the `run` method is called is `vif_plug_provider_run_all`. However, I did not find any reference to that function and there seems to be no caller.
Maybe I am just overlooking something...?

Is the `run` method intended to be used at all?

Greetings and thank you for your time
Felix
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to