This info provider is not used anymore, remove old files only.
authorZdeněk Salvet <salvet@ics.muni.cz>
Tue, 17 Feb 2009 11:03:27 +0000 (11:03 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Tue, 17 Feb 2009 11:03:27 +0000 (11:03 +0000)
org.glite.yaim.lb/config/functions/config_gip_lb

index 9b3c1ab..dde5c00 100644 (file)
@@ -1,44 +1,14 @@
 function config_gip_lb_check () {
 
-       requires $1 SITE_NAME
-       retcode=$?
-       return ${retcode}
+       yaimlog DEBUG "This function currently doesn't set any environment variables."
 
 }
 
 function config_gip_lb () {
 
-       SERVICE_HOST=`hostname -f`
-
        SERVICE_TYPE=org.glite.lb.Server
-       SERVICE_PORT=9003
-       SERVICE_VERSION=1.9.1
-       SERVICE_ENDPOINT="https://${SERVICE_HOST}:${SERVICE_PORT}/lb"
  
-       conffile=$INSTALL_ROOT/glite/var/tmp/gip/service-${SERVICE_TYPE}.conf
-       cat <<  EOF > $conffile
-dn: GlueServiceUniqueID=${SERVICE_ENDPOINT}
-GlueServiceName: ${SITE_NAME}-${SERVICE_TYPE}
-GlueServiceType: ${SERVICE_TYPE}
-GlueServiceVersion: ${SERVICE_VERSION}
-GlueServiceEndpoint: ${SERVICE_ENDPOINT}
-GlueServiceURI: unset
-GlueServiceAccessPointURL: ${SERVICE_ENDPOINT}
-GlueServiceStatus: OK
-GlueServiceStatusInfo: No Problems
-GlueServiceWSDL: unset
-GlueServiceSemantics: unset
-GlueServiceStartTime: 1970-01-01T00:00:00Z
-GlueForeignKey: GlueSiteUniqueID=${SITE_NAME}
-EOF
-
-       for VO in $VOS; do
-         echo "GlueServiceAccessControlRule: $VO" >> $conffile
-         echo "GlueServiceOwner: $VO" >> $conffile
-       done
-    
-       $INSTALL_ROOT/glite/sbin/glite-info-static-create -c $conffile -t \
-       $INSTALL_ROOT/glite/etc/GlueService.template > \
-       $INSTALL_ROOT/glite/etc/gip/ldif/service-${SERVICE_TYPE}.ldif
+       rm -f $INSTALL_ROOT/glite/var/tmp/gip/service-${SERVICE_TYPE}.conf
+       rm -f $INSTALL_ROOT/glite/etc/gip/ldif/service-${SERVICE_TYPE}.ldif
 
 }