neutron/neutron/tests/unit/agent
Slawek Kaplonski 8c2b944dc0 Switch to use cast method in dhcp_ready_on_ports method
When DHCP agent reports to the neutron-server which ports are
ready, it was using call() method from rpc client.
That caused blocking dhcp agent's dhcp_ready_ports_loop thread which
blocks to send info about other ready ports if there are any.

Method call() should be used when RPC caller returns a value to the
caller but that's not the case here. On neutron server side this
RPC method is only calling provisioning_complete() method to
finish provisioning of ports. And is not returning anything.

So to make sending dhcp ready ports to neutron-server much faster
this patch switch to use cast() method from rpc client.
This method don't block to wait for return value from RPC caller.

Change-Id: Ie119693854aa283b863a1eac2bdae3330c2b6a9d
Closes-Bug: #1850864
(cherry picked from commit 1a686fb401)
2019-11-15 15:53:44 +01:00
..
common Clear skb mark on encapsulating packets 2019-08-12 17:19:06 +04:00
dhcp Switch to use cast method in dhcp_ready_on_ports method 2019-11-15 15:53:44 +01:00
l2 Clear residual qos rules after l2-agent restarts. 2019-01-22 12:59:24 +00:00
l3 Add radvd_user config option 2019-10-24 15:59:03 +00:00
linux Fix mismatch of tags in dnsmasq options 2019-10-23 21:52:46 +02:00
metadata Revert iptables TCP checksum-fill code 2019-04-29 15:34:29 +00:00
ovsdb Merge "Kill _connection_to_manager_uri dummy" 2018-02-22 00:30:24 +00:00
windows Fix neutron-openvswitch-agent Windows support 2018-08-28 06:53:11 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
test_resource_cache.py Merge "Fix race condition with enabling SG on many ports at once" 2018-01-27 10:36:37 +00:00
test_rpc.py Add binding activation to OVS agent 2018-07-18 11:59:33 -05:00
test_securitygroups_rpc.py Divide-and-conquer security group beasts 2019-04-03 10:59:58 -07:00