Sha256: 7bb9f02fcf43c67e1e2cf2b6b58e9d23942639ed8e64ed02b113c5a0aad6a921

Contents?: true

Size: 725 Bytes

Versions: 1

Compression:

Stored size: 725 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.3/root_admin/addNiciraNvpDevice.html]
        def add_nicira_nvp_device(username, physicalnetworkid, transportzoneuuid, password, hostname, options={})
          options.merge!(
            'command' => 'addNiciraNvpDevice', 
            'username' => username, 
            'physicalnetworkid' => physicalnetworkid, 
            'transportzoneuuid' => transportzoneuuid, 
            'password' => password, 
            'hostname' => hostname  
          )
          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_nicira_nvp_device.rb