Sha256: 4adc9ab2fe0a4d60b904f23cd52d5199300248d78be78782a842b3374ab428dd

Contents?: true

Size: 536 Bytes

Versions: 31

Compression:

Stored size: 536 Bytes

Contents

module Fog
  module Network
    class OpenStack
      class Real
        def list_subnet_pools(filters = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => 'subnetpools',
            :query   => filters
          )
        end
      end

      class Mock
        def list_subnet_pools(_filters = {})
          Excon::Response.new(
            :body   => {'subnetpools' => data[:subnet_pools].values},
            :status => 200
          )
        end
      end
    end
  end
end

Version data entries

31 entries across 29 versions & 3 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.10 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.1.30 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.1.29 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.9 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.1.28 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.8 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.7 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.6 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.5 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.4 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.3 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.2 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.3.0 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.2.4 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.2.3 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.2.2 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.2.1 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-openstack-0.2.0 lib/fog/network/openstack/requests/list_subnet_pools.rb
fog-zj-0.1.28 lib/fog/network/openstack/requests/list_subnet_pools.rb