1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

feature #1055: Reset command for onevm

This commit is contained in:
Ruben S. Montero 2012-05-09 17:02:16 +02:00
parent 84813377a4
commit 626ae2cf35

View File

@ -195,6 +195,18 @@ cmd=CommandParser::CmdParser.new(ARGV) do
end
end
reset_desc = <<-EOT.unindent
Resets the given VM
States: RUNNING
EOT
command :reset, reset_desc, [:range,:vmid_list] do
helper.perform_actions(args[0],options,"resetting") do |vm|
vm.reset
end
end
deploy_desc = <<-EOT.unindent
Deploys the given VM in the specified Host. This command forces the
deployment, in a standard installation the Scheduler is in charge