From 84bffaa3359d445a72d7590f76148bfd790be64f Mon Sep 17 00:00:00 2001
From: Chad Barb
Date: Wed, 14 May 2003 23:10:25 +0000
Subject: [PATCH] Modify experiment is now deployed/documented... We can
announce it tomorrow.
---
www/faq.html | 38 ++++++++++++++++++++++++++++++++++++++
www/modifyexp.php3 | 16 ++++++++++------
www/showexp.php3 | 23 ++++++++---------------
3 files changed, 56 insertions(+), 21 deletions(-)
diff --git a/www/faq.html b/www/faq.html
index 1a8dcb7d5..14c4e0673 100644
--- a/www/faq.html
+++ b/www/faq.html
@@ -53,6 +53,8 @@
counts) for my experiment?
What names should I use to refer to the
nodes in my experiment?
+ Can I modify my experiment
+ after creating it?
Hardware setup
@@ -806,6 +808,42 @@
+
+
+ Can I modify my experiment after creating it?
+
+
+ Yes. On the experiment view page, choose "Modify this Experiment".
+ This will allow you to modify an experiment, either swapped-out or in,
+ by editing its NS file.
+ If the experiment is swapped-out,
+ Experiment Modify will simply replace its topology with the
+ newly specified one;
+ this new topology will be mapped when the experiment is swapped in.
+ If the experiment is already swapped-in, Modify will change the topology
+ and map in the portions which have been changed. This allows dynamic
+ addition, subtraction, and replacement of an experiment's nodes and links.
+ However, when modifying swapped-in experiments, there are a couple
+ things to keep in mind:
+
+ - Any node with the same name in the old and new topology will remain
+ on the same physical machine, unaffected-- its disk will not be reloaded.
+ If you want to, for example, change the hardware on a machine, you will
+ have to call the machine something different in the new topology.
+
+
+ -
+ It is highly recommended that you leave the
+ "Reboot nodes in experiment" box checked in the Experiment Modify form.
+ This is especially important if changing your experiment topology
+ (adding or removing nodes, links, and LANs).
+ If adding/removing a delay to/from an existing link, or replacing
+ a lost node without modifying the experiment topology,
+ this won't be necessary.
+
+
+
+
diff --git a/www/modifyexp.php3 b/www/modifyexp.php3
index d581afba0..22717ba09 100644
--- a/www/modifyexp.php3
+++ b/www/modifyexp.php3
@@ -64,12 +64,15 @@ if (strcmp($expstate, $TB_EXPTSTATE_ACTIVE) &&
if (! isset($go)) {
-
+ echo "";
+ echo "
";
echo "