]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/aviator/lib/puppet/feature/aviator/openstack/compute/requests/v2/admin/list_hypervisors.rb
add aimonb/aviator to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / aviator / lib / puppet / feature / aviator / openstack / compute / requests / v2 / admin / list_hypervisors.rb
1 module Aviator
2
3   define_request :list_hypervisors, :inherit => [:openstack, :common, :v2, :admin, :base] do
4
5     meta :service, :compute
6
7     link 'documentation',
8          'http://api.openstack.org/api-ref-compute-v2-ext.html#ext-os-hypervisors'
9
10     def headers
11       super
12     end
13
14
15     def http_method
16       :get
17     end
18
19
20     def url
21       "#{ base_url }/os-hypervisors"
22     end
23
24   end
25
26 end
27