Sha256: a02f559186afa0fa9fd11732a98eac7f87aa522541e21afe849fa3903520e211

Contents?: true

Size: 453 Bytes

Versions: 1

Compression:

Stored size: 453 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.3/root_admin/addIpToNic.html]
        def add_ip_to_nic(nicid, options={})
          options.merge!(
            'command' => 'addIpToNic', 
            'nicid' => nicid  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/add_ip_to_nic.rb