Register an agent with the manager.
Register an agent with the manager
Parameters:
Options Hash (opts):
UUID of the host
Public key
Hostname
Name of the tenant
Password for registering an Agent with the server
Port agent listens on (optional, default: 18000)
List of tags to assign to host (optional)
Returns:
17 18 19 20
# File 'lib/bixby-client/modules/inventory.rb', line 17 def self.register_agent(opts) req = JsonRequest.new("inventory:register_agent", opts) return Bixby::Client.new(nil, nil).exec_api(req) end