Package backend :: Package server :: Package action :: Module virt
[hide private]
[frames] | no frames]

Module virt

source code

Classes [hide private]
  NoUUIDException
  NoRowFoundException
Functions [hide private]
 
_get_uuid(query_str, action_id) source code
 
refresh(server_id, action_id, dry_run=0) source code
 
action(action_name, query, server_id, action_id, dry_run=0) source code
 
start(server_id, action_id, dry_run=0) source code
 
shutdown(server_id, action_id, dry_run=0) source code
 
suspend(server_id, action_id, dry_run=0) source code
 
resume(server_id, action_id, dry_run=0) source code
 
reboot(server_id, action_id, dry_run=0) source code
 
destroy(server_id, action_id, dry_run=0) source code
 
setMemory(server_id, action_id, dry_run=0) source code
 
setVCPUs(server_id, action_id, dry_run=0) source code
 
schedulePoller(server_id, action_id, dry_run=0) source code
Variables [hide private]
  __rhnexport__ = ['refresh', 'shutdown', 'reboot', 'resume', 's...
  _query_refresh = <spacewalk.server.rhnSQL.sql_base.Statement i...
  _query_shutdown = <spacewalk.server.rhnSQL.sql_base.Statement ...
  _query_suspend = <spacewalk.server.rhnSQL.sql_base.Statement i...
  _query_resume = <spacewalk.server.rhnSQL.sql_base.Statement in...
  _query_reboot = <spacewalk.server.rhnSQL.sql_base.Statement in...
  _query_destroy = <spacewalk.server.rhnSQL.sql_base.Statement i...
  _query_start = <spacewalk.server.rhnSQL.sql_base.Statement ins...
  _query_setMemory = <spacewalk.server.rhnSQL.sql_base.Statement...
  _query_getVCPUs = <spacewalk.server.rhnSQL.sql_base.Statement ...
  _query_schedulePoller = <spacewalk.server.rhnSQL.sql_base.Stat...
  __package__ = 'backend.server.action'
Variables Details [hide private]

__rhnexport__

Value:
['refresh',
 'shutdown',
 'reboot',
 'resume',
 'start',
 'schedulePoller',
 'suspend',
 'destroy',
...

_query_refresh

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389206\
4; statement=
    select  avf.action_id,
    from    rhnActionVirtRefresh
    where   avf.action_id = :action_id

_query_shutdown

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389213\
6; statement=
    select  avs.action_id,
            avs.uuid
    from    rhnActionVirtShutdown avs
    where   avs.action_id = :action_id

_query_suspend

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389220\
8; statement=
    select  avs.action_id,
            avs.uuid
    from    rhnActionVirtSuspend avs
    where   avs.action_id = :action_id

_query_resume

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389228\
0; statement=
    select  avr.action_id,
            avr.uuid
    from    rhnActionVirtResume avr
    where   avr.action_id = :action_id

_query_reboot

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389235\
2; statement=
    select  avr.action_id,
            avr.uuid
    from    rhnActionVirtReboot avr
    where   avr.action_id = :action_id


_query_destroy

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389242\
4; statement=
    select  avd.action_id,
            avd.uuid
    from    rhnActionVirtDestroy avd
    where   avd.action_id = :action_id

_query_start

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389249\
6; statement=
    select  avs.action_id,
            avs.uuid
    from    rhnActionVirtStart avs
    where   avs.action_id = :action_id

_query_setMemory

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389256\
8; statement=
    select  asm.action_id,
            asm.uuid,
            asm.memory
    from    rhnActionVirtSetMemory asm
    where   asm.action_id = :action_id

_query_getVCPUs

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389264\
0; statement=
    select  av.action_id,
            av.uuid,
            av.vcpu
    from    rhnActionVirtVCPU av
    where   av.action_id = :action_id

_query_schedulePoller

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081389271\
2; statement=
    select  asp.action_id,
            asp.minute,
            asp.hour,
            asp.dom,
            asp.month,
            asp.dow
...