Sha256: 7d05aa34f627e9fc86e313e2033391374986d15d9c8ad7c2f5f679449eddc302
Contents?: true
Size: 631 Bytes
Versions: 43
Compression:
Stored size: 631 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 get_ip_address(id) # TODO: Implement. raise Fog::Errors::MockNotImplemented end end class Real def get_ip_address(id) self.request(:network_subnet_IpAddress, id, :query => 'objectMask=mask[hardware.fullyQualifiedDomainName,hardware.id,virtualGuest.id,virtualGuest.fullyQualifiedDomainName,subnet.id]') end end end end end
Version data entries
43 entries across 41 versions & 3 rubygems