Revision a38a34e6
Added by Ondřej Ezr about 5 years ago
app/services/fog_extensions/vsphere/mini_server.rb | ||
---|---|---|
module FogExtensions
|
||
module Vsphere
|
||
class MiniServer
|
||
attr_reader :name, :identity, :cpus, :corespersocket, :memory, :state, :path
|
||
attr_reader :name, :identity, :cpus, :corespersocket, :memory, :state, :path, :operatingsystem
|
||
|
||
def initialize(attrs = {})
|
||
@name = attrs[:name]
|
||
... | ... | |
@memory = attrs[:memory].megabytes
|
||
@state = attrs[:state]
|
||
@path = attrs[:path]
|
||
@operatingsystem = attrs[:operatingsystem]
|
||
end
|
||
|
||
def ready?
|
Also available in: Unified diff
Fixes #26564 - show OS on vmware VMs listing