[Openstack] Accessing Nova DB from Quantum

Nah, Zhongyue zhongyue.nah at intel.com
Tue Nov 6 07:33:06 UTC 2012


The information in the Nova DB should provide by a client API interface. Quantum should use the client and invoke the API call.

From: openstack-bounces+zhongyue.nah=intel.com at lists.launchpad.net [mailto:openstack-bounces+zhongyue.nah=intel.com at lists.launchpad.net] On Behalf Of Debojyoti Dutta
Sent: Tuesday, November 06, 2012 2:50 PM
To: Trinath Somanchi
Cc: openstack at lists.launchpad.net
Subject: Re: [Openstack] Accessing Nova DB from Quantum

Shouldnt you be using nova APIs instead of the NOVA DB? Whats your use case?

On Mon, Nov 5, 2012 at 10:46 PM, Trinath Somanchi <trinath.somanchi at gmail.com<mailto:trinath.somanchi at gmail.com>> wrote:
Hi-


While going through the SQLALchemy of the Quantum, I was struck on how to Access the NOVA DB tables from Quantum SQLAlchemy.

Can any one guide me on How to query the tables of the NOVA DB from the Quantum SQLAlchemy. I have seen that the querying in SQLAlchemy in NOVA and Quantum, is with Models which are the table definitions.

How can we query the NOVA DB tables from the Quantum SQLAlchemy like wise cross DB querying from every Module of Openstack?

Please help me understand the approach in this regard.

Thanking you



--
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130<tel:%2B91%209866%20235%20130>


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



--
-Debo~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121106/001036eb/attachment.html>


More information about the Openstack mailing list