Previous topic

agis-list-rc

Next topic

agis-set-ddmendpoint-info

agis-list-ddmendpoints

class agis.cli.site_ddmendpoints.ListSiteDDMEndpoints

List DDMEndpoints objects related to ATLAS sites stored in AGIS: agis-list-ddmendpoints tool.

Author :Alexey Anisenkov
Contact :anisyonk@cern.ch
Program:agis-list-ddmendpoints
Version:$Id: site_ddmendpoints.py 681 2012-08-02 10:31:56Z anisyonk $

Description:

List DDMEndpoints of ATLAS sites stored in the AGIS system. Object fields to be output can be spicified with agis-list-ddmendpoints --output option.

How to run:

$ agis-list-ddmendpoints --help

Options:

--version

show program’s version number and exit

-h, --help

show this help message and exit

--server <host:port>

AGIS service endpoint to use, hostname:port

-c <cloud>, --cloud <cloud>

Filter by cloud name or alias

-s <site>, --site <site>

Filter by ATLAS site name

--rc-site <rc_site>

Filter by RC site name

-S <ddmsite>, --ddmsite <ddmsite>

Filter by ddmsite name

-g <ddmgroup>, --ddmgroup <ddmgroup>

Filter by given ddmgroup name

-d <ddmendpoint>, --ddmendpoint <ddmendpoint>

Filter by given ddmendpoint name

-t <1>, --tier-level <1>

Filter by tier level value

--rc-tier-level <1>

Filter by RC tier level value

--rc <rc>

Filter by regional center value

--state <ACTIVE>

Filter by state value (by default, shown ACTIVE only objects), use state=ANY to show all, possible values=[‘ACTIVE’, ‘DISABLED’]

--output <key1,key2,key3>
Comma separated list of output key columns to be printed, possible values=[‘id’, ‘name’, ‘rc_site’, ‘site’, ‘cloud’, ‘rc’, ‘tier_level’, ‘rc_tier_level’, ‘is_tape’, ‘status’, ‘state’, ‘is_pledged’, ‘state_comment’, ‘state_update’, ‘domain’, ‘toolAssigner’, ‘country’, ‘rc_country’, ‘srm’, ‘servedlfc’],

default=’name,rc_site,site,cloud,rc,tier_level,state,status,is_tape,domain,toolAssigner,srm’

--groupby <site>

the parameter specified for what data key apply grouping, possible values: site, ddmsite: by default groupby=site (ATLAS site name)

--srm <endpoint>

retrieve only ddmendpoints related to StorageElement indentified by srm endpoint

--servedlfc <endpoint>

retrieve only ddmendpoints served by given LFC endpoint (associated through DDMEndpoint.servedlfc or Cloud.servedlfc relations)