diff options
author | Kevin Bringard <kbringard@attinteractive.com> | 2011-07-26 17:03:55 +0000 |
---|---|---|
committer | Tarmac <> | 2011-07-26 17:03:55 +0000 |
commit | 48a6bf42b3af5323d35f9a31bd4233712165b276 (patch) | |
tree | fbd52e2cd7dda90998108fd63834c9c878167ec7 /nova/context.py | |
parent | 8e087df9835f42efd54697faf150053a55c5ea30 (diff) | |
parent | 22d9e52eaebb6c6c870c4eaf73da5fd42dadefa9 (diff) | |
download | nova-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