Class GenomeLib::Appliances::Cloudhost
In: lib/genome-lib/lib.rb
Parent: Object

The Cloudhost class defines a host that is part of a larger cloud. A Cloudhost knows:

  * its own cloudmaster (i.e., Cloud object)
  * how to provision new machines
  * how to report information to the Cloud
    regarding virt status

Methods

create_machine   host   new  

Included Modules

Updateable

Public Class methods

Public Instance methods

Create a new machine on this host NOTE: Restr will swallow error messages under the useless "500 Internal Server Error". A better way to create machines is to simply execute an HTTP POST to: #{fqdn}/host/koan with the following params: system_id (the name of the cobbler system) repo (the fqdn of the cobbler server) email (the VM‘s owner‘s email address)

The actual URL for this host (with the appropriate URI attached)

[Validate]