Removing configuration folder for senslab.
authorSandrine Avakian <sandrine.avakian@inria.fr>
Tue, 12 Mar 2013 11:49:31 +0000 (12:49 +0100)
committerSandrine Avakian <sandrine.avakian@inria.fr>
Tue, 12 Mar 2013 11:49:31 +0000 (12:49 +0100)
testbeds/senslab/config/aggregates.xml [deleted file]
testbeds/senslab/config/bash_nukem [deleted file]
testbeds/senslab/config/default_config.xml [deleted file]
testbeds/senslab/config/jenkins-config.txt [deleted file]
testbeds/senslab/config/registries.xml [deleted file]
testbeds/senslab/config/sfa_config [deleted file]
testbeds/senslab/config/sfa_config.xml [deleted file]
testbeds/senslab/config/site.xml [deleted file]
testbeds/senslab/config/site_config [deleted file]

diff --git a/testbeds/senslab/config/aggregates.xml b/testbeds/senslab/config/aggregates.xml
deleted file mode 100644 (file)
index 8000d8b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<aggregates>
-       <aggregate addr="138.96.116.51" hrn="firexp" port="12347"/>
-</aggregates>
-
diff --git a/testbeds/senslab/config/bash_nukem b/testbeds/senslab/config/bash_nukem
deleted file mode 100755 (executable)
index 48849f9..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#!/bin/bash 
-
-# Configuration first : set the local repository
-# where the code can be found
-# Test number of arguments 
-if (( ! $# == 2 ))
-then
-    echo " Usage : bash_nukem repository_directory vm  and \
-    federation option (0 (not federated),1(firexp)"
-    echo  $#
-    exit
-fi
-
-# Check if  directory exists
-if [ -d $1 ]
-then
-    git_local_repo=$1
-    echo "RESPOSITORY: "  $git_local_repo
-   
-fi
-
-
-# if [ $vm = "senslab" ]
-# then
-#     federation_commented_line_nb=2
-# else
-#     federation_commented_line_nb=3
-# fi
-
-# First restart sfa (prevents stalling when connecting
-# to the DB and dropping tables)
-sudo service sfa restart
-
-# Nuke the database 
-sudo sfaadmin.py registry nuke
-
-# Drop table in slab_sfa
-# to avoid duplicates.
-
-psql -d slab_sfa -U sfadbuser -W -q -c "drop table slab_xp;"
-
-# ATTENTION :Save the config file /etc/sfa/sfa_config
-# before continuing
-
-# Remove all the remaining gid, creds files
-# of the server
-sudo rm -rf /var/lib/sfa
-cd /etc/sfa
-sudo rm -rf *
-sudo service sfa restart
-
-# Put back the config file that you saved before
-cd $git_local_repo
-sudo make clean
-make
-sudo python setup.py install
-# sudo service sfa restart
-
-# Wrote /etc/sfa/configs/site.xml
-# Merged
-#         /etc/sfa/default_config.xml
-# and     /etc/sfa/configs/site.xml
-# into    /etc/sfa/sfa_config.xml
-# sudo sfa-config-tty
-# 
-#sudo cp $git_local_repo/sfa/senslab/config/$vm/sfa_config /etc/sfa/sfa_config
-sudo cp $git_local_repo/sfa/senslab/config/$vm/sfa_config.xml /etc/sfa/sfa_config.xml
-sudo cp $git_local_repo/sfa/senslab/config/$vm/default_config.xml /etc/sfa/default_config.xml
-# sudo cp $git_local_repo/sfa/senslab/config/$vm/site.xml  /etc/sfa/site.xml
-# sudo cp $git_local_repo/sfa/senslab/config/$vm/site_config  /etc/sfa/configs/site_config
-# sudo ln -s ldap_config.py  /etc/sfa/ldap_config.py
-
-
-#Senslab LDAP and OAR access config files
-if [ ! -f /etc/sfa/ldap_config.py ] 
-then
-    sudo cp $git_local_repo/sfa/senslab/config/ldap_config.py  /etc/sfa/ldap_config.py 
-fi
-
-if [ ! -f /etc/sfa/oar_config.py ] 
-then
-    sudo cp $git_local_repo/sfa/senslab/config/oar_config.py  /etc/sfa/oar_config.py 
-fi
-
-sudo service sfa restart
-
-# User stuff : clean your folder
-cd  ~/.sfi
-rm *.sscert *.cred *.gid sfi_cache.dat
-cd ~
-
-# Import the datbase form ldap
-sudo sfaadmin.py registry import_registry
-sudo service sfa restart
-
-sudo cp $git_local_repo/sfa/senslab/config/registries.xml /etc/sfa/registries.xml
-sudo cp $git_local_repo/sfa/senslab/config/aggregates.xml /etc/sfa/aggregates.xml
-
-
-case "$3" in
-    0) echo "No federation at all"
-        #Insert a # on every beginning of line except if there is 'aggregates'
-        sed -i '/aggregates/!s/^/#/g' /etc/sfa/aggregates.xml 
-        sed -i '/registries/!s/^/#/g' /etc/sfa/registries.xml   
-        ;;
-    1) echo "Setting up federation with other senslab "
-        #  Commenting out senslab and ple, lines 2 and 4 OR
-        #  Commenting out senslab2 and ple, lines 3 and 4
-        sed -i "${federation_commented_line_nb} s/^/#/" /etc/sfa/aggregates.xml 
-        sed -i "${federation_commented_line_nb} s/^/#/" /etc/sfa/registries.xml 
-        sed -i '4 s/^/#/' /etc/sfa/aggregates.xml 
-        sed -i '4 s/^/#/' /etc/sfa/registries.xml 
-        ;;
-
-    2) echo "Setting up federation with  ple " 
-        sed -i '2 s/^/#/' /etc/sfa/aggregates.xml 
-        sed -i '2 s/^/#/' /etc/sfa/registries.xml 
-        sed -i '3 s/^/#/' /etc/sfa/aggregates.xml 
-        sed -i '3 s/^/#/' /etc/sfa/registries.xml 
-        ;;  
-
-    3) echo "setting federation with other senslab and ple"
-        # Commenting out senslab or senslab2
-        sed -i "${federation_commented_line_nb} s/^/#/" /etc/sfa/aggregates.xml 
-        sed -i "${federation_commented_line_nb} s/^/#/" /etc/sfa/registries.xml 
-        ;;
-esac
-
-sudo service sfa restart
-
-sudo rm -rf /var/lib/sfa/authorities/plc
diff --git a/testbeds/senslab/config/default_config.xml b/testbeds/senslab/config/default_config.xml
deleted file mode 100644 (file)
index 214819e..0000000
+++ /dev/null
@@ -1,336 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!--
-Default SFA configuration file
-
-Thierry Parmentelat 
-
--->
-
-<!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
-
-<configuration>
-  <variables>
-
-    <!-- ======================================== -->
-    <category id="sfa">
-      <name>General</name>
-      <description>Basic system variables.</description>
-
-      <variablelist>
-        <variable id="generic_flavour" type="string">
-          <name>Generic Flavour</name>
-          <value>slab</value>
-          <description>This string refers to a class located in sfa.generic that describes 
-          which specific implementation needs to be used for api, manager and driver objects.
-          PlanetLab users do not need to change this setting.
-          </description>
-        </variable>
-
-        <variable id="interface_hrn" type="string">
-          <name>Human readable name</name>
-          <value>senslab</value>
-          <description>The human readable name for this interface.</description>
-        </variable>
-
-        <variable id="credential_schema" type="string">
-          <name>Credential Schema</name>
-          <value>/etc/sfa/credential.xsd</value>
-          <description>The path to the default credential schema</description>
-        </variable>
-
-        <variable id="api_loglevel" type="int">
-          <name>Debug</name>
-          <value>2</value>
-          <description>Logging level; 0=minimum, 1=info, 2=debug</description>
-        </variable>
-    
-        <variable id="max_slice_renew" type="int">
-          <name>Max Slice Renew</name>
-          <value>60</value>
-          <description>Maximum amout of days a user can extend/renew their slices to</description>
-        </variable>
-
-        <variable id="session_key_path" type="string">
-            <name>User Session Keys Path </name>
-            <value>/var/lib/sfa/session_keys</value>
-            <description>Some services will peform operations on behalf of a user, but make
-            it look like the user is the one performing the operation. Doing this requires a 
-            valid key pair and credential for the user. This option defines the path where 
-            key pairs and credentials are generated and stored.
-            This functionality is used by the SFA web GUI. 
-            </description> 
-        </variable>
-
-         <variable id="data_dir" type="string">
-            <name>Data Directory </name>
-            <value>/var/lib/sfa/</value>
-            <description>Directory where cached certficiates and other data is stored.
-            </description>
-        </variable>
-
-      </variablelist>
-    </category>
-
-    <!-- ======================================== -->
-    <category id="sfa_registry">
-      <name>Registry</name>
-      <description>The settings that affect the registry that will run
-      as part of this SFA instance.</description>
-
-      <variablelist>
-       <variable id="enabled" type="boolean">
-         <name>Enable Registry</name>
-         <value>true</value>
-         <description>Allows this local SFA instance to run as a
-         registry.</description>
-       </variable>
-
-       <variable id="host" type="hostname">
-         <name>Hostname</name>
-         <value>localhost</value>
-         <description>The hostname where the registry is expected to
-         be found; using localhost when the local registry is enabled
-         seems reasonable.</description>
-       </variable>
-
-       <variable id="port" type="int">
-         <name>Port number</name>
-         <value>12345</value>
-         <description>The port where the registry is to be found.</description>
-       </variable>
-
-       <variable id="root_auth" type="string">
-         <name>Root Authority</name>
-         <value>senslab</value>
-         <description>The hrn of the registry's root auth.</description>
-       </variable>
-
-    </variablelist>
-    </category>
-
-    <!-- ======================================== -->
-    <category id="sfa_sm">
-      <name>Slice Manager</name>
-      <description>The settings that affect the slice manager that will run
-      as part of this SFA instance.</description>
-
-      <variablelist>
-       <variable id="enabled" type="boolean">
-         <name>Enable Slice Manager</name>
-         <value>true</value>
-         <description>Allows this local SFA instance to run as a
-         slice manager.</description>
-       </variable>
-
-       <variable id="host" type="hostname">
-         <name>Hostname</name>
-         <value>localhost</value>
-         <description>The hostname where the slice manager is expected to
-         be found.</description>
-       </variable>
-
-       <variable id="port" type="int">
-         <name>Port number</name>
-         <value>12347</value>
-         <description>The port where the slice manager is to be found.</description>
-       </variable>
-
-       <variable id="caching" type="boolean">
-         <name>Cache advertisement rspec</name>
-         <value>false</value>
-         <description>Enable caching of the global advertisement, as
-         returned by ListResources without a slice argument. </description>
-         </variable>
-
-      </variablelist>
-    </category>
-
-    <!-- ======================================== -->
-    <category id="sfa_aggregate">
-      <name>Aggregate</name>
-      <description>The settings that affect the aggregate manager that will run
-      as part of this SFA instance.</description>
-
-      <variablelist>
-       <variable id="enabled" type="boolean">
-         <name>Enable Aggregate</name>
-         <value>true</value>
-         <description>Allows this local SFA instance to run as an
-         aggregate manager.</description>
-       </variable>
-
-       <variable id="host" type="hostname">
-         <name>Hostname</name>
-         <value>localhost</value>
-         <description>The hostname where the aggregate is expected to
-         be found.</description>
-       </variable>
-
-       <variable id="port" type="int">
-         <name>Port number</name>
-         <value>12346</value>
-         <description>The port where the aggregate is to be found.</description>
-       </variable>
-
-       <variable id="caching" type="boolean">
-         <name>Cache advertisement rspec</name>
-         <value>true</value>
-         <description>Enable caching of the global advertisement, as
-         returned by ListResources without a slice argument. </description>
-         </variable>
-
-      </variablelist>
-
-    </category>
-
-    <!-- ======================================== -->
-    <category id="sfa_db">
-      <name></name>
-      <description>The settings that tell this SFA instance where to find its database. You can essentially leave this as-is unless you plan on hosting your data on some other box.</description>
-
-      <variablelist>
-       <variable id="enabled" type="boolean">
-         <name>Enabled</name>
-         <value>true</value>
-         <description>Enable the database server on this machine.</description>
-       </variable>
-
-       <variable id="host" type="hostname">
-         <name>Database host</name>
-         <value>localhost</value>
-         <description>The host where the SFA database can be reached.</description>
-       </variable>
-
-       <variable id="port" type="int">
-         <name>Database port</name>
-         <value>5432</value>
-         <description>The port where the SFA database can be reached.</description>
-       </variable>
-
-       <variable id="user" type="string">
-         <name>Database user</name>
-         <value>sfa</value>
-         <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
-       </variable>
-
-       <variable id="password" type="string">
-         <name>Database password</name>
-         <value>sfa</value>
-         <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
-       </variable>
-
-       <variable id="name" type="string">
-         <name>Database name</name>
-         <value>sfa</value>
-         <description>SFA database name.</description>
-       </variable>
-
-
-      </variablelist>
-    </category>
-
-    <!-- ======================================== -->
-    <category id="sfa_flashpolicy">
-      <name>SFA Flash Policy</name>
-      <description>The settings that affect the flash policy server that will run
-      as part of this SFA instance.</description>
-
-      <variablelist>
-        <variable id="enabled" type="boolean">
-          <name>Enable Flash Policy Server</name>
-          <value>false</value>
-          <description>Allows this local SFA instance to run a
-          flash policy server.</description>
-        </variable>
-        <variable id="config_file" type="string">
-          <name>Flash policy config file</name>
-          <value>/etc/sfa/sfa_flashpolicy_config.xml</value>
-          <description>The path to where the flash policy config file can be reached.</description>
-        </variable>
-        <variable id="port" type="int">
-          <name>Flash policy port</name>
-          <value>843</value>
-          <description>The flash policy server port.</description>
-        </variable>
-      </variablelist>
-    </category>
-
-    <!-- ======================================== -->
-    <category id="sfa_plc">
-      <name></name>
-      <description>The settings that tell this SFA instance how to interact with the underlying PLC. Refer to plc-config-tty on this installation for more information.</description>
-
-      <variablelist>
-       <variable id="user" type="string">
-         <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
-         <value>root@localhost.localdomain</value>
-         <description></description>
-       </variable>
-
-       <variable id="password" type="string">
-         <name>Password</name>
-         <value>root</value>
-         <description>The PLC password for SFA_PLC_USER.</description>
-       </variable>
-
-       <variable id="url" type="string">
-         <name>URL</name>
-         <value>https://localhost:443/PLCAPI/</value>
-         <description>Full URL of PLC interface.</description>
-       </variable>
-
-      </variablelist>
-    </category>
-
-    <!-- ======================================== -->
-    <category id="sfa_federica">
-      <name></name>
-      <description>The settings that tell this SFA instance how to interact with the FEDERICA testbed.</description>
-
-      <variablelist>
-       <variable id="url" type="string">
-         <name>XMLRPC URL</name>
-         <value>https://root:password@federica.sfa.wrapper.com:8443/fedewrapper/xmlrpc/</value>
-         <description>URL for the federica xmlrpc API; login and password need to be set like in http://login:password@hostname:port/the/path </description>
-       </variable>
-      </variablelist>
-    </category>
-
-    <!-- ======================================== -->
-    <category id="sfa_nova">
-      <name>SFA Flash Policy</name>
-      <description>The settings that affect how SFA connects to 
-                   the Nova/EC2 API</description>
-      <variablelist>
-        <variable id="user" type="string">
-          <name>Sfa nova user</name>
-          <value>novaadmin</value>
-          <description>Account/context to use when performing 
-                       administrative nova operations</description>
-        </variable>
-        <variable id="api_url" type="string">
-          <name>Nova API url</name>
-          <value>127.0.0.1</value>
-          <description>The Nova/EC2 API url </description>
-        </variable>
-        <variable id="api_port" type="int">
-          <name>Nova API Port</name>
-          <value>8773</value>
-          <description>The Nova/EC2 API port.</description>
-        </variable>
-        <variable id="novarc" type="string">
-          <name>novarc</name>
-          <value>/root/novarc</value>
-          <description>Path to novarc client config file</description>
-        </variable>
-      </variablelist>
-    </category>
-
-  </variables>
-
-  <comps>
-    <!-- deprecated - not used anymore - use .lst files instead -->
-  </comps>
-
-</configuration>
diff --git a/testbeds/senslab/config/jenkins-config.txt b/testbeds/senslab/config/jenkins-config.txt
deleted file mode 100644 (file)
index 1d4f591..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-Source code management:
-Git
-
-git repository url :
-git://138.96.116.40/sfa.git
-git://git.f-lab.fr/sfa.git
-
-
-Branches to build:
-senslab2
-
-Add a step to build:
-Excecute a shell script
-_________________________________________________________________________________________
-make clean
-make
-sudo python setup.py install
-git_local_repo="/root/.jenkins/jobs/SFA/workspace"
-#jenkins clones the git repo here when started by root
-vm="senslab2"
-sudo cp $git_local_repo/sfa/senslab/config/$vm/sfa_config.xml /etc/sfa/sfa_config.xml
-sudo cp $git_local_repo/sfa/senslab/config/$vm/default_config.xml /etc/sfa/default_config.xml
-
-sudo cp $git_local_repo/sfa/senslab/config/ldap_config.py  /etc/sfa/ldap_config.py 
-sudo service sfa restart
-#nosetests --with-xcoverage --with-xunit --cover-package=senslab --cover-erase --verbose
-#FAIL nosetests --with-xcoverage --with-xunit  --all-modules --traverse-namespace --cover-package=senslab --cover-erase --cover-inclusive --verbose 
-nosetests --with-xcoverage --with-xunit --traverse-namespace  --cover-package=senslab --cover-erase --verbose 
-
-pylint -f parseable /root/.jenkins/jobs/SFA/workspace/sfa/senslab/ | tee pylint.out
-____________________________________________________________________________________________
-
-
-Add a step to build :
-Publish tests report results JUnit
-nosestests.xml
-
-Add a step to build :
-Publish cobertura covergae report
-**/coverage.xml
-Consider only stable builds
-
-Add a step to build : 
-Report violations
-pylint :
-XML filename pattern  : **/pylint.out
\ No newline at end of file
diff --git a/testbeds/senslab/config/registries.xml b/testbeds/senslab/config/registries.xml
deleted file mode 100644 (file)
index 9734c82..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<registries>
-       <registry addr="138.96.116.51" hrn="firexp" port="12345"/>
-</registries>
-
diff --git a/testbeds/senslab/config/sfa_config b/testbeds/senslab/config/sfa_config
deleted file mode 100644 (file)
index 2ded2d4..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-# DO NOT EDIT. This file was automatically generated at
-# Mon Jun 25 15:01:21 2012 from:
-# 
-# /etc/sfa/sfa_config.xml
-
-# XMLRPC URL
-# URL for the federica xmlrpc API; login and password need to be set
-# like in http://login:password@hostname:port/the/path
-SFA_FEDERICA_URL='https://root:password@federica.sfa.wrapper.com:8443/fedewrapper/xmlrpc/'
-
-# Cache advertisement rspec
-# Enable caching of the global advertisement, as returned by
-# ListResources without a slice argument.
-SFA_AGGREGATE_CACHING=1
-
-# Hostname
-# The hostname where the aggregate is expected to be found.
-SFA_AGGREGATE_HOST='localhost'
-
-# Enable Aggregate
-# Allows this local SFA instance to run as an aggregate manager.
-SFA_AGGREGATE_ENABLED=1
-
-# Port number
-# The port where the aggregate is to be found.
-SFA_AGGREGATE_PORT=12346
-
-# Database name
-# SFA database name.
-SFA_DB_NAME='sfa'
-
-# Enabled
-# Enable the database server on this machine.
-SFA_DB_ENABLED=1
-
-# Database host
-# The host where the SFA database can be reached.
-SFA_DB_HOST='localhost'
-
-# Database user
-# When SFA gets co-hosted with a myplc, this should match the PLC
-# config.
-SFA_DB_USER='sfa'
-
-# Database password
-# When SFA gets co-hosted with a myplc, this should match the PLC
-# config.
-SFA_DB_PASSWORD='sfa'
-
-# Database port
-# The port where the SFA database can be reached.
-SFA_DB_PORT=5432
-
-# Flash policy config file
-# The path to where the flash policy config file can be reached.
-SFA_FLASHPOLICY_CONFIG_FILE='/etc/sfa/sfa_flashpolicy_config.xml'
-
-# Enable Flash Policy Server
-# Allows this local SFA instance to run a flash policy server.
-SFA_FLASHPOLICY_ENABLED=0
-
-# Flash policy port
-# The flash policy server port.
-SFA_FLASHPOLICY_PORT=843
-
-# Nova API Port
-# The Nova/EC2 API port.
-SFA_NOVA_API_PORT=8773
-
-# Sfa nova user
-# Account/context to use when performing administrative nova operations
-SFA_NOVA_USER='novaadmin'
-
-# Nova API url
-# The Nova/EC2 API url
-SFA_NOVA_API_URL='127.0.0.1'
-
-# URL
-# Full URL of PLC interface.
-SFA_PLC_URL='https://localhost:443/PLCAPI/'
-
-# Password
-# The PLC password for SFA_PLC_USER.
-SFA_PLC_PASSWORD='root'
-
-# PLC login name for an admin user; SFA will carry on operations under this account.
-SFA_PLC_USER='root@localhost.localdomain'
-
-# Root Authority
-# The hrn of the registry's root auth.
-SFA_REGISTRY_ROOT_AUTH='senslab'
-
-# Hostname
-# The hostname where the registry is expected to be found; using
-# localhost when the local registry is enabled seems reasonable.
-SFA_REGISTRY_HOST='localhost'
-
-# Enable Registry
-# Allows this local SFA instance to run as a registry.
-SFA_REGISTRY_ENABLED=1
-
-# Port number
-# The port where the registry is to be found.
-SFA_REGISTRY_PORT=12345
-
-# Cache advertisement rspec
-# Enable caching of the global advertisement, as returned by
-# ListResources without a slice argument.
-SFA_SM_CACHING=0
-
-# Hostname
-# The hostname where the slice manager is expected to be found.
-SFA_SM_HOST='localhost'
-
-# Enable Slice Manager
-# Allows this local SFA instance to run as a slice manager.
-SFA_SM_ENABLED=1
-
-# Port number
-# The port where the slice manager is to be found.
-SFA_SM_PORT=12347
-
-# Human readable name
-# The human readable name for this interface.
-SFA_INTERFACE_HRN='senslab'
-
-# Generic Flavour
-# This string refers to a class located in sfa.generic that describes
-# which specific implementation needs to be used for api, manager and
-# driver objects. PlanetLab users do not need to change this setting.
-SFA_GENERIC_FLAVOUR='slab'
-
-# Credential Schema
-# The path to the default credential schema
-SFA_CREDENTIAL_SCHEMA='/etc/sfa/credential.xsd'
-
-# Debug
-# Logging level; 0=minimum, 1=info, 2=debug
-SFA_API_LOGLEVEL=0
-
-# User Session Keys Path 
-# Some services will peform operations on behalf of a user, but make it
-# look like the user is the one performing the operation. Doing this
-# requires a valid key pair and credential for the user. This option
-# defines the path where key pairs and credentials are generated and
-# stored. This functionality is used by the SFA web GUI.
-SFA_SESSION_KEY_PATH='/var/lib/sfa/session_keys'
-
-# Max Slice Renew
-# Maximum amout of days a user can extend/renew their slices to
-SFA_MAX_SLICE_RENEW=60
diff --git a/testbeds/senslab/config/sfa_config.xml b/testbeds/senslab/config/sfa_config.xml
deleted file mode 100644 (file)
index 3283e12..0000000
+++ /dev/null
@@ -1,253 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
-  <variables>
-    <category id="sfa">
-      <name>General</name>
-      <description>Basic system variables.</description>
-      <variablelist>
-        <variable id="generic_flavour" type="string">
-          <name>Generic Flavour</name>
-          <value>slab</value>
-          <description>This string refers to a class located in sfa.generic that describes 
-          which specific implementation needs to be used for api, manager and driver objects.
-          PlanetLab users do not need to change this setting.
-          </description>
-        </variable>
-        <variable id="interface_hrn" type="string">
-          <name>Human readable name</name>
-          <value>senslab</value>
-          <description>The human readable name for this interface.</description>
-        </variable>
-        <variable id="credential_schema" type="string">
-          <name>Credential Schema</name>
-          <value>/etc/sfa/credential.xsd</value>
-          <description>The path to the default credential schema</description>
-        </variable>
-        <variable id="api_loglevel" type="int">
-          <name>Debug</name>
-          <value>0</value>
-          <description>Logging level; 0=minimum, 1=info, 2=debug</description>
-        </variable>
-        <variable id="max_slice_renew" type="int">
-          <name>Max Slice Renew</name>
-          <value>60</value>
-          <description>Maximum amout of days a user can extend/renew their slices to</description>
-        </variable>
-        <variable id="session_key_path" type="string">
-          <name>User Session Keys Path </name>
-          <value>/var/lib/sfa/session_keys</value>
-          <description>Some services will peform operations on behalf of a user, but make
-            it look like the user is the one performing the operation. Doing this requires a 
-            valid key pair and credential for the user. This option defines the path where 
-            key pairs and credentials are generated and stored.
-            This functionality is used by the SFA web GUI. 
-            </description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_registry">
-      <name>Registry</name>
-      <description>The settings that affect the registry that will run
-      as part of this SFA instance.</description>
-      <variablelist>
-        <variable id="enabled" type="boolean">
-          <name>Enable Registry</name>
-          <value>true</value>
-          <description>Allows this local SFA instance to run as a
-         registry.</description>
-        </variable>
-        <variable id="host" type="hostname">
-          <name>Hostname</name>
-          <value>localhost</value>
-          <description>The hostname where the registry is expected to
-         be found; using localhost when the local registry is enabled
-         seems reasonable.</description>
-        </variable>
-        <variable id="port" type="int">
-          <name>Port number</name>
-          <value>12345</value>
-          <description>The port where the registry is to be found.</description>
-        </variable>
-        <variable id="root_auth" type="string">
-          <name>Root Authority</name>
-          <value>senslab</value>
-          <description>The hrn of the registry's root auth.</description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_sm">
-      <name>Slice Manager</name>
-      <description>The settings that affect the slice manager that will run
-      as part of this SFA instance.</description>
-      <variablelist>
-        <variable id="enabled" type="boolean">
-          <name>Enable Slice Manager</name>
-          <value>true</value>
-          <description>Allows this local SFA instance to run as a
-         slice manager.</description>
-        </variable>
-        <variable id="host" type="hostname">
-          <name>Hostname</name>
-          <value>localhost</value>
-          <description>The hostname where the slice manager is expected to
-         be found.</description>
-        </variable>
-        <variable id="port" type="int">
-          <name>Port number</name>
-          <value>12347</value>
-          <description>The port where the slice manager is to be found.</description>
-        </variable>
-        <variable id="caching" type="boolean">
-          <name>Cache advertisement rspec</name>
-          <value>false</value>
-          <description>Enable caching of the global advertisement, as
-         returned by ListResources without a slice argument. </description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_aggregate">
-      <name>Aggregate</name>
-      <description>The settings that affect the aggregate manager that will run
-      as part of this SFA instance.</description>
-      <variablelist>
-        <variable id="enabled" type="boolean">
-          <name>Enable Aggregate</name>
-          <value>true</value>
-          <description>Allows this local SFA instance to run as an
-         aggregate manager.</description>
-        </variable>
-        <variable id="host" type="hostname">
-          <name>Hostname</name>
-          <value>localhost</value>
-          <description>The hostname where the aggregate is expected to
-         be found.</description>
-        </variable>
-        <variable id="port" type="int">
-          <name>Port number</name>
-          <value>12346</value>
-          <description>The port where the aggregate is to be found.</description>
-        </variable>
-        <variable id="caching" type="boolean">
-          <name>Cache advertisement rspec</name>
-          <value>true</value>
-          <description>Enable caching of the global advertisement, as
-         returned by ListResources without a slice argument. </description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_db">
-      <name/>
-      <description>The settings that tell this SFA instance where to find its database. You can essentially leave this as-is unless you plan on hosting your data on some other box.</description>
-      <variablelist>
-        <variable id="enabled" type="boolean">
-          <name>Enabled</name>
-          <value>true</value>
-          <description>Enable the database server on this machine.</description>
-        </variable>
-        <variable id="host" type="hostname">
-          <name>Database host</name>
-          <value>localhost</value>
-          <description>The host where the SFA database can be reached.</description>
-        </variable>
-        <variable id="port" type="int">
-          <name>Database port</name>
-          <value>5432</value>
-          <description>The port where the SFA database can be reached.</description>
-        </variable>
-        <variable id="user" type="string">
-          <name>Database user</name>
-          <value>sfa</value>
-          <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
-        </variable>
-        <variable id="password" type="string">
-          <name>Database password</name>
-          <value>sfa</value>
-          <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
-        </variable>
-        <variable id="name" type="string">
-          <name>Database name</name>
-          <value>sfa</value>
-          <description>SFA database name.</description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_flashpolicy">
-      <name>SFA Flash Policy</name>
-      <description>The settings that affect the flash policy server that will run
-      as part of this SFA instance.</description>
-      <variablelist>
-        <variable id="enabled" type="boolean">
-          <name>Enable Flash Policy Server</name>
-          <value>false</value>
-          <description>Allows this local SFA instance to run a
-          flash policy server.</description>
-        </variable>
-        <variable id="config_file" type="string">
-          <name>Flash policy config file</name>
-          <value>/etc/sfa/sfa_flashpolicy_config.xml</value>
-          <description>The path to where the flash policy config file can be reached.</description>
-        </variable>
-        <variable id="port" type="int">
-          <name>Flash policy port</name>
-          <value>843</value>
-          <description>The flash policy server port.</description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_plc">
-      <name/>
-      <description>The settings that tell this SFA instance how to interact with the underlying PLC. Refer to plc-config-tty on this installation for more information.</description>
-      <variablelist>
-        <variable id="user" type="string">
-          <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
-          <value>root@localhost.localdomain</value>
-          <description/>
-        </variable>
-        <variable id="password" type="string">
-          <name>Password</name>
-          <value>root</value>
-          <description>The PLC password for SFA_PLC_USER.</description>
-        </variable>
-        <variable id="url" type="string">
-          <name>URL</name>
-          <value>https://localhost:443/PLCAPI/</value>
-          <description>Full URL of PLC interface.</description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_federica">
-      <name/>
-      <description>The settings that tell this SFA instance how to interact with the FEDERICA testbed.</description>
-      <variablelist>
-        <variable id="url" type="string">
-          <name>XMLRPC URL</name>
-          <value>https://root:password@federica.sfa.wrapper.com:8443/fedewrapper/xmlrpc/</value>
-          <description>URL for the federica xmlrpc API; login and password need to be set like in http://login:password@hostname:port/the/path </description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_nova">
-      <name>SFA Flash Policy</name>
-      <description>The settings that affect how SFA connects to 
-                   the Nova/EC2 API</description>
-      <variablelist>
-        <variable id="user" type="string">
-          <name>Sfa nova user</name>
-          <value>novaadmin</value>
-          <description>Account/context to use when performing 
-                       administrative nova operations</description>
-        </variable>
-        <variable id="api_url" type="string">
-          <name>Nova API url</name>
-          <value>127.0.0.1</value>
-          <description>The Nova/EC2 API url </description>
-        </variable>
-        <variable id="api_port" type="int">
-          <name>Nova API Port</name>
-          <value>8773</value>
-          <description>The Nova/EC2 API port.</description>
-        </variable>
-      </variablelist>
-    </category>
-  </variables>
-</configuration>
diff --git a/testbeds/senslab/config/site.xml b/testbeds/senslab/config/site.xml
deleted file mode 100644 (file)
index 7f40ea6..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
-  <variables>
-    <category id="sfa_aggregate">
-      <name>Aggregate</name>
-      <description>The settings that affect the aggregate manager that will run
-      as part of this SFA instance.</description>
-      <variablelist>
-        <variable id="port" type="int">
-          <name>Port number</name>
-          <value>12346</value>
-          <description>The port where the aggregate is to be found.</description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_db">
-      <name/>
-      <description>The settings that tell this SFA instance where to find its database. You can essentially leave this as-is unless you plan on hosting your data on some other box.</description>
-      <variablelist>
-        <variable id="user" type="string">
-          <name>Database user</name>
-          <value>sfa</value>
-          <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
-        </variable>
-        <variable id="password" type="string">
-          <name>Database password</name>
-          <value>sfa</value>
-          <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_registry">
-      <name>Registry</name>
-      <description>The settings that affect the registry that will run
-      as part of this SFA instance.</description>
-      <variablelist>
-        <variable id="root_auth" type="string">
-          <name>Root Authority</name>
-          <value>senslab</value>
-          <description>The hrn of the registry's root auth.</description>
-        </variable>
-        <variable id="port" type="int">
-          <name>Port number</name>
-          <value>12345</value>
-          <description>The port where the registry is to be found.</description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa_sm">
-      <name>Slice Manager</name>
-      <description>The settings that affect the slice manager that will run
-      as part of this SFA instance.</description>
-      <variablelist>
-        <variable id="port" type="int">
-          <name>Port number</name>
-          <value>12347</value>
-          <description>The port where the slice manager is to be found.</description>
-        </variable>
-      </variablelist>
-    </category>
-    <category id="sfa">
-      <name>General</name>
-      <description>Basic system variables.</description>
-      <variablelist>
-        <variable id="interface_hrn" type="string">
-          <name>Human readable name</name>
-          <value>senslab</value>
-          <description>The human readable name for this interface.</description>
-        </variable>
-        <variable id="generic_flavour" type="string">
-          <name>Generic Flavour</name>
-          <value>slab</value>
-          <description>This string refers to a class located in sfa.generic that describes 
-          which specific implementation needs to be used for api, manager and driver objects.
-          PlanetLab users do not need to change this setting.
-          </description>
-        </variable>
-        <variable id="api_loglevel" type="int">
-          <name>Debug</name>
-          <value>0</value>
-          <description>Logging level; 0=minimum, 1=info, 2=debug</description>
-        </variable>
-      </variablelist>
-    </category>
-  </variables>
-</configuration>
diff --git a/testbeds/senslab/config/site_config b/testbeds/senslab/config/site_config
deleted file mode 100644 (file)
index 2f29ae7..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-[sfa_federica]
-url = https://root:password@federica.sfa.wrapper.com:8443/fedewrapper/xmlrpc/
-
-[sfa_aggregate]
-caching = true
-host = localhost
-enabled = true
-port = 12346
-
-[sfa_db]
-name = sfa
-enabled = true
-host = localhost
-user = sfa
-password = sfa
-port = 5432
-
-[sfa_flashpolicy]
-config_file = /etc/sfa/sfa_flashpolicy_config.xml
-enabled = false
-port = 843
-
-[sfa_nova]
-api_url = 127.0.0.1
-api_port = 8773
-user = novaadmin
-novarc = /root/novarc
-
-[sfa_plc]
-url = https://localhost:443/PLCAPI/
-password = root
-user = root@localhost.localdomain
-
-[sfa_registry]
-host = localhost
-enabled = true
-port = 12345
-root_auth = senslab
-
-[sfa_sm]
-caching = false
-host = localhost
-enabled = true
-port = 12347
-
-[sfa]
-interface_hrn = senslab
-data_dir = /var/lib/sfa/
-generic_flavour = slab
-credential_schema = /etc/sfa/credential.xsd
-api_loglevel = 2
-session_key_path = /var/lib/sfa/session_keys
-max_slice_renew = 60
-