From: Evan Broder Date: Mon, 26 Jan 2009 04:02:20 +0000 (-0500) Subject: Punt on_restart, etc information from Xen, and bootloader options. X-Git-Tag: 0.0.18~9 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/c4247c60920b72ab783f2c2f70167508ad1f7e1c 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 --- 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 = {}