Sha256: 846beceefaa310789ac936016c24d7e128beb4e0de50fd6500e4d68b776e7dfb

Contents?: true

Size: 452 Bytes

Versions: 28

Compression:

Stored size: 452 Bytes

Contents

module Fog
  module Compute
    class OpenNebula
      class Real

        def vm_stop(id)
          vmpool = ::OpenNebula::VirtualMachinePool.new(client)
	  vmpool.info!(-2,id,id,-1)
	  puts "#{vmpool.entries.class} #{vmpool.entries.methods}"
	  puts "#{vmpool.entries.inspect} #{vmpool.entries.methods}"
          
	  vmpool.each do |vm|
	    vm.stop
          end
        end #def vm_stop

        class Mock
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 4 rubygems

Version Path
fog-1.38.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.37.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.36.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.35.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-2.0.0.pre.0 lib/fog/opennebula/requests/compute/vm_stop.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.34.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.33.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.32.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.31.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.30.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.29.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.28.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.27.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.26.0 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.25.0 lib/fog/opennebula/requests/compute/vm_stop.rb
nsidc-fog-1.24.1 lib/fog/opennebula/requests/compute/vm_stop.rb
fog-1.24.0 lib/fog/opennebula/requests/compute/vm_stop.rb
ns-fog-1.22.11 lib/fog/opennebula/requests/compute/vm_stop.rb
ns-fog-1.22.10 lib/fog/opennebula/requests/compute/vm_stop.rb