@utils.arg('pool', metavar='<floating-ip-pool>', help=_('Name of Floating IP Pool. (Optional)'), nargs='?', default=None)
@deprecated_network
def do_floating_ip_create(cs, args):
 _print_floating_ip_list([cs.floating_ips.create(pool=args.pool)])

@ utils . arg ( 'pool' , metavar = '<floating-ip-pool>' , help = _ ( 'Name of Floating IP Pool. (Optional)' ) , nargs = '?' , default = None ) @ deprecated_network def do_floating_ip_create ( cs , args ) : _print_floating_ip_list ( [ cs . floating_ips . create ( pool = args . pool ) ] )
allocate a floating ip for the current tenant .