79e8230e39
In "_query_filter_by_fixed_ips_segment", the subnet query should be filtered by segment ID if exists, or None otherwise. The "segment_id" field (from the "subnet" DB register) is a string. As reported in the related bug, PostgreSQL does not accept to compare this field with a boolean value ("false"). This patch avoids the previous situation where the DB WHERE statement was trying to compare a string and a boolean: operator does not exist: character varying = boolean LINE 5: WHERE anon_1.subnets_segment_id = false No operator matches the given name and argument type(s). You might \ need to add explicit type casts. Change-Id: I1ff29eb45c6663885c2b8a126a3669e75b920c98 Closes-Bug: #1869034 |
||
---|---|---|
.. | ||
db | ||
extensions | ||
logapi | ||
plugins | ||
port | ||
qos | ||
README.rst | ||
__init__.py | ||
address_scope.py | ||
agent.py | ||
auto_allocate.py | ||
base.py | ||
conntrack_helper.py | ||
flavor.py | ||
floatingip.py | ||
ipam.py | ||
l3_hamode.py | ||
l3agent.py | ||
metering.py | ||
network.py | ||
network_segment_range.py | ||
port_forwarding.py | ||
ports.py | ||
provisioning_blocks.py | ||
quota.py | ||
rbac.py | ||
rbac_db.py | ||
router.py | ||
securitygroup.py | ||
servicetype.py | ||
stdattrs.py | ||
subnet.py | ||
subnetpool.py | ||
tag.py | ||
trunk.py |
README.rst
Neutron Objects
Directory
This directory is designed to contain all modules which have objects definitions shipped with core Neutron. The files and directories located inside of this directory should follow the guidelines below.
Structure
The Neutron objects tree should have the following structure:
- The expected directory structure is flat, except for the ML2 plugins. All ML2 plugin objects should fall under the plugins subdirectory (i.e. plugins/ml2/gre_allocation).
- Module names should use singular forms for nouns (network.py, not networks.py).