]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/aviator/feature/aviator/openstack/identity/v2/admin/list_tenants.rb
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / aviator / feature / aviator / openstack / identity / v2 / admin / list_tenants.rb
1 module Aviator
2
3   define_request :list_tenants, :inherit => [:openstack, :common, :v2, :admin, :base] do
4
5     meta :service, :identity
6
7     link 'documentation',
8          'http://docs.openstack.org/api/openstack-identity-service/2.0/content/GET_listTenants_v2.0_tenants_Tenant_Operations.html'
9
10     link 'documentation bug',
11          'https://bugs.launchpad.net/keystone/+bug/1218601'
12
13
14     param :marker, :required => false
15     param :limit,  :required => false
16
17
18     def headers
19       super
20     end
21
22
23     def http_method
24       :get
25     end
26
27
28     def url
29       str  = "#{ base_url }/tenants"
30       str += params_to_querystring(optional_params + required_params)
31     end
32
33   end
34
35 end