On plugin side, we use normal API context if any to call RPC methods.
We use our plugin dispatcher to convert RPC context into quantum admin
context. After that the callback's functions have the first argument context
as normal quantum context.
On agent side, we use admin context without session property as its
RPC calling context. Call back context is default RPCCommonContext in
Openstack common modules.
This patch also fixes the problem in the following bug:
Reviewed: https:/ /review. openstack. org/15726 github. com/openstack/ quantum/ commit/ 05383d1340aecd7 192609a9197c249 886d844a46
Committed: http://
Submitter: Jenkins
Branch: master
commit 05383d1340aecd7 192609a9197c249 886d844a46
Author: gongysh <email address hidden>
Date: Fri Nov 9 22:45:58 2012 +0800
Fix context problem
On plugin side, we use normal API context if any to call RPC methods.
We use our plugin dispatcher to convert RPC context into quantum admin
context. After that the callback's functions have the first argument context
as normal quantum context.
On agent side, we use admin context without session property as its
RPC calling context. Call back context is default RPCCommonContext in
Openstack common modules.
This patch also fixes the problem in the following bug:
Bug #1077012
Change-Id: I913b48dcd84d27 5cd7de30ca990be 00c243e63ea