[ninefold|compute] fixes for list formats

This commit is contained in:
geemus 2011-09-27 16:12:13 -05:00
parent 8285b416db
commit c445d15626
1 changed files with 7 additions and 15 deletions

View File

@ -37,9 +37,13 @@ class Ninefold
"storagetype" => String,
"offerha" => Fog::Boolean,
"domainid" => Integer,
"domain" => String
"domain" => String,
"issystem" => Fog::Boolean,
"limitcpuuse" => Fog::Boolean,
"defaultuse" => Fog::Boolean
}
#SERVICE_OFFERINGS = [Ninefold::Compute::Formats::Lists::SERVICE_OFFERING]
SERVICE_OFFERINGS = [Ninefold::Compute::Formats::Lists::SERVICE_OFFERING]
ACCOUNTS = [{
"id"=>Integer,
"name"=>String,
@ -95,19 +99,6 @@ class Ninefold
"state"=>String,
"parentid"=>Integer
}]
SERVICE_OFFERINGS = [{
"id"=>Integer,
"name"=>String,
"displaytext"=>String,
"cpunumber"=>Integer,
"cpuspeed"=>Integer,
"memory"=>Integer,
"created"=>String,
"storagetype"=>String,
"offerha"=>Fog::Boolean,
"domainid"=>Integer,
"domain"=>String
}]
DISK_OFFERINGS = [{
"id"=>Integer,
"domainid"=>Integer,
@ -129,6 +120,7 @@ class Ninefold
}]
ZONES = [{
"allocationstate"=>String,
"dhcpprovider"=>String,
"id"=>Integer,
"name"=>String,
"networktype"=>String,