Content-type: text/html
Man page of LCG_AA
LCG_AA
Section: Library Functions (3)
Updated: $Date: 2008/05/07 12:40:27 $
Index
Return to Main Contents
NAME
lcg_aa - add an alias in the RMC or the LFC for a given GUID
SYNOPSIS
import lcg_util
(int returncode,
string errmsg
) lcg_aax (string lfn,
string guid,
string vo,
string conf_file,
int insecure)
(int returncode,
string errmsg
) lcg_aax (string lfn,
string guid,
string vo,
string conf_file,
int insecure)
(int returncode,
string errmsg
) lcg_aa2 (string lfn,
string guid,
int nobdii,
string vo)
DESCRIPTION
lcg_aa
adds an alias in the RMC or the LFC for a given GUID.
- lfn
-
specifies the new alias.
- guid
-
specifies the Grid Unique IDentifier.
- nobdii
-
If set to a non-zero value, it means that you don't want to make BDII calls to get LFC endpoint.
So, you have to define the environment variable 'LFC_HOST'.
- vo
-
specifies the Virtual Organization the user belongs to. If it is not specified,
the environment variable LCG_GFAL_VO will be used.
- conf_file
-
This argument is currently ignored.
- insecure
-
This argument is currently ignored.
The access to the Replica Catalog or the LFC is done according to the endpoints published
in MDS.
NOTE
The environment variable LCG_GFAL_INFOSYS must point to the BDII, unless
nobdii
is set to a non-zero value.
To use the RLS as catalog instead of the LFC, the environment variable
LCG_CATALOG_TYPE must explicitely be set to "edg". By default, it is set to "lfc".
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation
failed. In the latter case,
errno
is set appropriately.
ERRORS
- EEXIST
-
The alias exists already.
- EFAULT
-
lfn ,
guid
or
vo
is an invalid pointer.
- ECOMM
-
Communication error.
- ENAMETOOLONG
-
vo
is too long.
SEE ALSO
lcg_aa_python(3),
lcg_cp_python(3),
lcg_cr_python(3),
lcg_del_python(3),
lcg_gt_python(3),
lcg_la_python(3),
lcg_lg_python(3),
lcg_lr_python(3),
lcg_ra_python(3),
lcg_rep_python(3),
lcg_rf_python(3),
lcg_sd_python(3),
lcg_stmd_python(3),
lcg_uf_python(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- NOTE
-
- RETURN VALUE
-
- ERRORS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 14:16:52 GMT, July 14, 2009