Sha256: 62c788445c5def318107424daba86b5ac7cd8155f5ec40ceade9707ed756fc3b

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Create site to site vpn connection
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createVpnConnection.html]
        def create_vpn_connection(s2scustomergatewayid, s2svpngatewayid, options={})
          options.merge!(
            'command' => 'createVpnConnection', 
            's2scustomergatewayid' => s2scustomergatewayid, 
            's2svpngatewayid' => s2svpngatewayid  
          )
          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_vpn_connection.rb