]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Nicira plugin: List ports on network gateways
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 23 May 2013 09:09:19 +0000 (11:09 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 23 May 2013 18:41:44 +0000 (20:41 +0200)
commit422d4bbee75c85a192f3e6edcf6bf4ae300430d9
tree764d6d2af96d96f22a77eb0bc15775de742d67f9
parent1e579438407c88433b7f3f4eeba1b6c2810c05e0
Nicira plugin: List ports on network gateways

Bug 1183277

This patch adds a read-only attribute to the network gateway API
extension. This attribute will return the list of ports connected to
a gateway, including their segmentation types and ids.
This patch now adds joined load for a gateway's connections, thus
avoiding extra queries to the db.

Change-Id: I2b22c94eed5bc02be16771660008d31c74a8628e
quantum/plugins/nicira/extensions/nvp_networkgw.py
quantum/plugins/nicira/nicira_networkgw_db.py
quantum/tests/unit/nicira/test_networkgw.py
quantum/tests/unit/nicira/test_nicira_plugin.py