Sha256: e3bcdadc8f1ea983387caf3703c827b585f42126e8a28873b9a224a14b64b936

Contents?: true

Size: 686 Bytes

Versions: 1

Compression:

Stored size: 686 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.3/root_admin/createPortableIpRange.html]
        def create_portable_ip_range(endip, startip, gateway, netmask, regionid, options={})
          options.merge!(
            'command' => 'createPortableIpRange', 
            'endip' => endip, 
            'startip' => startip, 
            'gateway' => gateway, 
            'netmask' => netmask, 
            'regionid' => regionid  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/create_portable_ip_range.rb