ConfigFiles: add pre-run and post-run scripts-aware campagin file
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 6 Aug 2010 09:20:15 +0000 (12:20 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 6 Aug 2010 09:20:15 +0000 (12:20 +0300)
ConfigFiles/campaign-pre-post.html [new file with mode: 0644]
ConfigFiles/campaign-pre-post.txt [new file with mode: 0644]

diff --git a/ConfigFiles/campaign-pre-post.html b/ConfigFiles/campaign-pre-post.html
new file mode 100644 (file)
index 0000000..34aefa0
--- /dev/null
@@ -0,0 +1,136 @@
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <title>Swarm metrics validation campaign</title>
+    <style  TYPE="text/css">
+    <!--
+      #centered-content {
+        margin: 0 auto;
+        width: 1000px;
+        text-align: center;
+      }
+      body {
+        margin: 0px;
+        padding: 0px;
+      }
+
+      #header {
+        background: #d0dafd;
+        color: #339;
+        font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
+        font-size: 14px;
+        width: 100%;
+        text-align: center;
+        padding: 5px;
+      }
+      #leftcol {
+        background: #fff;
+        float: left;
+        width: 5%;
+      }
+      #rightcol {
+        background: #fff;
+        float: right;
+        width: 5%;
+      }
+      #content {
+        background: #fff;
+        float: left;
+        width: 100%;
+      }
+      #footer {
+        background: #d0dafd;
+        color: #339;
+        font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
+        font-size: 12px;
+        clear: both;
+        width: 100%;
+        text-align: center;
+        padding: 5px;
+      }
+
+      #box-table-a {
+        font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
+        font-size: 12px;
+        margin: 10px;
+        width: 1000px;
+        text-align: left;
+        border-collapse: collapse;
+      }
+      #box-table-a th {
+        font-size: 14px;
+        font-weight: normal;
+        padding: 8px;
+        background: #b9c9fe;
+        border-top: 4px solid #aabcfe;
+        border-bottom: 1px solid #fff;
+        color: #039;
+      }
+      #box-table-a td {
+        padding: 12px;
+        background: #e8edff; 
+        border-bottom: 2px solid #fff;
+        color: #669;
+      }
+      #box-table-a tr:hover td {
+        background: #d0dafd;
+        color: #339;
+      }
+
+      a:link { 
+        color: #0000ff;
+      }
+      a:visited { 
+        color: #808080;
+      }
+      a:hover { 
+        color: #ff0000;
+        text-decoration: none;
+      }
+      a:active { 
+        color: #777777;
+      }
+    -->
+    </style>
+  </head>
+  <body>
+    <div id="header">Swarm metrics validation campaign - Results
+    </div>
+
+    <div id="leftcol">
+    </div>
+
+    <div id="rightcol">
+    </div>
+
+    <div id="content">
+      <div id="centered-content">
+
+        <table id="box-table-a" summary="Campaign-rd results">
+          <thead>
+            <tr>
+              <th scope="col">Name</th>
+              <th scope="col">No. of Seeders</th>
+              <th scope="col">No. of Leechers</th>
+              <th scope="col">Bandwidth Rectrictions</th>
+              <th scope="col">Graphs</th>
+            </tr>
+          </thead>
+          <tbody>
+            <tr>
+              <td>scenario-rd</td>
+              <td>1</td>
+              <td>1</td>
+              <td>8 Mbit/s up/down</td>
+              <td><a href="scenario-rd/scenario-rd-dlspeed-percent.png">dlspeed vs percent</a>; <a href="scenario-rd/scenario-rd-dlspeed-time.png">dlspeed vs time</a></td>
+            </tr>
+          </tbody>
+        </table>
+      </div>
+    </div>
+
+    <div id="footer">For further information please contact George Milescu (george.milescu [at] gmail.com) and Răzvan Deaconescu (razvan.deaconescu [at] cs.pub.ro)
+    </div>
+
+  </body>
+</html>
diff --git a/ConfigFiles/campaign-pre-post.txt b/ConfigFiles/campaign-pre-post.txt
new file mode 100644 (file)
index 0000000..be89727
--- /dev/null
@@ -0,0 +1,6 @@
+# Campaign-pre-post
+# Description:
+#   * pre-run and post-run scripts-aware campaign
+#
+# ScenarioDescription  PlotScript
+scenario-pre-post.txt  scenario-pre-post.r