remove floating_ip_get_all in nova_client
We have switched to use neutron API instead, this function is no longer needed. Change-Id: Ia2ddc4fdab574a28c2a0f8b01cb2f4a4b8797c45
This commit is contained in:
parent
f55d1e40a0
commit
4538921afc
|
@ -29,8 +29,7 @@ class EndpointDiscovery(plugin.DiscoveryBase):
|
|||
|
||||
This discovery should be used when the relevant APIs are not well suited
|
||||
to dividing the pollster's work into smaller pieces than a whole service
|
||||
at once. Example of this is the floating_ip pollster which calls
|
||||
nova.floating_ips.list() and therefore gets all floating IPs at once.
|
||||
at once.
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
|
|
|
@ -168,8 +168,3 @@ class Client(object):
|
|||
return self.nova_client.servers.list(
|
||||
detailed=True,
|
||||
search_opts=search_opts)
|
||||
|
||||
@logged
|
||||
def floating_ip_get_all(self):
|
||||
"""Returns all floating ips."""
|
||||
return self.nova_client.floating_ips.list()
|
||||
|
|
Loading…
Reference in New Issue