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