debuggers.hg

view tools/control/web/tmpl/dom-new.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 bd90bd0c8b23
children
line source
1 Create New Domain
2 SECTION&XenoServers
3 BREADCRUMB&Domain Manager&dom.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&dommenu.tmpl
11 <td valign="top">
13 <form method="post" action="dom-newr.jsp">
14 <table cellpadding="0" cellspacing="0" border="0">
15 <tbody>
16 <tr>
17 <td width="10"></td>
18 <td></td>
19 <td></td>
20 <td width="7"></td>
21 <td></td>
22 </tr>
24 <tr>
25 <td></td>
26 <td class="block" colspan=4><b>Create A New Domain</b></td>
27 </tr>
29 ##WHITESPACE## ##GREYLINE14## ##WHITESPACE##
31 <%
32 Defaults d = sc.getDefaults();
34 if (d == null)
35 {
36 %>
37 <b>ACK Defaults IS NULL</b>
38 <%
39 }
40 %>
42 <tr>
43 <td></td>
44 <td class="block" colspan=4>Domain Name</td>
45 </tr>
46 <tr>
47 <td></td> <td></td> <td></td> <td></td>
48 <td> <input type="text" size="16" name="name" value="<%= d.domainName %>">
49 </td>
50 </tr>
52 ##WHITESPACE## ##GREYLINE14## ##WHITESPACE##
54 <tr>
55 <td></td>
56 <td class="block" colspan=4>Memory Size</td>
57 </tr>
58 <tr>
59 <td></td> <td></td> <td></td> <td></td>
60 <td>
61 <input type="text" size="5" name="size" value="<%= d.domainSizeKB %>"> KB
62 </td>
63 </tr>
65 ##WHITESPACE## ##GREYLINE14## ##WHITESPACE##
67 <tr>
68 <td></td>
69 <td class="block" colspan=4>Kernel Image</td>
70 </tr>
71 <tr>
72 <td></td>
73 <td colspan=2 align="right">path</td>
74 <td></td>
75 <td>
76 <input type="text" size="40" name="image" value="<%= d.domainImage %>">
77 </td>
78 </tr>
80 ##WHITESPACE## ##GREYLINE14## ##WHITESPACE##
82 <tr>
83 <td></td>
84 <td class="block" colspan=4>IP Config</td>
85 </tr>
86 <tr>
87 <td></td> <td></td>
88 <td class="block" align="right">VIFs</td>
89 <td></td>
90 <td>
91 <input type="text" size="4" name="vifs" value="<%= d.domainVIFs %>">
92 </td>
93 </tr>
94 <tr>
95 <td></td> <td></td>
96 <td class="block" align="right">IP address</td>
97 <td></td>
98 <td> <input type="text" size="15" name="ip" value="<%= d.nwIP %>"> </td>
99 </tr>
100 <tr>
101 <td></td> <td></td>
102 <td class="block" align="right">Gateway</td>
103 <td></td>
104 <td> <input type="text" size="15" name="gw" value="<%= d.nwGateway %>"> </td>
105 </tr>
106 <tr>
107 <td></td> <td></td>
108 <td class="block" align="right">Netmask</td>
109 <td></td>
110 <td> <input type="text" size="15" name="mask" value="<%= d.nwMask %>"> </td>
111 </tr>
113 ##WHITESPACE## ##GREYLINE14## ##WHITESPACE##
115 <tr>
116 <td></td>
117 <td class="block" colspan=2>Root File System</td>
118 </tr>
120 ##WHITESPACE##
122 <tr>
123 <td></td>
124 <td align="right">NFS<input type="radio" checked name="root" value="nfs"></td>
125 <td align="right">path</td>
126 <td></td>
127 <td>
128 <input type="text" size="40" name="nfsroot" value="<%= d.nwNFSRoot %>">
129 </td>
130 </tr>
131 <tr>
132 <td></td> <td></td>
133 <td align="right">server</td>
134 <td></td>
135 <td>
136 <input type="text" size="15" name="nfsserver" value="<%= d.nwNFSServer%>">
137 </td>
138 </tr>
139 ##WHITESPACE##
140 <tr>
141 <td></td>
142 <td align="right">ramdisk<input type="radio" name="root" value="ram"></td>
143 <td align="right">path</td>
144 <td></td>
145 <td>
146 <input type="text" size="40" name="rd" value="<%= d.domainInitRD %>">
147 </td>
148 </tr>
149 ##WHITESPACE##
150 <tr>
151 <td></td>
152 <td align="right">physical disk<input type="radio" name="root" value="pdisk"></td>
153 <td align="right">path</td>
154 <td></td>
155 <td><input type="text" size="40" name="pdisk" value="/dev/sda8"></td>
156 </tr>
157 <tr>
158 <td></td>
159 <td align="right">virtual disk<input type="radio" name="root" value="vdisk"></td>
160 <td align="right">path</td>
161 <td></td>
162 <td><input type="text" size="40" name="vdisk" value="/dev/xvda1"></td>
163 </tr>
165 ##WHITESPACE## ##GREYLINE14## ##WHITESPACE##
167 <tr>
168 <td></td>
169 <td class="block" colspan=4>Extra Arguments</td>
170 </tr>
171 <tr>
172 <td></td>
173 <td colspan=2 align="right"></td>
174 <td></td>
175 <td> <input type="text" size="40" name="args" value="<%= d.args %>"> </td>
176 </tr>
179 ##WHITESPACE## ##GREYLINE14## ##WHITESPACE##
181 <tr>
182 <td></td>
183 <td><input type="submit" value="create domain"></td>
184 </tr>
186 </tbody>
187 </table>
188 </form>
190 </td>
191 </tbody>
192 </table>
197 <!-- end content -->