Sha256: 39f84a6594be480c8adce8882d88853da2dc8daab110f9a74ae854fde793dfcf

Contents?: true

Size: 603 Bytes

Versions: 54

Compression:

Stored size: 603 Bytes

Contents

#
# Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>)
# © Copyright IBM Corporation 2014.
#
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#

module Fog
  module Network
    class Softlayer

      class Mock

        def list_subnets
          # TODO: Implement.
          raise Fog::Errors::MockNotImplemented
        end

      end

      class Real
        def list_subnets
        self.request(:account, :get_subnets, :query => 'objectMask=mask[networkVlan,ipAddresses.id,datacenter,hardware,virtualGuests.id,virtualGuests.fullyQualifiedDomainName]')
        end
      end
    end
  end
end

Version data entries

54 entries across 52 versions & 3 rubygems

Version Path
fog-softlayer-0.4.1 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.4.0 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.30 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.29 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.28 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.27 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.26 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.25 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.24 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.23 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.22 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.21 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.20 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.19 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.18 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.17 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.16 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.15 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.14 lib/fog/softlayer/requests/network/list_subnets.rb
fog-softlayer-0.3.13 lib/fog/softlayer/requests/network/list_subnets.rb