Module ImportFrom alias alias Import alias Import alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list Call NameLoad NameLoad Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list Call NameLoad NameLoad Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Assign NameStore ListComp SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num comprehension NameStore NameLoad BoolOpAnd CompareGt Call NameLoad Call AttributeLoad NameLoad attr Str Num UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return CompareIn AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list Call NameLoad NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ print_function unicode_literals N/A sys N/A subprocess voodoo.log logged N/A voodoo.log log weblab.experiment.devices.vm.manager VirtualMachineManager voodoo.override Override N/A DEBUG True N/A VBOXMANAGE_COMMAND_NAME vboxmanage_command N/A VBOXMANAGE_COMMAND_DEFAULT_VALUE VBoxManage N/A VBOXHEADLESS_COMMAND_NAME vboxheadless_command N/A VBOXHEADLESS_COMMAND_DEFAULT_VALUE VBoxHeadless N/A VBOXHEADLESS_START_OPTIONS vboxheadless_start_options N/A VBOXHEADLESS_START_OPTIONS_DEFAULT_VALUE N/A N/A VBOX_VM_NAME vbox_vm_name N/A VBOX_VM_DEFAULT_VALUE weblab N/A VBOX_VM_BASE_SNAPSHOT vbox_base_snapshot N/A VBOX_VM_DEFAULT_BASE_SNAPSHOT Ready VirtualBox N/A VirtualMachineManager N/A __init__ N/A N/A self cfg_manager N/A N/A N/A N/A N/A VirtualMachineManager __init__ self cfg_manager N/A N/A self vboxmanage N/A N/A cfg_manager get_value VBOXMANAGE_COMMAND_NAME VBOXMANAGE_COMMAND_DEFAULT_VALUE N/A N/A self vboxheadless N/A N/A cfg_manager get_value VBOXHEADLESS_COMMAND_NAME VBOXHEADLESS_COMMAND_DEFAULT_VALUE N/A N/A self vm_name N/A N/A cfg_manager get_value VBOX_VM_NAME VBOX_VM_DEFAULT_VALUE N/A N/A self vm_base_snapshot N/A N/A cfg_manager get_value VBOX_VM_BASE_SNAPSHOT VBOX_VM_DEFAULT_BASE_SNAPSHOT N/A N/A self vboxheadless_start_options N/A N/A cfg_manager get_value VBOXHEADLESS_START_OPTIONS VBOXHEADLESS_START_OPTIONS_DEFAULT_VALUE N/A launch_vm N/A N/A self N/A N/A N/A 
        Launches the VirtualMachine. Does not wait until the virtual OS is ready. It is hence
        possible, and likely, for this function to return a relatively long time before
        the Virtual Machine is truly ready for usage.
         N/A N/A N/A self _print Starting VM N/A options N/A N/A self vboxheadless -startvm N/A self vm_name N/A N/A N/A options extend N/A self vboxheadless_start_options N/A N/A self popen N/A N/A subprocess Popen options N/A result (other thread) N/A N/A N/A self _print N/A Started %s result N/A N/A Override VirtualMachineManager N/A logged info kill_vm N/A N/A self N/A N/A N/A N/A N/A self _print Killing VM N/A process N/A N/A subprocess Popen N/A N/A self vboxmanage controlvm N/A self vm_name poweroff N/A result N/A N/A process wait N/A N/A N/A self _print N/A Killed %s result N/A N/A Override VirtualMachineManager N/A logged info is_alive_vm N/A N/A self N/A N/A N/A N/A N/A self _print listing vms N/A process N/A N/A subprocess Popen N/A N/A self vboxmanage -q list runningvms stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A process wait N/A lines N/A N/A N/A process stdout readlines N/A N/A N/A self _print N/A running:  N/A str lines N/A running N/A N/A N/A N/A line split " N/A 1 N/A line lines N/A N/A N/A len N/A N/A line split " 1 N/A N/A N/A line startswith N/A N/A N/A line startswith WARN N/A N/A N/A line startswith N/A N/A N/A self _print N/A Running parsed: %s running N/A N/A N/A self vm_name running N/A N/A Override VirtualMachineManager N/A logged info prepare_vm N/A N/A self N/A N/A N/A N/A N/A self _print N/A RESTORING %s FOR %s N/A N/A self vm_base_snapshot N/A self vm_name N/A process N/A N/A subprocess Popen N/A N/A self vboxmanage snapshot N/A self vm_name restore N/A self vm_base_snapshot N/A result N/A N/A process wait N/A N/A N/A self _print N/A RESTORED, RETURNED %s  result N/A N/A Override VirtualMachineManager N/A logged info _print N/A N/A self msg N/A N/A N/A N/A N/A log log VirtualBox N/A N/A log level Info msg N/A DEBUG N/A N/A N/A print N/A WebLabVirtualBox::%s msg N/A N/A N/A N/A sys stdout flush N/A N/A