Hi David,

yes, i had originally put the driver in a module called "terremark" but 
had to change this because Geemus also uses a module called "terremark" 
inside fog/. This caused some weirdness in my IDE  due to name space 
clashes until I changed my module to tmark. The driver class itself 
could be changed to "TerremarkDriver" that seems fine.

I just received an email about a dev account so looks like I can finally 
start some testing; I see if I can recreate the issue with drivers.rb 
(and sorry about the patch, I'm not sure how i managed to extract it to 
be server/drivers.rb rather than server/lib/drivers.rb... I completely 
cleaned my development directory and started again...)

--marios



On 27/04/10 09:36, David Lutterkort wrote:
> On Fri, 2010-04-23 at 23:13 +0100, [email protected] wrote:
>> From: marios<[email protected]>
>>
>> ---
>>   server/drivers.rb |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> That file is now called server/lib/drivers.rb - make sure you pull the
> latest from git and rebase your patches.
>
>> diff --git a/server/drivers.rb b/server/drivers.rb
>> index 72df672..ad48d1e 100644
>> --- a/server/drivers.rb
>> +++ b/server/drivers.rb
>> @@ -5,6 +5,7 @@ DRIVERS = {
>>     :rhevm =>  { :name =>  "RHEVM" },
>>     :rimu =>  { :name =>  "Rimu", :class =>  "RimuHostingDriver"},
>>     :opennebula =>  { :name =>  "Opennebula", :class =>  "OpennebulaDriver" 
>> },
>> +  :terremark =>  { :name =>  "Tmark", :class =>  "VCloudExpressDriver"},
>>     :mock =>  { :name =>  "Mock" }
>>   }
>
> The naming of the driver and its files make 'deltacloudd -i terremark'
> fail. The driver needs to be in a file
> server/lib/deltacloud/drivers/terremark_driver.rb
>
> If you also rename the class in that file to 'TerremarkDriver', you can
> shorten the entry in drivers.rb to
>
>          :terremark =>  { :name =>  "Terremark" }
>
> David
>
>
>
>

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to