Re: [Openstack] compute_rpcapi ?

2012-07-02 Thread Russell Bryant
On 06/29/2012 12:19 PM, Day, Phil wrote:
 Hi Russell,
 
 I tried to look at the README-versioned-rpc-apis.rst  referenced in some of 
 the mail archives between you and Vish, but it gives a 404.  Can you point me 
 to the current copy please ?

All of the content that was in that README has either turned into code
in the tree or code comments.  I would take a look at these files and
then look at examples of where they are used.

https://github.com/openstack/nova/blob/master/nova/openstack/common/rpc/dispatcher.py

https://github.com/openstack/nova/blob/master/nova/openstack/common/rpc/proxy.py

Here is one of the simpler conversions:

https://github.com/openstack/nova/commit/f50ce35c9cf2e05d205485586da1cb6d5433ba56

-- 
Russell Bryant



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] compute_rpcapi ?

2012-06-28 Thread Vishvananda Ishaya
tl; dr

It allows us to version up the internal apis to move towards seamless upgrades.

Blueprint:

https://blueprints.launchpad.net/nova/+spec/versioned-rpc-apis


Some discussion from the ml:

http://www.gossamer-threads.com/lists/openstack/dev/11811


usage instructions:

https://lists.launchpad.net/openstack/msg11365.html


Vish

On Jun 28, 2012, at 6:46 AM, Day, Phil wrote:

 Hi All,
  
 At the risk of sounding badly behind the curve once again, can someone point 
 me to the Blueprint that describes why we now have the compute/rcpapi layer 
 between compute/api and compute/manager please ?I’m guessing that its 
 something to do with api versioning, but a simple overview would be really 
 helpful.
  
 Thanks,
 Phil
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] compute_rpcapi ?

2012-06-28 Thread Jay Pipes

Hi Phil! :)

I believe Russell Bryant recently did some work on pulling the RPC code 
out of Nova and into openstack-common. Russell, perhaps you have some 
insight into Phil's question below?


Best,
-jay

On 06/28/2012 09:46 AM, Day, Phil wrote:

Hi All,

At the risk of sounding badly behind the curve once again, can someone
point me to the Blueprint that describes why we now have the
compute/rcpapi layer between compute/api and compute/manager please ?
I’m guessing that its something to do with api versioning, but a simple
overview would be really helpful.

Thanks,

Phil



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp