Sha256: 912233f2b1e46dfe54bba5f91ecec428a9bf0753325b979b71d2ba3123b27fdd
Contents?: true
Size: 588 Bytes
Versions: 28
Compression:
Stored size: 588 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Assigns secondary IP to NIC # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/addIpToNic.html] def add_ip_to_nic(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'addIpToNic') else options.merge!('command' => 'addIpToNic', 'nicid' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems