OpenStack Networking (Neutron)
Go to file
Rodolfo Alonso Hernandez 9911d414c6 Improve "objects.db.api.count" method
Two improvements are implemented in this method:
- Add a query limit number parameter. This parameter is used by
  "NeutronDbObject.objects_exist" to limit the number of registers
  retrieved to 1.
- Add a query field parameter. This is the name (string) of the
  "obj_cls.fields" list. That will reduce the columns to be
  retrieved to only one. To check the existence of a DB register,
  there is not need to retrieve the full DB model including the back
  references.
  In case of not passing any value, the first "obj_cls.primary_keys"
  value will be used instead.

Closes-Bug: #1925528

Change-Id: I9fd5e306e293102c366d89c01bbe8b13721d59b0
2021-04-28 07:50:56 +00:00
api-ref
devstack [OVN] security group logging support (2 of 2) 2021-03-02 10:48:23 -05:00
doc Remove SRIOV attach limitation from the doc 2021-04-22 10:36:44 +02:00
etc Remove not needed rootwrap filters 2021-04-02 10:49:07 +00:00
neutron Improve "objects.db.api.count" method 2021-04-28 07:50:56 +00:00
playbooks Add periodic jobs to test "nftables" binaries 2021-04-12 09:48:11 +00:00
rally-jobs
releasenotes Merge "Document Linux Bridge compatibility with "nftables"" 2021-04-12 21:14:35 +00:00
roles Add periodic jobs to test "nftables" binaries 2021-04-12 09:48:11 +00:00
tools Merge "ovn-migration: Introduce migrate mode to DB sync tool" 2021-04-26 14:22:47 +00:00
vagrant/ovn
zuul.d Merge "Configure branch on which tripleo jobs should be run" 2021-04-22 03:32:05 +00:00
.coveragerc
.gitignore
.gitreview
.mailmap
.pylintrc
.stestr.conf
CONTRIBUTING.rst
HACKING.rst
LICENSE
README.rst
TESTING.rst
bindep.txt
lower-constraints.txt Improve "objects.db.api.count" method 2021-04-28 07:50:56 +00:00
plugin.spec
requirements.txt Improve "objects.db.api.count" method 2021-04-28 07:50:56 +00:00
setup.cfg
setup.py
test-requirements.txt
tox.ini Group execution of SQL functional tests 2021-04-09 09:52:11 +00:00

README.rst

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute, please read the CONTRIBUTING.rst file.