def show_floating_ip(kwargs=None, call=None):
 if (call != 'function'):
  log.error('The show_floating_ip function must be called with -f or --function.')
  return False
 if (not kwargs):
  kwargs = {}
 if ('floating_ip' not in kwargs):
  log.error('A floating IP is required.')
  return False
 floating_ip = kwargs['floating_ip']
 log.debug('Floating ip is {0}'.format(floating_ip))
 details = query(method='floating_ips', command=floating_ip)
 return details

def show_floating_ip ( kwargs = None , call = None ) : if ( call != 'function' ) : log . error ( 'The show_floating_ip function must be called with -f or --function.' ) return False if ( not kwargs ) : kwargs = { } if ( 'floating_ip' not in kwargs ) : log . error ( 'A floating IP is required.' ) return False floating_ip = kwargs [ 'floating_ip' ] log . debug ( 'Floating ip is {0}' . format ( floating_ip ) ) details = query ( method = 'floating_ips' , command = floating_ip ) return details
show the details of a floating ip .