]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Get subnets of router interfaces with an elevated context.
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Mon, 29 Oct 2012 13:37:37 +0000 (22:37 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Mon, 29 Oct 2012 20:45:14 +0000 (05:45 +0900)
commit121a79317cbeec83025c1fafdf472982c8de035d
treea0117e9a008f0d43b34e2dfaff22598ab84fbb5b
parent49283a6a50628860edb7bb54a88419d51e3bb8b7
Get subnets of router interfaces with an elevated context.

Fixes bug 1057558

A router may have interfaces owned by other tenants (by admin operations).
An elevated context is required to get subnet information for such interfaces.

Change-Id: Iaf24c842c2c1e3c52573e7f9831d5f6d8fc01885
quantum/db/l3_db.py
quantum/tests/unit/test_l3_plugin.py