summaryrefslogtreecommitdiffstats
path: root/nova/context.py
diff options
context:
space:
mode:
authorKevin Bringard <kbringard@attinteractive.com>2011-07-26 17:03:55 +0000
committerTarmac <>2011-07-26 17:03:55 +0000
commit48a6bf42b3af5323d35f9a31bd4233712165b276 (patch)
treefbd52e2cd7dda90998108fd63834c9c878167ec7 /nova/context.py
parent8e087df9835f42efd54697faf150053a55c5ea30 (diff)
parent22d9e52eaebb6c6c870c4eaf73da5fd42dadefa9 (diff)
downloadnova-48a6bf42b3af5323d35f9a31bd4233712165b276.tar.gz
nova-48a6bf42b3af5323d35f9a31bd4233712165b276.tar.xz
nova-48a6bf42b3af5323d35f9a31bd4233712165b276.zip
queries in the models.Instance context need to reference the table by name (fixed_ips) however queries in the models.FloatingIp context alias the tables out properly and return the data as fixed_ip (which is why you need to reference it by fixed_ip in that context).
Ideally we should probably consider adding a fixed_ip alias to the models.Instance query context so that the api code is consistent, but for now this should resolve the outstanding issues.
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions