Previous topic


Next topic



class agis.cli.list_sites.ListSites

List ATLAS sites and its properties stored in AGIS: agis-list-sites tool.

Author :Alexey Anisenkov
Version:$Id: 786 2012-10-15 08:30:12Z anisyonk $


Lists ATLAS sites stored in the AGIS system. Input filter parameters allow to resolve ATLAS site name py pandasite, ddmendpoint, ddmsite names.

How to run:

$ agis-list-sites --help



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 RegionalCenter site name

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

Filter by ddmsite name

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

Filter by given ddmendpoint name

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

Filter by ATLAS tier level value

--rc-tier-level <1>

Filter by RC tier level value

--panda-site <name>

Filter filter by PandaSite name

--panda-resource <name>

filter by PandaResource name (PandaSiteID)

--panda-queue <name>

filter by associated PandaQueue name

--country <name>

filter by Country name associated with site

--rc-country <name>

filter by RC Country name

--is-pledged <True>

Show only pledged sites

--is-direct <True>

Show only direct sites

--state <state>

Filter by state value, possible values=[‘ACTIVE’, ‘DISABLED’]

--output <name,site,cloud>
Comma separated list of output key columns to be printed, possible values=[‘id’, ‘name’, ‘rc_site’, ‘cloud’, ‘rc’, ‘is_direct’, ‘tier_level’, ‘rc_tier_level’, ‘grid_flavour’, ‘state’, ‘is_pledged’, ‘state_comment’, ‘state_update’, ‘emailContact’, ‘infoURL’, ‘country’, ‘rc_country’],