Sha256: 11ed15a3e1a0242782bf3b252e27a8f34f964873b18268807a0990639434a99b
Contents?: true
Size: 794 Bytes
Versions: 28
Compression:
Stored size: 794 Bytes
Contents
module Fog module Compute class Cloudstack class Real # adds a range of portable public IP's to a region # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/createPortableIpRange.html] def create_portable_ip_range(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'createPortableIpRange') else options.merge!('command' => 'createPortableIpRange', 'startip' => args[0], 'netmask' => args[1], 'regionid' => args[2], 'gateway' => args[3], 'endip' => args[4]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems