From a6784ba13821dccfb852cff3ca16f7db30bb3c05 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Wed, 25 Aug 2010 16:44:10 -0700 Subject: network tests pass again --- nova/db/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nova/db') 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) -- cgit