Previous topic

agis-get-site-status

Next topic

agis-set-site-status

agis-list-sites-status

class agis.cli.site_status_activity.ListSiteStatus

Retrieve site state values (in {ON, OFF, AUTO} notation) by activity: agis-list-sites-status tool.

Author :Alexey Anisenkov
Contact :anisyonk@cern.ch
Program:agis-list-sites-status
Version:$Id: site_status_activity.py 466 2011-08-11 09:27:39Z anisyonk $

Description:

Retrieve site states (ON|OFF|AUTO) for given activity of ATLAS sites. Returns only defined in DB states for each activity.

How to run:

$ agis-list-sites-status --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

-a <activity>, --activity <activity>

Filter by activity name

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

Get states of sites that match the given cloud

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

Get state of a given site

--ddmsite <ddmsite>

Filter by ddmsite name

--site-state <site_state>

Filter by site.state value, e.g. ObjectStateTypes.ACTIVE|DISABLE|ANY, by default shown only ACTIVE sites, possible values=[‘ACTIVE’, ‘DISABLED’]

--state <state>

Filter by state value associated with activity, possible values=[‘ON’, ‘OFF’, ‘AUTO’]

--autostate <autostate>

Filter by autostate value associated with activity, possible values=[‘ON’, ‘OFF’]

--status <status>

Filter by final site status value, possible values=[‘ON’, ‘OFF’]

--groupby <site>

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