Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Elijah Grubb
emulab-devel
Commits
6ece8583
Commit
6ece8583
authored
Jun 28, 2002
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make pre-load a generally usable option.
parent
73012cdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
20 deletions
+27
-20
www/beginexp.php3
www/beginexp.php3
+27
-20
No files found.
www/beginexp.php3
View file @
6ece8583
...
...
@@ -264,22 +264,20 @@ function SPITFORM($formfields, $errors)
#
# Preload?
#
if
(
ISADMIN
(
$uid
))
{
echo
"<tr>
<td colspan=2>Preload Experiment?[<b>6</b>]:</td>
<td class=left>
<input type=checkbox
name=
\"
formfields[exp_preload]
\"
value=Yep"
;
if
(
isset
(
$formfields
[
exp_preload
])
&&
strcmp
(
$formfields
[
exp_preload
],
"Yep"
)
==
0
)
echo
"<tr>
<td colspan=2>Preload Experiment?[<b>6</b>]:</td>
<td class=left>
<input type=checkbox
name=
\"
formfields[exp_preload]
\"
value=Yep"
;
if
(
isset
(
$formfields
[
exp_preload
])
&&
strcmp
(
$formfields
[
exp_preload
],
"Yep"
)
==
0
)
echo
" checked"
;
echo
" > Yes
</td>
</tr>
\n
"
;
}
echo
" > Yes
</td>
</tr>
\n
"
;
echo
"<tr>
<td align=center colspan=3>
...
...
@@ -306,12 +304,11 @@ function SPITFORM($formfields, $errors)
corresponds to the project you selected.
<li>Check this if you want to create a
<a href='
$TBDOCBASE
/tutorial/tutorial.php3#BatchMode'>
batch mode</a> experiment.
\n
"
;
if
(
ISADMIN
(
$uid
))
{
echo
"<li>Check this if you want to load the experiment, but not
configure it (assign physical resources). This option is
not compatible with batch mode. Admin only right now.
\n
"
;
}
batch mode</a> experiment.
<li>Check this if you want to load the experiment, but not
configure it (assign physical resources). You may swap in the
experiment later, or terminate it without ever swapping
it. This option is not compatible with batch mode.
\n
"
;
echo
"</ol>
</blockquote></blockquote></blockquote>
\n
"
;
...
...
@@ -601,6 +598,7 @@ if (isset($formfields[exp_batched]) &&
strcmp
(
$formfields
[
exp_batched
],
"Yep"
)
==
0
)
{
$exp_batched
=
1
;
$batcharg
=
""
;
$exp_preload
=
0
;
}
else
{
$exp_batched
=
0
;
...
...
@@ -757,6 +755,15 @@ if ($exp_batched) {
been run. If you do not receive email notification within a
reasonable amount of time, please contact
$TBMAILADDR
.
\n
"
;
}
elseif
(
$exp_preload
)
{
echo
"Since you are only pre-loading the experiment, this will typically
take less than one minute. If you do not receive email notification
within a reasonable amount of time, please contact
$TBMAILADDR
.<br>
<br>
While you are waiting, you can watch the log
in <a target=_blank href=spewlogfile.php3?pid=
$exp_pid
&eid=
$exp_id
>
realtime</a>.
\n
"
;
}
else
{
echo
"You will be notified via email when the experiment has been fully
configured and you are able to proceed. This typically takes less
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment