lib/fog/ovirt/compute.rb in fog-maestrodev-1.8.0.20130114204828 vs lib/fog/ovirt/compute.rb in fog-maestrodev-1.14.0.20130806165225
- old
+ new
@@ -14,10 +14,12 @@
collection :clusters
model :interface
collection :interfaces
model :volume
collection :volumes
+ model :quota
+ collection :quotas
request_path 'fog/ovirt/requests/compute'
request :vm_action
request :destroy_vm
@@ -40,9 +42,12 @@
request :vm_ticket
request :list_vm_volumes
request :list_template_volumes
request :add_volume
request :destroy_volume
+ request :get_api_version
+ request :list_quotas
+ request :get_quota
module Shared
# converts an OVIRT object into an hash for fog to consume.
def ovirt_attrs obj
opts = {:raw => obj}