Sha256: 5f209b91016f09b8f6eb4bfbcbefd6098bcf97094f515aba58d33195f309a0a8
Contents?: true
Size: 782 Bytes
Versions: 28
Compression:
Stored size: 782 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Adds a Nicira NVP device # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/addNiciraNvpDevice.html] def add_nicira_nvp_device(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'addNiciraNvpDevice') else options.merge!('command' => 'addNiciraNvpDevice', 'physicalnetworkid' => args[0], 'transportzoneuuid' => args[1], 'username' => args[2], 'password' => args[3], 'hostname' => args[4]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems