projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5f84de5df32d97fe6736c6d31bc61130077e8bc1
[mirror/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