OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski 1a686fb401 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
2019-10-25 08:51:19 +02:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack Merge "Fix designate driver not being fully region aware" 2019-10-03 23:51:35 +00:00
doc Merge "Stop testing python 2" 2019-10-28 00:52:16 +00:00
etc Stop testing python 2 2019-10-25 18:50:08 +00:00
neutron Switch to use cast method in dhcp_ready_on_ports method 2019-10-25 08:51:19 +02:00
playbooks Switch neutron-tempest-postgres-full job definition to Zuul v3 2019-10-02 11:55:37 +00:00
rally-jobs Rally task definition for port binding scenario 2019-07-08 13:25:46 +02:00
releasenotes Make the MTU attribute not nullable 2019-10-28 03:32:50 +00:00
roles Fix log directory permissions for functional job 2019-08-03 12:06:32 +00:00
tools Stop testing python 2 2019-10-25 18:50:08 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Removing existing dirs from .gitignore 2019-05-31 13:35:30 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Fix pylint R1717 (consider-using-dict-comprehension) refactor messages 2019-03-14 23:19:58 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml Stop testing python 2 2019-10-25 18:50:08 +00:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
TESTING.rst Stop testing python 2 2019-10-25 18:50:08 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Merge "Stop testing python 2" 2019-10-28 00:52:16 +00:00
lower-constraints.txt Stop testing python 2 2019-10-25 18:50:08 +00:00
requirements.txt Stop testing python 2 2019-10-25 18:50:08 +00:00
setup.cfg Stop testing python 2 2019-10-25 18:50:08 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
tox.ini Stop testing python 2 2019-10-25 18:50:08 +00:00

README.rst

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst