Revision 9fc2bcc8 src/vmm_mad/remotes/lib/vcenter_driver/host.rb

View differences:

src/vmm_mad/remotes/lib/vcenter_driver/host.rb
241 241
        return str_info.gsub(/^\s+/,"")
242 242
    end
243 243

  
244

  
245
    def monitor_customizations
246
        customizations = self['_connection'].serviceContent.customizationSpecManager.info
247

  
248
        text = ''
249

  
250
        customizations.each do |c|
251
            t = "CUSTOMIZATION = [ "
252
            t << %Q<NAME = "#{c.name}", >
253
            t << %Q<TYPE = "#{c.type}" ]\n>
254

  
255
            text << t
256
        end
257

  
258
        text
259
    end
260

  
244 261
    def get_dc
245 262
        item = @item
246 263

  

Also available in: Unified diff