Go to file
zhhuabj de5c1e4f28 Make "shared" filter more compatible with diff DBs
For the type BOOLEAN, in sqlalchemy,
it's mapped to BOOLEAN type if the backend database supports it,
otherwise, it's mapped to one of the Integer types, like SMALLINT,
and restrict the values to 1(True) and 0(False).

query_filter = (... | model.shared))
The above filter will generate a SQL where clause like:
where ... OR xxx.shared

This is not supported in databases which don't support BOOLEAN type.
Change it as below to make it more compatible:
query_filter = (... | model.shared == True))

It will generate a SQL where clause as below:
where ... OR xxx.shared = ?

In Python, True == 1, so this change is compatible
with both databases supporting BOOLEAN and those not supporting it.

Fix bug 1161195

Change-Id: Ic0ce0816d63b576a3469de0ed92cae4b19a3690e
2013-04-10 18:10:23 +08:00
2013-04-04 04:57:52 +00:00
2012-01-25 08:51:51 +00:00
2013-02-06 16:47:06 +02:00
2013-02-28 17:21:05 -05:00
2012-09-11 10:34:14 +08:00
2011-12-14 00:33:37 +00:00
2013-04-04 04:57:52 +00:00
2013-04-02 12:06:38 -04:00
2012-08-23 01:22:47 -07:00
2013-04-04 04:57:52 +00:00

# -- Welcome!

  You have come across a cloud computing network fabric controller.  It has
  identified itself as "Quantum."  It aims to tame your (cloud) networking!

# -- External Resources:

 The homepage for Quantum is: http://launchpad.net/quantum .  Use this
 site for asking for help, and filing bugs. Code is available on github at
 <http://github.com/openstack/quantum>.

 The latest and most in-depth documentation on how to use Quantum is
 available at: <http://docs.openstack.org>.  This includes:

 Quantum Administrator Guide
 http://docs.openstack.org/trunk/openstack-network/admin/content/

 Quantum API Reference:
 http://docs.openstack.org/api/openstack-network/2.0/content/

 The start of some developer documentation is available at:
 http://wiki.openstack.org/QuantumDevelopment

 For help using or hacking on Quantum, you can send mail to
 <mailto:openstack-dev@lists.openstack.org>.
Description
A set of Neutron drivers for the VMware NSX.
Readme 97 MiB
Languages
Python 98.5%
Shell 1.5%