]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/aviator/feature/aviator/openstack/compute/v2/public/list_networks.rb
472ab1bd05ff7b0a83b8b9889ea3276a630797c5
[dsa-puppet.git] / 3rdparty / modules / aviator / feature / aviator / openstack / compute / 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