]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add thread locks on port routines for qos ext
authorJakub Libosvar <libosvar@redhat.com>
Mon, 10 Aug 2015 08:37:13 +0000 (08:37 +0000)
committerJakub Libosvar <libosvar@redhat.com>
Mon, 10 Aug 2015 08:41:23 +0000 (08:41 +0000)
commitd83375960c3716241dd1d5e60fd773a647be0eda
tree58017e18c0b74a4800a052f61e8236d1528abc8c
parenta034115e6160d8c2d7e63a1465fea97e1ced03fb
Add thread locks on port routines for qos ext

Only one routine can be executed at one time. Handling port updates or
creations is a critical section of qos agent extension. With this patch
only one routine can be executed and in case of incoming update/create,
execution routine must wait until second routine is done with its job.

Change-Id: I28931d2be00dd87a8155a50afe008e03e9699f17
Partially-Implements: blueprint quantum-qos-api
neutron/agent/l2/extensions/qos.py