Sha256: 91f9473e8a4e86912910c68786fcd785ad957d5354cf2a9b40f020511b74cd9b

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates an ip forwarding rule
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createIpForwardingRule.html]
        def create_ip_forwarding_rule(startport, protocol, ipaddressid, options={})
          options.merge!(
            'command' => 'createIpForwardingRule', 
            'startport' => startport, 
            'protocol' => protocol, 
            'ipaddressid' => ipaddressid  
          )
          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_ip_forwarding_rule.rb