summaryrefslogtreecommitdiffstats
path: root/nova/db
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-08-25 16:44:10 -0700
committerVishvananda Ishaya <vishvananda@yahoo.com>2010-08-25 16:44:10 -0700
commita6784ba13821dccfb852cff3ca16f7db30bb3c05 (patch)
treee14845200d2d55a9cfb9e9cb63a85f4bb14fd499 /nova/db
parent35c589d18651f576935bf6d742fcfac00f61433b (diff)
downloadnova-a6784ba13821dccfb852cff3ca16f7db30bb3c05.tar.gz
nova-a6784ba13821dccfb852cff3ca16f7db30bb3c05.tar.xz
nova-a6784ba13821dccfb852cff3ca16f7db30bb3c05.zip
network tests pass again
Diffstat (limited to 'nova/db')
-rw-r--r--nova/db/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/db/api.py b/nova/db/api.py
index a30ec2cd5..2f759cb44 100644
--- a/nova/db/api.py
+++ b/nova/db/api.py
@@ -138,7 +138,7 @@ def fixed_ip_get_by_address(context, address):
def fixed_ip_get_network(context, address):
- """Get a fixed ip by address."""
+ """Get a network for a fixed ip by address."""
return _impl.fixed_ip_get_network(context, address)
def fixed_ip_lease(context, address):
@@ -280,12 +280,12 @@ def network_get_associated_fixed_ips(context, network_id):
"""Get all network's ips that have been associated."""
return _impl.network_get_associated_fixed_ips(context, network_id)
+
def network_get_by_bridge(context, bridge):
"""Get an network or raise if it does not exist."""
return _impl.network_get_by_bridge(context, bridge)
-
def network_get_host(context, network_id):
"""Get host assigned to network or raise"""
return _impl.network_get_host(context, network_id)