Sha256: 9081f46374ed9fb6ca80c89e3b8c99e1ec830d4539b241d16c65a7eb2dbfa2df

Contents?: true

Size: 699 Bytes

Versions: 1

Compression:

Stored size: 699 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Adds a SRX firewall device
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addSrxFirewall.html]
        def add_srx_firewall(username, networkdevicetype, physicalnetworkid, password, url, options={})
          options.merge!(
            'command' => 'addSrxFirewall', 
            'username' => username, 
            'networkdevicetype' => networkdevicetype, 
            'physicalnetworkid' => physicalnetworkid, 
            'password' => password, 
            'url' => url  
          )
          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/add_srx_firewall.rb