[OVN] Try to bind ports only to the ovn-controller agents
Patch [1] added getting ovn agents from the agents cache and check
if agent is alive to bound port to it.
Small issue with it was that it could check e.g. ovn metadata agent from
the host as it was only filtering agents by the host on which they are.
This patch adds filter on the agent_type so only ovn-controller agents
are taken from the cache.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/853479 /opendev. org/openstack/ neutron/ commit/ eda45de8391597b 6f29d7671599675 5cb1777dd0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit eda45de8391597b 6f29d7671599675 5cb1777dd0
Author: Slawek Kaplonski <email address hidden>
Date: Wed Aug 17 14:00:33 2022 +0200
[OVN] Try to bind ports only to the ovn-controller agents
Patch [1] added getting ovn agents from the agents cache and check
if agent is alive to bound port to it.
Small issue with it was that it could check e.g. ovn metadata agent from
the host as it was only filtering agents by the host on which they are.
This patch adds filter on the agent_type so only ovn-controller agents
are taken from the cache.
[1] https:/ /review. opendev. org/c/openstack /neutron/ +/825428
Related-Bug: #1958501 80656a22fb078bb e6273b5fc70
Change-Id: If065204d7521c4