Sha256: f22b6366554e1df33bc8f4fce319a10842633fa04ace57994fb248e7ce3cc34b
Contents?: true
Size: 448 Bytes
Versions: 7
Compression:
Stored size: 448 Bytes
Contents
module Fog module Compute class XenServer class Real def builtin_templates data = @connection.request(:parser => Fog::Parsers::XenServer::GetRecords.new, :method => "VM.get_all_records") data.delete_if { |vm| !vm[:is_a_template] || vm[:other_config]["default_template"].nil? } servers.load(data) rescue Fog::XenServer::RequestFailed => e [] end end end end end
Version data entries
7 entries across 5 versions & 2 rubygems