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