1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[cloudstack] add disk offerings to compute, tidy up

This commit is contained in:
Dmitry Dedov 2013-04-22 13:54:41 +03:00
parent 425a3004bd
commit 1f3ebf395b
2 changed files with 6 additions and 2 deletions

View file

@ -19,6 +19,8 @@ module Fog
model_path 'fog/cloudstack/models/compute'
model :address
model :disk_offerings
collection :disk_offerings
model :flavor
collection :flavors
model :job
@ -46,6 +48,7 @@ module Fog
request :authorize_security_group_ingress
request :change_service_for_virtual_machine
request :create_account
request :create_disk_offering
request :create_domain
request :create_load_balancer_rule
request :create_network
@ -58,6 +61,7 @@ module Fog
request :create_volume
request :create_zone
request :delete_account
request :delete_disk_offering
request :delete_domain
request :delete_load_balancer_rule
request :delete_port_forwarding_rule

View file

@ -7,10 +7,10 @@ module Fog
attribute :disk_size, :aliases => 'disk_size'
attribute :display_text, :aliases => 'display_text'
attribute :domain
attribute :domain_id :aliases => 'domainid'
attribute :domain_id, :aliases => 'domainid'
attribute :is_customized, :aliases => 'iscustomized'
attribute :name
attribute :storage_type, :aliases => 'storagetype'
attribute :storage_type, :aliases => 'storagetype'
attribute :tags