openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #18303
Re: Accessing Nova DB from Quantum
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@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+zhongyue.nah=intel.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Debojyoti Dutta
Sent: Tuesday, November 06, 2012 2:50 PM
To: Trinath Somanchi
Cc: openstack@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx<mailto:trinath.somanchi@xxxxxxxxx>> 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@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
--
-Debo~
Follow ups
References