Sha256: b8cabd2f19baaccaa4bd52f48db935a258f4158e00e33eaeca0c6e83f5b918bc

Contents?: true

Size: 310 Bytes

Versions: 7

Compression:

Stored size: 310 Bytes

Contents

module Fog
  module Compute
    class XenServer
      class Real
        def clone_server(ref, new_name)
          @connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.clone" }, ref, new_name)
        end

        alias_method :clone_vm, :clone_server
      end
    end
  end
end

Version data entries

7 entries across 5 versions & 2 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/clone_server.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/clone_server.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/clone_server.rb
fog-xenserver-0.3.0 lib/fog/compute/xen_server/requests/clone_server.rb
fog-xenserver-0.2.3 lib/fog/compute/xen_server/requests/clone_server.rb
fog-xenserver-0.2.2 lib/fog/compute/xen_server/requests/clone_server.rb
fog-xenserver-0.2.1 lib/fog/compute/xen_server/requests/clone_server.rb