deprecated
Faiyaz Ahmed [Thu, 14 Aug 2008 19:51:07 +0000 (19:51 +0000)]
PlanetLabConf/RootResources/pl_conf.py [deleted file]
PlanetLabConf/RootResources/pl_netflow.py [deleted file]
PlanetLabConf/RootResources/plc_slice_pool.php [deleted file]

diff --git a/PlanetLabConf/RootResources/pl_conf.py b/PlanetLabConf/RootResources/pl_conf.py
deleted file mode 100755 (executable)
index 0a156df..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# RootResources/pl_conf
-
-PL_CONF_VINIT = """#!/bin/sh
-
-# crond needs syslogd running
-/sbin/chkconfig syslog on
-
-# use crond to check for updates
-/sbin/chkconfig crond on
-
-cat <<EOF >/etc/cron.daily/yum-upgrade
-#!/bin/sh
-
-rm -f /var/lib/rpm/__db*
-yum -y upgrade
-EOF
-chmod a+x /etc/cron.daily/yum-upgrade
-
-PACKAGE=sidewinder-PlanetLab-SCS
-rm -f /var/lib/rpm/__db*
-yum -y install $PACKAGE
-"""
-
-try:
-    pl_conf = RootSlice(nm_vserver_flags = "static",
-                        nm_cpu_share = 32,
-                        nm_initscript = PL_CONF_VINIT)
-except:
-    pass
diff --git a/PlanetLabConf/RootResources/pl_netflow.py b/PlanetLabConf/RootResources/pl_netflow.py
deleted file mode 100755 (executable)
index 5d5a4dd..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-# RootResources/pl_netflow
-
-try:
-    pl_netflow = RootSlice(nm_vserver_flags = "syncstart",
-                           nm_cpu_share = 32)
-except:
-    pass
diff --git a/PlanetLabConf/RootResources/plc_slice_pool.php b/PlanetLabConf/RootResources/plc_slice_pool.php
deleted file mode 100755 (executable)
index a61a656..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-include('plc_config.php');
-?>
-# RootResources/plc_slice_pool
-
-SA_HOST = "<?php print(PLC_BOOT_HOST); ?>"
-SA_URL = SA_HOST + "/xml/"
-CACERT_PATH = "/mnt/cdrom/bootme/cacert/%s/cacert.pem" % SA_HOST
-
-plc_slice_pool = RootPool(slice = "pl_conf",
-                         plc_sa_prefix = "pl",
-                         plc_sa_server = SA_URL,
-                         plc_sa_cacert = CACERT_PATH,
-                         nm_pool_child_type = "VServerSlice",
-                         nm_cpu_share = RES_INF,
-                         nm_net_avg_rate = RES_INF,
-                         nm_net_min_rate = RES_INF,
-                         nm_net_max_rate = RES_INF,
-                         nm_net_exempt_avg_rate = RES_INF,
-                         nm_net_exempt_min_rate = RES_INF,
-                         nm_net_exempt_max_rate = RES_INF,
-                         nm_disk_quota = RES_INF)