[cloudstack] add test volume to mock data
This commit is contained in:
parent
e85f6688b1
commit
b3d0bc1d2d
|
@ -420,7 +420,35 @@ module Fog
|
||||||
:domains => {domain_id => domain},
|
:domains => {domain_id => domain},
|
||||||
:servers => {},
|
:servers => {},
|
||||||
:jobs => {},
|
:jobs => {},
|
||||||
:volumes => {},
|
:volumes => {
|
||||||
|
"89198f7c-0245-aa1d-136a-c5f479ef9db7" => {
|
||||||
|
"id"=> "89198f7c-0245-aa1d-136a-c5f479ef9db7",
|
||||||
|
"name"=>"test volume",
|
||||||
|
"zoneid"=> zone_id,
|
||||||
|
"zonename"=>"zone-00",
|
||||||
|
"type"=>"DATADISK",
|
||||||
|
"deviceid"=>1,
|
||||||
|
"virtualmachineid"=> "51dcffee-5f9f-29a4-acee-2717e1a3656b",
|
||||||
|
"vmname"=>"i-2824-11621-VM",
|
||||||
|
"vmdisplayname"=>"test vm",
|
||||||
|
"vmstate"=>"Running",
|
||||||
|
"size"=>17179869184,
|
||||||
|
"created"=>"2013-04-16T12:33:41+0000",
|
||||||
|
"state"=>"Ready",
|
||||||
|
"account"=> 'accountname',
|
||||||
|
"domainid"=> domain_id,
|
||||||
|
"domain"=> domain_name,
|
||||||
|
"storagetype"=>"shared",
|
||||||
|
"hypervisor"=>"KVM",
|
||||||
|
"diskofferingid"=> "cc4de87d-672d-4353-abb5-6a8a4c0abf59",
|
||||||
|
"diskofferingname"=>"Small Disk",
|
||||||
|
"diskofferingdisplaytext"=>"Small Disk [16GB Disk]",
|
||||||
|
"storage"=>"ps1",
|
||||||
|
"attached"=>"2013-04-16T12:34:07+0000",
|
||||||
|
"destroyed"=>false,
|
||||||
|
"isextractable"=>false
|
||||||
|
},
|
||||||
|
},
|
||||||
:security_groups => {},
|
:security_groups => {},
|
||||||
:snapshots => {},
|
:snapshots => {},
|
||||||
:disk_offerings => {
|
:disk_offerings => {
|
||||||
|
|
Loading…
Reference in New Issue