Sha256: d1c6f2bc730ae336a8bb4b82da8de22974c475ee0b9c8dcfec55b6de10e6609d

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates a network
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createNetwork.html]
        def create_network(displaytext, name, networkofferingid, zoneid, options={})
          options.merge!(
            'command' => 'createNetwork', 
            'displaytext' => displaytext, 
            'name' => name, 
            'networkofferingid' => networkofferingid, 
            'zoneid' => zoneid  
          )
          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.rb