usage: edg-replica-manager listGUID LFNorSURL Get the GUID based on an LFN or SURL. Arguments: LFNorSURL The LFN or SURL to get the GUID of.
Get the GUID that corresponds to a given SURL or LFN.
Semantics
Depending whether you specify an LFN or SURL as the input filename the edg-replica-manager will either access the Replica Metadata Catalog (in case of an LFN) to resolve the LFN into a GUID or the Replica Location Service (in case of an SURL) to find out the GUID with which the SURL is registered. The command always returns a GUID.
Arguments
Options
None.
Return value
The call returns 0 on success (-1 on failure) and prints the GUID to stdout.
Errors
The call can fail for many reasons. Some of the reasons are: