323eb7f2e1
This adds three methods to make working with bulk port DB lookups easier in ML2: * partial_port_ids_to_full_ids: takes short port IDs map to full port IDs. This will allow us to eliminate many LIKE queries and do one just once for all ports on an RPC call. * get_port_db_objects: Takes a list of port IDs and returns a map to port DB objects. This allows us to get access to sqla obejcts for a bunch of ports without a custom session.query call. * get_network_contexts: Takes a list of network_ids and does a bulk construction of NetworkContext objects and returns them as a map of network_id to NetworkContext to avoid expensive net lookups when constructing lots of PortContext objects. Partial-Bug: #1665215 Change-Id: I330eefbf429bd62f2a7e8ebadf7037da15c86815 |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: http://docs.openstack.org
- Features: http://specs.openstack.org/openstack/neutron-specs
- Defects: http://launchpad.net/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst