Sha256: e8c4ec7eb931f6f34f5f748a5e4ac0ddd79f756647790aecbf174cb5f31a7d68
Contents?: true
Size: 652 Bytes
Versions: 3
Compression:
Stored size: 652 Bytes
Contents
module Yao::Resources class Hypervisor < Base friendly_attributes :hypervisor_hostname, :hypervisor_type, :hypervisor_version, :running_vms, :current_workload :vcpus, :vcpus_used, :memory_mb, :memory_mb_used, :free_disk_gb, :local_gb, :local_gb_used, :free_disk_gb def cpu_info JSON.parse self["cpu_info"] end alias hostname hypervisor_hostname alias type hypervisor_hostname alias version hypervisor_version self.service = "compute" self.resource_name = "os-hypervisor" self.resources_name = "os-hypervisors" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yao-0.0.3 | lib/yao/resources/hypervisor.rb |
yao-0.0.2 | lib/yao/resources/hypervisor.rb |
yao-0.0.2.rc3 | lib/yao/resources/hypervisor.rb |