diff --git a/lib/fog/terremark/models/shared/server.rb b/lib/fog/terremark/models/shared/server.rb index 4e6562664..e65330653 100644 --- a/lib/fog/terremark/models/shared/server.rb +++ b/lib/fog/terremark/models/shared/server.rb @@ -10,6 +10,8 @@ module Fog attribute :name attribute :status + attribute :OperatingSystem + attribute :VirtualHardware def destroy requires :id diff --git a/lib/fog/terremark/models/shared/task.rb b/lib/fog/terremark/models/shared/task.rb index c8bcab351..99c1895c4 100644 --- a/lib/fog/terremark/models/shared/task.rb +++ b/lib/fog/terremark/models/shared/task.rb @@ -13,8 +13,8 @@ module Fog attribute :result, 'Result' attribute :start_time, 'startTime' attribute :status - attribute :link 'Link' - attribute :error 'Error' + attribute :link, 'Link' + attribute :error, 'Error' def initialize(attributes = {}) new_owner = attributes.delete('Owner') diff --git a/lib/fog/terremark/models/shared/vdc.rb b/lib/fog/terremark/models/shared/vdc.rb index 317ffb2c7..0231129d6 100644 --- a/lib/fog/terremark/models/shared/vdc.rb +++ b/lib/fog/terremark/models/shared/vdc.rb @@ -18,6 +18,10 @@ module Fog connection.addresses(:vdc_id => @id) end + def servers + connection.servers(:vdc_id => @id) + end + private def href=(new_href)