]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/aviator/lib/puppet/feature/aviator/openstack/compute/requests/v2/public/list_floating_ips.rb
54f07be3abeaee2ae130642e9bdec02a4ead70fd
[dsa-puppet.git] / 3rdparty / modules / aviator / lib / puppet / feature / aviator / openstack / compute / requests / v2 / public / list_floating_ips.rb
1 module Aviator
2
3   define_request :list_floating_ips, :inherit => [:openstack, :common, :v2, :public, :base] do
4
5     meta :service, :compute
6
7     link 'documentation',
8          'http://docs.openstack.org/api/openstack-compute/2/content/GET_os-floating-ips-v2_ListFloatingIPs__v2__tenant_id__os-floating-ips_ext-os-floating-ips.html'
9
10     def headers
11       super
12     end
13
14
15     def http_method
16       :get
17     end
18
19
20     def url
21       str  = "#{ base_url }/os-floating-ips"
22     end
23
24   end
25
26 end