Author: buildbot
Date: Tue Jul 31 16:24:53 2012
New Revision: 827520

Log:
Staging update by buildbot for vcl

Modified:
    websites/staging/vcl/trunk/content/   (props changed)
    websites/staging/vcl/trunk/content/dev/configsystem.html

Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul 31 16:24:53 2012
@@ -1 +1 @@
-1367571
+1367656

Modified: websites/staging/vcl/trunk/content/dev/configsystem.html
==============================================================================
--- websites/staging/vcl/trunk/content/dev/configsystem.html (original)
+++ websites/staging/vcl/trunk/content/dev/configsystem.html Tue Jul 31 
16:24:53 2012
@@ -78,7 +78,18 @@
   
   <div id="content">
     <h1 class="title">New Configuration System</h1>
-    <p>This page describes a new configuration system that will be added to 
VCL that can be used to dynamically configure deployed systems.</p>
+    <div class="toc">
+<ul>
+<li><a href="#database-schema">Database schema</a></li>
+<li><a href="#examples">Examples</a><ul>
+<li><a href="#assigning-a-vlan-to-an-image">Assigning a VLAN to an 
image</a></li>
+<li><a href="#hadoop-cluster-with-variable-amount-of-slave-nodes">Hadoop 
cluster with variable amount of slave nodes</a></li>
+<li><a href="#sas-cluster">SAS cluster</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<p>This page describes a new configuration system that will be added to VCL 
that can be used to dynamically configure deployed systems.</p>
 <h2 id="database-schema">Database schema</h2>
 <p>config:</p>
 <ul>
@@ -165,6 +176,64 @@
 </li>
 </ul>
 <h2 id="examples">Examples</h2>
+<h3 id="assigning-a-vlan-to-an-image">Assigning a VLAN to an image</h3>
+<p>This example shows how to assign a VLAN to an image.</p>
+<p>For this example, we'll use the following values from other tables:</p>
+<ul>
+<li>module.id for handling VLAN config type: 67</li>
+<li>image.id for the image in this example: 524</li>
+<li>affiliation.id for the desired affiliation: 6</li>
+<li>reservation.id for the image: 2748</li>
+<li>user.id that owns the configs: 54</li>
+</ul>
+<p>configtype:
+<table><tr>
+<th>id</th><th>name</th><th>moduleid</th>
+</tr><tr>
+<td>5</td><td>VLAN</td><td>67</td>
+</tr></table></p>
+<p><br>
+config:
+<table><tr>
+<th>id</th><th>name</th><th>ownerid</th><th>configtypeid</th><th>data</th><th>optional</th>
+</tr><tr>
+<td>77</td><td>VLAN 30</td><td>54</td><td>5</td><td>30</td><td>0</td>
+</tr></table></p>
+<p><br>
+configvariable:
+<table><tr>
+<th>id</th><th>name</th><th>configid</th><th>value</th><th>required</th><th>ask</th><th>key</th><th>datatype</th>
+</tr><tr>
+<td>486</td><td>VLAN</td><td>77</td><td>30</td><td>1</td><td>0</td><td>(empty)</td><td>int</td>
+</tr></table></p>
+<p><br>
+configmaptype:
+<table><tr>
+<th>id</th><th>name</th>
+</tr><tr>
+<td>1</td><td>image</td>
+</tr></table></p>
+<p><br>
+configmap:
+<table><tr>
+<th>configid</th><th>subid</th><th>configmaptypeid</th><th>affiliationid</th><th>disabled</th><th>stage</th>
+</tr><tr>
+<td>77</td><td>524</td><td>1</td><td>6</td><td>0</td><td>post_load</td>
+</tr></table></p>
+<p><br>
+configinstance:
+<table><tr>
+<th>id</th><th>reservationid</th><th>configid</th><th>status</th>
+</tr><tr>
+<td>6854</td><td>2748</td><td>77</td><td>new</td>
+</tr></table></p>
+<p><br>
+configinstancevariable:
+<table><tr>
+<th>configinstanceid</th><th>configvariableid</th><th>value</th>
+</tr>
+<tr><td>6854</td><td>486</td><td>30</td></tr>
+</table></p>
 <h3 id="hadoop-cluster-with-variable-amount-of-slave-nodes">Hadoop cluster 
with variable amount of slave nodes</h3>
 <p>This example shows how a hadoop cluster can be requested with 5-10 slave 
nodes.
 It can be useful to have the variable amount because 10 nodes may


Reply via email to