From c4247c60920b72ab783f2c2f70167508ad1f7e1c Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sun, 25 Jan 2009 23:02:20 -0500 Subject: [PATCH] Punt on_restart, etc information from Xen, and bootloader options. None of these options are useful, nor do they change. Plus the values for on_poweroff and on_crash are misleading to people who aren't familiar with Xen's use of "destroy". svn path=/trunk/packages/invirt-web/; revision=2005 --- code/main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/main.py b/code/main.py index d9cc14c..438144a 100755 --- a/code/main.py +++ b/code/main.py @@ -526,8 +526,6 @@ def infoDict(username, state, machine): cpu_time_float = float(main_status.get('cpu_time', 0)) cputime = datetime.timedelta(seconds=int(cpu_time_float)) checkpoint.checkpoint('Status') - display_fields = """name uptime memory state cpu_weight on_reboot - on_poweroff on_crash on_xend_start on_xend_stop bootloader""".split() display_fields = [('name', 'Name'), ('description', 'Description'), ('owner', 'Owner'), @@ -542,12 +540,6 @@ def infoDict(username, state, machine): 'DISK_INFO', ('state', 'state (xen format)'), ('cpu_weight', 'CPU weight'+helppopup('CPU Weight')), - ('on_reboot', 'Action on VM reboot'), - ('on_poweroff', 'Action on VM poweroff'), - ('on_crash', 'Action on VM crash'), - ('on_xend_start', 'Action on Xen start'), - ('on_xend_stop', 'Action on Xen stop'), - ('bootloader', 'Bootloader options'), ] fields = [] machine_info = {} -- 1.7.9.5