Anna Khmelnitsky 2910521b1d NSXv3: Solve race condition in DB cert provider
Certificate provider is dumping certificate to file system and
deleting it immediately after use. In order to prevent file
collisions between neutron processes, pid was used, which was
problematic since the pid was assigned before neutron fork.
This commit switches to use random file name, generated at later
stage.
In addition, it adds locks to bullet-proof collisions within
same process.

Change-Id: Iee6c179a4412b150345e5fffc095b88d86758b51
2017-05-24 20:54:22 -07:00
..
2017-01-25 17:42:36 +00:00