@utils.arg('address', metavar='<address>', help=_('IP of Floating IP.'))
@deprecated_network
def do_floating_ip_delete(cs, args):
 floating_ips = cs.floating_ips.list()
 for floating_ip in floating_ips:
  if (floating_ip.ip == args.address):
   return cs.floating_ips.delete(floating_ip.id)
 raise exceptions.CommandError((_('Floating IP %s not found.') % args.address))

@ utils . arg ( 'address' , metavar = '<address>' , help = _ ( 'IP of Floating IP.' ) ) @ deprecated_network def do_floating_ip_delete ( cs , args ) : floating_ips = cs . floating_ips . list ( ) for floating_ip in floating_ips : if ( floating_ip . ip == args . address ) : return cs . floating_ips . delete ( floating_ip . id ) raise exceptions . CommandError ( ( _ ( 'Floating IP %s not found.' ) % args . address ) )
de-allocate a floating ip .