Sha256: 84e00a3b5d14ad4a5c344a5ca3dfef6ec63fd64e43e78c168106230f138396a5
Contents?: true
Size: 663 Bytes
Versions: 28
Compression:
Stored size: 663 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Creates a physical network # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/createPhysicalNetwork.html] def create_physical_network(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'createPhysicalNetwork') else options.merge!('command' => 'createPhysicalNetwork', 'name' => args[0], 'zoneid' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems