2013-06-20 13:36:34 -04:00
|
|
|
module Fog
|
|
|
|
module Compute
|
2013-08-27 05:19:54 -04:00
|
|
|
class VcloudDirector
|
2013-06-20 13:36:34 -04:00
|
|
|
class Real
|
2013-09-16 13:13:09 -04:00
|
|
|
|
2013-09-02 05:58:05 -04:00
|
|
|
require 'fog/vcloud_director/parsers/compute/vms'
|
2013-09-16 13:13:09 -04:00
|
|
|
|
2013-06-24 07:46:30 -04:00
|
|
|
def get_vms(vapp_id)
|
2013-06-20 13:36:34 -04:00
|
|
|
request(
|
2013-09-16 13:13:09 -04:00
|
|
|
:expects => 200,
|
|
|
|
:method => 'GET',
|
|
|
|
:parser => Fog::Parsers::Compute::VcloudDirector::Vms.new,
|
|
|
|
:path => "vApp/#{vapp_id}"
|
2013-06-20 13:36:34 -04:00
|
|
|
)
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|