vmware-nsx/quantum/plugins/cisco
Roman Podolyaka daaf2b6d65 Fix usage of Query.all() and NoResultFound
SQLAlchemy Query.all() method doesn't raise NoResultFound
exception in case if no result is found but rather returns
an empty list. So this pattern which is common for our code
doesn't make sense and should be fixed:

    try:
        dns_qry = context.session.query(models_v2.DNSNameServer)
        return dns_qry.filter_by(subnet_id=subnet_id).all()
    except exc.NoResultFound:
        return []

Fixes bug 1173131.

Change-Id: I19b64eecd6edac0dba7dd0bf2ab32690c46e4f8b
2013-05-03 16:24:57 +03:00
..
common Docstrings formatted according to pep257 2013-04-30 17:09:13 +03:00
db Fix usage of Query.all() and NoResultFound 2013-05-03 16:24:57 +03:00
extensions Docstrings formatted according to pep257 2013-04-30 17:09:13 +03:00
models Docstrings formatted according to pep257 2013-04-30 17:09:13 +03:00
nexus Docstrings formatted according to pep257 2013-04-30 17:09:13 +03:00
tests Docstrings formatted according to pep257 2013-04-30 17:09:13 +03:00
__init__.py Update codebase for HACKING compliance. 2012-05-01 11:46:24 -07:00
l2device_plugin_base.py Docstrings formatted according to pep257 2013-04-30 17:09:13 +03:00
network_plugin.py Docstrings formatted according to pep257 2013-04-30 17:09:13 +03:00
README README file changes for Cisco plugin 2012-09-17 10:54:14 -07:00
run_tests.py Replace "OpenStack LLC" with "OpenStack Foundation" 2013-03-13 15:06:24 -04:00

Cisco Quantum Virtual Network Plugin

This plugin implements Quantum v2 APIs and helps configure
topologies consisting of virtual and physical switches.

For more details on use please refer to:
http://wiki.openstack.org/cisco-quantum