ongoing
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 3 Jul 2009 15:29:46 +0000 (15:29 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 3 Jul 2009 15:29:46 +0000 (15:29 +0000)
component/component.py
config/sfa-config-tty
config/sfa_config
sfa/init.d/sfa

index fc8283e..828c3d3 100644 (file)
@@ -1,7 +1,7 @@
 ##
-# Geni Component Wrapper
+# Sfa Component Wrapper
 #
-# This wrapper implements the Geni Slice and Mgmt Interfaces on a node.
+# This wrapper implements the SFA Slice and Mgmt Interfaces on a node.
 #
 ##
 
index 2031acd..e50be26 100755 (executable)
@@ -266,7 +266,7 @@ def setup_server_key(config_dict):
         print "\t\t%(old_server_key)s\ncopied from\t%(new_server_key)s" % locals()
     # this is expected when running this tool for the first time (before sfa-import-plc.py)
     except:
-        print "Could not create %(old_server_key)s - ignore if you haven't run gimport yet"%locals()
+        print "Could not create %(old_server_key)s - ignore if you haven't run sfa-import-plc.py yet"%locals()
     
     
 
index 10d617b..c72e80e 100644 (file)
@@ -1,5 +1,5 @@
-# Directory where Geni intefaces are installed
-GENI_BASE_DIR="/usr/share/geniwrapper/" 
+# Directory where SFA interfaces are installed
+GENI_BASE_DIR="/usr/share/sfa/" 
 
 # HRN
 # Human readable name for the interfaces
index da583a8..bbfa396 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/bash
 #
-# geniwrapper   Wraps PLCAPI into the GENI compliant API
+# sfa   Wraps PLCAPI into the SFA compliant API
 #
 # chkconfig: 2345 5 99
 #
-# description:   Wraps PLCAPI into the GENI compliant API
+# description:   Wraps PLCAPI into the SFA compliant API
 #
 # $Id$
 # $URL$
@@ -18,7 +18,7 @@
 
 
 start() {
-        echo -n $"Starting GENIWrapper:  "
+        echo -n $"Starting SFA:  "
 
         if [ "$GENI_REGISTRY_ENABLED" ]; then
             echo "Registry"
@@ -37,17 +37,17 @@ start() {
 
         RETVAL=$?
         echo
-        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/geniwrapper
+        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sfa
 
 }
 
 stop() {
-    echo -n $"Shutting down GENIWrapper: "
+    echo -n $"Shutting down SFA: "
     killproc sfa-server.py
     RETVAL=$?
 
     echo
-    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/geniwrapper
+    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sfa
 }
 
 
@@ -64,13 +64,13 @@ case "$1" in
     start
     ;;
   condrestart)
-    if [ -f /var/lock/subsys/geniwrapper ]; then
+    if [ -f /var/lock/subsys/sfa ]; then
         stop
         start
     fi
     ;;
   status)
-    status geniwrapper
+    status sfa
     RETVAL=$?
     ;;
   *)