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