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