There changeset [1] tackles it for a specific case (RpcWorker for sriovnicswitch).
But other plugins or extensions may need it too, so my idea would be to add configuration options like enable_ovn_idl_for_allservices_worker and enable_ovn_idl_for_rpc_workers and if they are set, enable the IDL for neutron.service.AllServicesNeutronWorker and neutron.service.RpcWorker respectively. This could be combined with [1], so that it won't be necessary to set enable_ovn_idl_for_rpc_workers explicitly for sriovnicswitch.
There changeset [1] tackles it for a specific case (RpcWorker for sriovnicswitch). ovn_idl_ for_allservices _worker and enable_ ovn_idl_ for_rpc_ workers and if they are set, enable the IDL for neutron. service. AllServicesNeut ronWorker and neutron. service. RpcWorker respectively. This could be combined with [1], so that it won't be necessary to set enable_ ovn_idl_ for_rpc_ workers explicitly for sriovnicswitch.
But other plugins or extensions may need it too, so my idea would be to add configuration options like enable_
[1] https:/ /review. opendev. org/c/openstack /neutron/ +/795474