-
Notifications
You must be signed in to change notification settings - Fork 107
PhEDEx to Rucio Transition
In WMAgent we are using PhEDEx REST apis. Most of the API is wrapped in PhEDEx python wrapper
-
Translate lfn to pfn: lfn2pfn: https://cmsweb.cern.ch/phedex/datasvc/json/prod/lfn2pfn Parameters in use: (node, lfn, protocol='srmv2', custodial='n')
API in detail (used in WMStats)
-
Get block locations: blockreplicas: https://cmsweb.cern.ch/phedex/datasvc/json/prod/blockreplicas Parameters in use for location info for block: (block, complete='y') Parameters in use for location info for dataset: (dataset, complete='y')
-
Get subscriptions for block and dataset: subscriptions: https://cmsweb.cern.ch/phedex/datasvc/json/prod/subscriptions Parameters in use: (dataset, node) Parameters in use: (dataset, group) - Unified Parameters in use for location, deletion: (block)
-
Get node mapping (find node type - butter, disk, etc): nodes: https://cmsweb.cern.ch/phedex/datasvc/json/prod/nodes Parameters in use: None
-
Find files already injected by block: data: https://cmsweb.cern.ch/phedex/datasvc/json/prod/data Parameters in use: (block)
-
Checks existing subscription requests: requestlist: https://cmsweb.cern.ch/phedex/datasvc/json/prod/requestlist Parameters in use: (dataset, node, decision = 'pending')
-
Checks existing subscription requests and compare them in detail: transferrequests: https://cmsweb.cern.ch/phedex/datasvc/json/prod/transferrequests Parameters in use: request
-
Inject blocks in TMDB (and close blocks): inject: https://cmsweb.cern.ch/phedex/datasvc/json/prod/inject Parameters in use: (node, data, strict)
-
Make and approve a transfer request: subscribe https://cmsweb.cern.ch/phedex/datasvc/json/prod/subscribe Parameters in use: (node, data, level, priority, move, static, custodial, group, request_only)
-
delete data: delete: https://cmsweb.cern.ch/phedex/datasvc/json/prod/delete Parameters in use: (node, data, level, rm_subscriptions, comments)
API in detail (used in Tier0)
-
Use for auto approving delete request: updaterequest: https://cmsweb.cern.ch/phedex/datasvc/json/prod/updaterequest (used in Tier0) Parameters in use: (node, request, decision)