Sha256: cf5ab4420412917e240731ce866d6c854b7ac3f49e0c95f26e3528c21ea55ed8
Contents?: true
Size: 463 Bytes
Versions: 17
Compression:
Stored size: 463 Bytes
Contents
object @discovered_host extends "api/v2/discovered_hosts/base" attributes :ip, :mac, :last_report, :subnet_id, :subnet_name, :hardware_model_name, :memory, :disk_count, :disks_size attribute :cpu_count => :cpus node :subnet_name do |host| host.subnet.to_label if host.subnet.present? end if SETTINGS[:organizations_enabled] attributes :organization_id, :organization_name end if SETTINGS[:locations_enabled] attributes :location_id, :location_name end
Version data entries
17 entries across 17 versions & 1 rubygems