Previous topic

agis-list-panda-sites

Next topic

agis-list-panda-queues

agis-list-panda-resources

class agis.cli.panda_resource.ListPandaResources

List Panda Resources and its properties stored in AGIS: agis-list-panda-resources tool.

Author :Alexey Anisenkov
Contact :anisyonk@cern.ch
Program:agis-list-panda-resources
Version:$Id: panda_resource.py 553 2011-12-12 09:49:34Z anisyonk $

Description:

Retrieve info about Panda Resource objects stored in the AGIS system. Input filter parameters allow to resolve Panda Resource by Panda Site, Panda queue, ATLAS, RC, DDMSite, DDMEndpoint, names.

How to run:

$ agis-list-panda-resources --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 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>

filter by associated PandaQueue name

--prtype <name>

filter by PandaQueue type: possible values=[‘production’, ‘special’, ‘analysis’, ‘obsolete’]

--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’, ‘panda_site’, ‘rc_site’, ‘site’, ‘cloud’, ‘rc’, ‘tier_level’, ‘grid_flavour’, ‘state’, ‘is_pledged’, ‘state_comment’, ‘state_update’, ‘emailContact’, ‘infoURL’, ‘country’, ‘rc_country’, ‘ddmsite’],

default=’name,panda_site,rc_site,site,cloud,rc,tier_level,state’