Sha256: 56fac7fe28a1e7fc44401db1e14f9ec50aef873c8af6215cf7c1bece12be67e0

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates a ACL rule in the given network (the network has to belong to VPC)
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createNetworkACL.html]
        def create_network_acl(protocol, options={})
          options.merge!(
            'command' => 'createNetworkACL', 
            'protocol' => protocol  
          )
          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_network_acl.rb