def floating_ip_create(kwargs, call=None):
 if (call != 'function'):
  raise SaltCloudSystemExit('The floating_ip_create action must be called with -f or --function')
 if ('pool' not in kwargs):
  log.error('pool is required')
  return False
 conn = get_conn()
 return conn.floating_ip_create(kwargs['pool'])

def floating_ip_create ( kwargs , call = None ) : if ( call != 'function' ) : raise SaltCloudSystemExit ( 'The floating_ip_create action must be called with -f or --function' ) if ( 'pool' not in kwargs ) : log . error ( 'pool is required' ) return False conn = get_conn ( ) return conn . floating_ip_create ( kwargs [ 'pool' ] )
allocate a floating ip .