Previous topic

agis-list-sites-status

Next topic

agis-list-swreleases

agis-set-site-status

class agis.cli.site_status_activity.SetSiteStatus

Update site state related information for given activity: agis-set-site-status tool.

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

Description:

Set or update site status for given activity of ATLAS sites. Returns True if object has been updated, False if it doesn’t need to be updated.

How to run:

$ agis-set-site-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>

Activity name for which site status should be set

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

ATLAS Site name for which status value should be set

--state <state>

Site state value to be set, possible values=[‘ON’, ‘OFF’, ‘AUTO’]

--autostate <autostate>

Site autostate value to be set, possible values=[‘ON’, ‘OFF’]

--state-comment <reason>

Comment message (reason) for state value

--autostate-comment <reason>

Comment message (reason) for autostate value