Setting tag myplc-5.1-4
[myplc.git] / default_config.xml
index 637b352..c9f3bab 100644 (file)
@@ -6,7 +6,6 @@ Default PLC configuration file
 Mark Huang <mlhuang@cs.princeton.edu>
 Copyright (C) 2006 The Trustees of Princeton University
 
-$Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 -->
 
 <!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
@@ -29,6 +28,20 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
          PlanetLab Support).</description>
        </variable>
 
+       <variable id="shortname" type="string">
+         <name>Shortame</name>
+         <value>Tlab</value>
+         <description>The short name of this PLC installation. It is
+         mostly used in the web interface when displaying local
+         objects.</description>
+       </variable>
+
+       <variable id="hrn_root" type="string">
+         <name>Root in Hierarchical Naming Space </name>
+         <value>planetlab.test</value>
+         <description> The root of this peer in the hierarchical federation naming space.</description>
+       </variable>
+
        <variable id="slice_prefix" type="string">
          <name>Slice Prefix</name>
          <value>pl</value>
@@ -101,6 +114,68 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
          <description>The SSH private key used to access the root
          account on your nodes.</description>
        </variable>
+
+      </variablelist>
+    </category>
+
+    <category id="plc_flavour">
+      <name>Flavours</name>
+      <description>Defaults for nodes and slices contents.</description>
+      
+      <variablelist>
+       <variable id="node_arch" type="string">
+         <name>arch for nodes</name>
+         <value>@ARCH@</value>
+         <description>The default 'arch' to use when installing nodes.
+         This is offered mostly for consistency with the rest of the
+         PLC_FLAVOUR category, but does not have much of a practical
+         interest. In any case, you need to have the corresponding
+         bootstrapfs images available for nodes.</description>
+       </variable>
+
+       <variable id="node_fcdistro" type="string">
+         <name>fcdistro for nodes</name>
+         <value>@FCDISTRO@</value>
+         <description>THIS CURRENTLY HAS NO EFFECT.
+          The default 'fcdistro' to use when installing
+         nodes.You need to have the corresponding bootstrapfs images
+         available for nodes. THIS CURRENTLY HAS NO EFFECT.</description>
+       </variable>
+
+       <variable id="node_pldistro" type="string">
+         <name>pldistro for nodes</name>
+         <value>@PLDISTRO@</value>
+         <description>The default 'pldistro' to use when installing
+         nodes. You need to have the corresponding bootstrapfs
+         images available for nodes.</description>
+       </variable>
+
+       <variable id="slice_arch" type="string">
+         <name>arch for slivers</name>
+         <value>@ARCH@</value>
+         <description>The default 'arch' to use for slivers. This is
+         useful if you have heterogeneous nodes (i686 and x86_64),
+         but want slivers to be homogeneous. You need to have the
+         corresponding vserver variant rpm available for
+         nodes.</description>
+       </variable>
+
+       <variable id="slice_fcdistro" type="string">
+         <name>fcdistro for slivers</name>
+         <value>@FCDISTRO@</value>
+         <description>The default 'fcdistro' to use for creating
+         slivers. You need to have the corresponding vserver variant
+         rpm available for nodes.</description>
+       </variable>
+
+       <variable id="slice_pldistro" type="string">
+         <name>pldistro for slivers</name>
+         <value>@PLDISTRO@</value>
+         <description>The default 'pldistro' to use for creating
+         slivers. You need to have the corresponding vserver variant
+         rpm available for nodes.</description>
+       </variable>
+
       </variablelist>
     </category>
 
@@ -146,6 +221,22 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
       </variablelist>
     </category>
 
+    <category id="plc_hosts">
+      <name>/etc/hosts</name>
+      <description>MyPLC can setup /etc/hosts with the hostnames and
+      IP addresses specified for *_NAME and *_IP, or look up the IP
+      addresses if they are not specified in this configuration.
+      </description>
+
+      <variablelist>
+        <variable id="enabled" type="boolean">
+          <name>Enable /etc/hosts configuration</name>
+          <value>true</value>
+          <description>Let PLC manage /etc/hosts</description>
+        </variable>
+      </variablelist>
+    </category>
+
     <category id="plc_mail">
       <name>Mail</name>
       <description>Many maintenance scripts, as well as the API and
@@ -178,6 +269,16 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
          occurs during node installation or boot.</description>
        </variable>
 
+       <variable id="mom_list_address" type="email">
+         <name>Mom List Address</name>
+         <value>root+mom@localhost.localdomain</value>
+         <description>This address is used by operations staff
+         to monitor Mom (formerly pl_mom) messages indicating
+         excessive BW or memory usage by a slice.  Mom messages sent
+         to slices will be cc'ed to this list so as not to clog
+         the Support Address list.</description>
+       </variable>
+
        <variable id="slice_address" type="email">
          <name>Slice Address</name>
          <value>root+SLICE@localhost.localdomain</value>
@@ -216,9 +317,9 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
         <variable id="ip" type="ip">
           <name>IP Address</name>
-          <value>127.0.0.1</value>
+          <value/>
           <description>The IP address of the database server, if not
-          resolvable by the configured DNS servers.</description>
+          resolvable.</description>
         </variable>
 
        <variable id="port" type="int">
@@ -230,7 +331,7 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
        <variable id="name" type="string">
          <name>Database Name</name>
-         <value>planetlab4</value>
+         <value>planetlab5</value>
          <description>The name of the database to access.</description>
        </variable>
 
@@ -279,9 +380,23 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
         <variable id="ip" type="ip">
           <name>IP Address</name>
-          <value>127.0.0.1</value>
+          <value/>
           <description>The IP address of the API server, if not
-          resolvable by the configured DNS servers.</description>
+          resolvable.</description>
+        </variable>
+
+        <variable id="ipod_subnet" type="ip">
+          <name>IP Subnet</name>
+          <value>127.0.0.1</value>
+          <description>The IP Subnet for all API servers. 
+         Used to identify IPoD packet senders.</description>
+        </variable>
+
+        <variable id="ipod_mask" type="ip">
+          <name>IP Mask</name>
+          <value>255.255.255.255</value>
+          <description>The IP Mask that should be applied to incoming 
+         packets to match the IP Subnet for IPoD packets.</description>
         </variable>
 
        <variable id="port" type="int">
@@ -384,9 +499,9 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
         <variable id="ip" type="ip">
           <name>IP Address</name>
-          <value>127.0.0.1</value>
+          <value/>
           <description>The IP address of the web server, if not
-          resolvable by the configured DNS servers.</description>
+          resolvable.</description>
         </variable>
 
        <variable id="port" type="int">
@@ -462,9 +577,9 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
 
         <variable id="ip" type="ip">
           <name>IP Address</name>
-          <value>127.0.0.1</value>
+          <value/>
           <description>The IP address of the boot server, if not
-          resolvable by the configured DNS servers.</description>
+          resolvable.</description>
         </variable>
 
        <variable id="port" type="int">
@@ -514,117 +629,237 @@ $Id: default_config.xml 1078 2007-11-15 13:38:27Z thierry $
        </variable>
       </variablelist>
     </category>
+
+    <category id="plc_ratelimit">
+      <name>Planetlab Ratelimit Settings</name>
+      <description>Planetlab Ratelimit Settings</description>
+      <variablelist>
+        <variable id="enabled" type="bolean">
+          <name>Enable Ratelimit</name>
+          <value>false</value>
+          <description>Enable Ratelimit for sites</description>
+        </variable>
+      </variablelist>
+    </category>
+
+    <category id="plc_omf">
+      <name>Planetlab - OMF Integration</name>
+      <description>Planetlab - OMF integration</description>
+      <variablelist>
+        <variable id="enabled" type="boolean">
+          <name>OMF integration</name>
+          <value>false</value>
+          <description>Enable OMF integration.</description>
+        </variable>
+
+        <!-- xmpp server configuration -->
+        <variable id="xmpp_server" type="string">
+          <name>XMPP server</name>
+          <value>localhost.localdomain</value>
+          <description>The fully qualified hostname of the XMPP server.</description>
+        </variable>
+
+        <variable id="xmpp_user" type="string">
+          <name>XMPP username</name>
+          <value></value>
+          <description>XMPP username (which has admin rights).</description>
+        </variable>
+
+        <variable id="xmpp_password" type="string">
+          <name>XMPP password</name>
+          <value></value>
+          <description>The password of the XMPP user.</description>
+        </variable>
+
+        <!-- omf-slicemgr -->
+        <variable id="slicemgr_url" type="string">
+          <name>OMF Slicemgr URL</name>
+          <value>http://localhost.localdomain:5053</value>
+          <description>.</description>
+        </variable>
+
+      </variablelist>
+    </category>
+
+    <category id="plc_reservation">
+      <name> Reservable Nodes</name>
+      <description> Settings related to reservable nodes </description>
+
+      <variablelist>
+       <variable id="granularity" type="int">
+         <name>Lease granularity</name>
+         <value>3600</value>
+         <description>The smallest timeslot that can be allocated to
+         a node. All leases will be rounded to this granularity, so
+         e.g. if you set 3600 all leases will start and stop at round
+         hours.</description>
+       </variable>
+      </variablelist>
+    </category>
+
+    <category id="plc_planetflow">
+      <name>PlanetFlow Service Configuration</name>
+      <description>Planetflow service definitions used in the netflow slice. </description>
+
+      <variablelist>
+        <variable id="host" type="hostname">
+               <name>Hostname</name>
+               <value>localhost.localdomain</value>
+               <description>The fully qualified hostname.</description>
+        </variable>
+      </variablelist>
+    </category>
+
+    <category id="plc_monitor">
+      <name>Monitoring Service</name>
+      <description>The Monitor service that tracks node availablity and repair.</description>
+      <variablelist>
+        <variable id="enabled" type="boolean">
+          <name>Enabled</name>
+          <value>false</value>
+          <description>Enable on this machine.</description>
+        </variable>
+        <variable id="host" type="hostname">
+          <name>Hostname</name>
+          <value>localhost.localdomain</value>
+          <description>The fully qualified hostname.</description>
+        </variable>
+        <variable id="ip" type="ip">
+          <name>IP Address</name>
+          <value></value>
+          <description>The IP address of the monitor server.</description>
+        </variable>
+        <variable id="from_email" type="email">
+          <name>Monitor Email Address</name>
+          <value>root+monitor@localhost.localdomain</value>
+          <description>All messages from Monitor will appear to come from this address.</description>
+        </variable>
+        <variable id="cc_email" type="email">
+          <name>CC Email Address</name>
+          <value>root+monitor@localhost.localdomain</value>
+          <description>All messages from Monitor will be copied to this address.</description>
+        </variable>
+        <variable id="rt_queue" type="email">
+          <name>Queue Name in RT for new messages</name>
+          <value>support</value>
+          <description>All messages from Monitor will be copied to this address.</description>
+        </variable>
+        <variable id="dbhost" type="hostname">
+          <name>Database Hostname</name>
+          <value>localhost</value>
+          <description>The hostname for the monitor database.</description>
+        </variable>
+        <variable id="dbuser" type="string">
+          <name>Database User</name>
+          <value>monitoruser</value>
+          <description>The username for connecting to the monitor database.</description>
+        </variable>
+        <variable id="dbname" type="string">
+          <name>Database Name</name>
+          <value>monitor</value>
+          <description>Name of monitor database.</description>
+        </variable>
+        <variable id="dbpassword" type="password">
+          <name>Database Password</name>
+          <value></value>
+          <description>The password to use when accessing the
+          database, Monitor user account in the local PLC.</description>
+        </variable>
+
+           <variable id="ssl_key" type="file">
+                 <name>SSL Private Key</name>
+                 <value>/etc/planetlab/monitor_ssl.key</value>
+                 <description>The SSL private key to use for encrypting HTTPS
+                 traffic.</description>
+               </variable>
+
+               <variable id="ssl_crt" type="file">
+                 <name>SSL Public Certificate</name>
+                 <value>/etc/planetlab/monitor_ssl.crt</value>
+                 <description>The corresponding SSL public certificate for
+                 the HTTP server. By default, this certificate is
+                 self-signed. You may replace the certificate later with one
+                 signed by a root CA.</description>
+               </variable>
+
+               <variable id="ca_ssl_crt" type="file">
+                 <name>Root CA SSL Public Certificate</name>
+                 <value>/etc/planetlab/monitor_ca_ssl.crt</value>
+                 <description>The certificate of the root CA, if any, that
+                 signed your server certificate. If your server certificate is
+                 self-signed, then this file is the same as your server
+                 certificate.</description>
+               </variable>
+
+      </variablelist>
+    </category>
+    <category id="plc_rt">
+      <name>RT Configuration</name>
+      <description>RT</description>
+      <variablelist>
+        <variable id="enabled" type="boolean">
+          <name>Enabled</name>
+          <value>false</value>
+          <description>Enable on this machine.</description>
+        </variable>
+        <variable id="host" type="hostname">
+          <name>Hostname</name>
+          <value>localhost.localdomain</value>
+          <description>The fully qualified hostname.</description>
+        </variable>
+        <variable id="ip" type="ip">
+          <name>IP Address</name>
+          <value/>
+          <description>The IP address of the RT server.</description>
+        </variable>
+        <variable id="cc_address" type="email">
+          <name>CC Email Address</name>
+          <value>root+cclist@localhost.localdomain</value>
+          <description>All messages to and from PLCRT will be copied to this address.</description>
+        </variable>
+        <variable id="web_user" type="string">
+          <name>root</name>
+          <value>root</value>
+          <description>Username of a privileged user in RT who can create
+                 tickets for any RT Queue.</description>
+        </variable>
+        <variable id="web_password" type="password">
+          <name>password</name>
+          <value>password</value>
+          <description>Password for RT web user.</description>
+        </variable>
+        <variable id="dbpassword" type="password">
+          <name>Database Password</name>
+          <value></value>
+          <description>Password to use when accessing the RT database.</description>
+        </variable>
+      </variablelist>
+    </category>
+    <category id="myslice">
+      <name>MySlice</name>
+      <description>MySlice configuration parameters</description>
+      <variablelist>
+       <variable id="comon_url" type="string">
+         <name>comon</name>
+         <value></value>
+         <description>The address of the CoMon url that provides information for this PLC's nodes (if not the default http://comon.cs.princeton.edu/)</description>
+       </variable>
+       <variable id="comon_available" type="boolean">
+         <name>comon</name>
+         <value>false</value>
+         <description>True, if comon data are available for this PLC's nodes</description>
+       </variable>
+       <variable id="tophat_available" type="boolean">
+         <name>tophat</name>
+         <value>false</value>
+         <description>True, if tophat data are available for this PLC's nodes</description>
+       </variable>
+      </variablelist>
+    </category>
   </variables>
 
   <comps>
-    <!-- xxx should be deprecated - not used anymore xxx -->
-    <group>
-      <id>plc</id>
-      <name>PlanetLab Central</name>
-      <default>true</default>
-      <description>PlanetLab Central Packages</description>
-      <uservisible>true</uservisible>
-      <packagelist>
-       <!-- Basics -->
-       <packagereq type="mandatory">dev</packagereq>   
-       <packagereq type="mandatory">findutils</packagereq>
-
-
-       <!-- kernel-vserver is intended for the vserver-reference, but
-            serves the same useful purpose for MyPLC, namely, to
-            Provide: kernel without actually installing anything. -->
-       <packagereq type="mandatory">kernel-vserver</packagereq>        
-
-       <!-- Sending mail -->
-       <packagereq type="mandatory">sendmail</packagereq>
-       <packagereq type="mandatory">sendmail-cf</packagereq>
-
-       <!-- Caching DNS server -->
-       <packagereq type="mandatory">dnsmasq</packagereq>
-
-       <!-- (Optional) Synchronizing with PLC -->
-       <packagereq type="mandatory">rsync</packagereq>
-
-       <!-- Cron jobs -->
-       <packagereq type="mandatory">vixie-cron</packagereq>    
-
-       <!-- Other utilities -->
-       <packagereq type="mandatory">cvs</packagereq>
-       <packagereq type="mandatory">curl</packagereq>
-       <packagereq type="mandatory">wget</packagereq>
-       <packagereq type="mandatory">less</packagereq>
-       <packagereq type="mandatory">gzip</packagereq>
-       <packagereq type="mandatory">bzip2</packagereq>
-       <packagereq type="mandatory">cpio</packagereq>
-       <packagereq type="mandatory">tar</packagereq>
-       <packagereq type="mandatory">diffutils</packagereq>
-
-       <!-- yum >=2.2 uses a new repository format -->
-       <packagereq type="mandatory">createrepo</packagereq>
-       <packagereq type="mandatory">yum</packagereq>
-       <packagereq type="mandatory">rpm</packagereq>
-
-       <!-- For mkpasswd -->
-       <packagereq type="mandatory">expect</packagereq>
-
-       <!-- For ssh-keygen -->
-       <packagereq type="mandatory">openssh</packagereq>
-
-       <!-- Almost all scripts are written in Python -->
-       <packagereq type="mandatory">python</packagereq>
-       <packagereq type="mandatory">python-devel</packagereq>
-
-       <!-- Database server -->
-       <packagereq type="mandatory">postgresql</packagereq>
-       <packagereq type="mandatory">postgresql-server</packagereq>
-       <packagereq type="mandatory">postgresql-python</packagereq>
-
-       <!-- (Secure) web server -->
-       <packagereq type="mandatory">httpd</packagereq>
-       <packagereq type="mandatory">mod_ssl</packagereq>
-
-       <!-- Web pages are written primarily in PHP. A few pages still
-            access the DB directly. -->
-       <packagereq type="mandatory">php</packagereq>
-       <packagereq type="mandatory">php-pgsql</packagereq>
-       <!-- PLCAPI replaces php-xmlrpc -->
-       <!-- <packagereq type="mandatory">php-xmlrpc</packagereq> -->
-
-       <!-- Need GD for ImageCreate(), etc. -->
-       <packagereq type="mandatory">gd</packagereq>    
-       <packagereq type="mandatory">php-gd</packagereq>        
-       <packagereq type="mandatory">perl-GD</packagereq>       
-
-       <!-- API server is implemented in mod_python -->
-       <packagereq type="mandatory">mod_python</packagereq>
-
-       <!-- API server uses a few non-standard packages -->
-       <packagereq type="mandatory">PLCAPI</packagereq>
-       <packagereq type="mandatory">SOAPpy</packagereq>
-       <packagereq type="mandatory">PyXML</packagereq>
-
-       <!-- API server uses SSL to sign tickets -->
-       <packagereq type="mandatory">xmlsec1</packagereq>
-       <packagereq type="mandatory">xmlsec1-openssl</packagereq>
-       <packagereq type="mandatory">openssl</packagereq>
-
-       <!-- Customizable Boot CD and Boot Manager packages -->
-       <packagereq type="mandatory">bootcd</packagereq>
-       <packagereq type="mandatory">bootmanager</packagereq>
-
-       <!-- PLCWWW now packaged separately from myplc -->
-       <packagereq type="mandatory">plcwww</packagereq>
-
-       <!-- apache user needs root access for building node-dependent images -->
-       <packagereq type="mandatory">sudo</packagereq>
-
-       <!-- OneLab specifics - for convenience -->
-       <packagereq type="mandatory">vim-minimal</packagereq>
-       <packagereq type="mandatory">python-imaging</packagereq>
-
-      </packagelist>
-    </group>
-
+    <!-- deprecated - not used anymore - use .lst files instead -->
   </comps>
 
 </configuration>