debuggers.hg

view tools/control/web/tmpl/vd-vbdf.tmpl @ 623:e5cb8bd7ebfe

bitkeeper revision 1.325 (3f0d278fx62UemAA1unbHTgIGvOJ4Q)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/rac61/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/xeno.bk
author sos22@labyrinth.cl.cam.ac.uk
date Thu Jul 10 08:45:03 2003 +0000 (2003-07-10)
parents a6457a163b5c d746390f5bc4
children
line source
1 Flush Virtual Block Devices
2 SECTION&XenoServers
3 BREADCRUMB&Virtual Disk Manager&vd.jsp
5 <!-- content -->
6 <img src="pixel.gif" class="block" width="1" height="12">
8 <table cellpadding="0" cellspacing="0" border="0">
9 <tbody>
10 INCLUDE&vdmenu.tmpl
11 <td valign="top">
13 <form method="post" action="vd-vbdfr.jsp">
14 <table cellpadding="0" cellspacing="0" border="0">
15 <tbody>
17 <tr><td>
18 <table cellpadding="2" cellspacing="0" border="0">
19 <tbody>
20 <tr class="vdh"><td>vd key</td><td>dom</td><td>vbd</td><td>mode</td></tr>
22 <%
23 for (Iterator i = root.vdm().getVirtualBlockDevices(); i.hasNext();)
24 {
25 VirtualBlockDevice vbd = (VirtualBlockDevice) i.next();
26 VirtualDisk vd = vbd.getVirtualDisk();
27 %>
28 <tr class="vdt">
29 <td><%= vd.getKey() %></td>
30 <td><%= vbd.getDomain() %></td>
31 <td><%= vbd.getVbdNum() %></td>
32 <td><%= vbd.getMode().toString() %></td>
33 </tr>
34 <%
35 }
36 %>
38 </tbody>
39 </table>
40 </td></tr>
42 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
44 <tr>
45 <td><font color="red">Warning, this will remove all virtual block devices</font></td>
46 </tr>
48 <tr>
49 <td><input type="submit" value="flush all vbds"></td>
50 </tr>
52 </td>
53 </tbody>
54 </table>
56 </form>
59 </td>
60 </tbody>
61 </table>
66 <!-- end content -->