neutron/neutron/plugins/ml2/drivers
Daniel Alvarez Sanchez 32e938e698 [OVN] Only account for bound ports in metadata agent
Due to bug #1922934 there might be situations with stale ports
in the OVN database. When instances request metadata, the agent
will try to fetch all ports for that particular network with the
same IP address and there should be only one.

However, when there are stale ports in OVN database but not in
Neutron, those ports may have the same IP address and the result
is that metadata won't work. As the stale ports will never be
bound to any hypervisor, this patch is accounting only for
bound ports so that those ports don't interfere until they
eventually get fixed by the maintenance task.

Related-Bug: #1922934
Signed-off-by: Daniel Alvarez Sanchez <dalvarez@redhat.com>
Change-Id: I708904b982d243359f2eeda809beae0321f1a7db
2021-04-22 15:23:43 +02:00
..
agent Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
l2pop Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
linuxbridge Make ARP protection commands compatible with "ebtables-nft" 2021-04-09 13:30:39 +00:00
macvtap Merge "Set process name for agents" 2020-07-08 13:40:10 +00:00
mech_sriov [SR-IOV] Do not fail if ip-link vf "min_tx_rate" is not supported 2021-03-11 09:46:03 +00:00
openvswitch Call install_ingress_direct_goto_flows() when ovs restarts 2021-03-22 17:24:11 +08:00
ovn [OVN] Only account for bound ports in metadata agent 2021-04-22 15:23:43 +02:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py Randomize segmentation ID assignation 2021-03-24 13:56:09 +00:00
mech_agent.py Filter ML2Plugin mech driver supported extensions 2020-09-01 17:19:38 +00:00
type_flat.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_local.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_tunnel.py Remove "six" library 2020-07-28 16:55:52 +00:00
type_vlan.py Fix VLAN driver tests 2021-03-16 15:43:33 +00:00
type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00