Module: OpenNebula::VirtualMachine::Driver

Defined in:
lib/opennebula/virtual_machine.rb

Overview

VirtualMachineDriver constants

Constant Summary collapse

POLL_ATTRIBUTE =
{
    :memory          => 'MEMORY',
    :cpu             => 'CPU',
    :nettx           => 'NETTX',
    :netrx           => 'NETRX',
    :state           => 'STATE',
    :disk_size       => 'DISK_SIZE',
    :snapshot_size   => 'SNAPSHOT_SIZE'
}
VM_STATE =
{
    :active  => 'a',
    :paused  => 'p',
    :error   => 'e',
    :deleted => 'd',
    :unknown => '-'
}