From 107cad200a15a3131525436b483dbef5e88b9508 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 17 Apr 2017 15:03:14 -0500 Subject: Low-level Compute v2 API: floating ip pool api.compute.APIv2 floating ip pool function. novaclient 8.0 is now released without support for the previously deprecated nova-net functions, so include a new low-level REST implementation of the removed APIs. Also includes a handful of cleanups that the previous security group and floating IP reviews missed. Change-Id: I20116ec4fc1113857d8d917bfb30fa3170d05b9f --- openstackclient/network/v2/floating_ip_pool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openstackclient/network') diff --git a/openstackclient/network/v2/floating_ip_pool.py b/openstackclient/network/v2/floating_ip_pool.py index 73e94ead..ebb15da8 100644 --- a/openstackclient/network/v2/floating_ip_pool.py +++ b/openstackclient/network/v2/floating_ip_pool.py @@ -34,10 +34,10 @@ class ListFloatingIPPool(common.NetworkAndComputeLister): columns = ( 'Name', ) - data = client.floating_ip_pools.list() + data = client.api.floating_ip_pool_list() return (columns, - (utils.get_item_properties( + (utils.get_dict_properties( s, columns, ) for s in data)) -- cgit v1.2.1