methods/ai_client.rb
# Import a profile and associate it with a client
Import a profile and associate it with a client
Import a profile and associate it with a client
def import_ai_client_profile(options,output_file)
  message = "Information:\tCreating profile for client "+options['name']+" with MAC address "+options['mac']
  command = "installadm create-profile -n #{options['service']} -f #{output_file} -p #{options['name']} -c mac='#{options['mac']}'"
  execute_command(options,message,command)
  return
end
def import_ai_client_profile ( options , output_file ) message = "Information:\tCreating profile for client " + options [ 'name' ] + " with MAC address " + options [ 'mac' ] command = "installadm create-profile -n #{options['service']} -f #{output_file} -p #{options['name']} -c mac='#{options['mac']}'" execute_command ( options , message , command ) return end
Import a profile and associate it with a client
Import a profile and associate it with a client
options
<not_specific>
output_file
<not_specific>