Sha256: c7712acb3d5a825d2a3c0930e1b2ff235803f2cfdc63dd7a3a005f2e3b743aa4

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates a private gateway
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createPrivateGateway.html]
        def create_private_gateway(vpcid, gateway, ipaddress, vlan, netmask, options={})
          options.merge!(
            'command' => 'createPrivateGateway', 
            'vpcid' => vpcid, 
            'gateway' => gateway, 
            'ipaddress' => ipaddress, 
            'vlan' => vlan, 
            'netmask' => netmask  
          )
          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_private_gateway.rb