]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: Fix request_id in api_client to increment
authorAaron Rosen <aaronorosen@gmail.com>
Fri, 30 May 2014 22:11:27 +0000 (15:11 -0700)
committerAaron Rosen <aaronorosen@gmail.com>
Fri, 30 May 2014 22:11:27 +0000 (15:11 -0700)
commit7a12da7be0acd58b737aeeaa6a9ce27a848c62dc
tree04a530aa7079d4415b2fcf2e7e87d7a3de6a212b
parente65b06f458f179c50f7b4d4f7ba269d7343ef461
NSX: Fix request_id in api_client to increment

Previously, the NSX request_id in the api_client would always be
0 because the current request id was stored in the class which is
always initialized on each request. This patch fixes that by storing
the request_id as a class variable.

Change-Id: I9ff4d3eb09899fe6d14b462dddf9daddbf77873b
Closes-bug: 1325100
neutron/plugins/vmware/api_client/eventlet_request.py