Remove a not used function _get_ip_by_id

There is a not used function in floating_ips.py, Remove it
since no one use it.

Change-Id: I6a45c73d9e2a897fdc45f00e7363db204663cd3c
This commit is contained in:
jichenjc 2014-06-30 20:36:11 +08:00
parent 4e35f5f2ee
commit 3b27f7cfb2
1 changed files with 0 additions and 4 deletions

View File

@ -194,10 +194,6 @@ class FloatingIPController(object):
self.network_api.release_floating_ip(context, address)
return webob.Response(status_int=202)
def _get_ip_by_id(self, context, value):
"""Checks that value is id and then returns its address."""
return self.network_api.get_floating_ip(context, value)['address']
class FloatingIPActionController(wsgi.Controller):
def __init__(self, ext_mgr=None, *args, **kwargs):