Difference between revisions of "GOCDB/PI/get downtime to broadcast method"
Jump to navigation
Jump to search
Line 48: | Line 48: | ||
<?xml version="1.0"?> | <?xml version="1.0"?> | ||
<results> | <results> | ||
<DOWNTIME ID="15853" PRIMARY_KEY="94375G0" CLASSIFICATION="UNSCHEDULED"> | |||
<PRIMARY_KEY>94375G0</PRIMARY_KEY> | |||
<SITENAME>GRIDOPS-GOCDB</SITENAME> | |||
<HOSTNAME>goc.egi.eu</HOSTNAME> | |||
<SERVICE_TYPE>egi.GOCDB</SERVICE_TYPE> | |||
<HOSTED_BY>GRIDOPS-GOCDB</HOSTED_BY> | |||
<GOCDB_PORTAL_URL> | |||
https://localhost/portal/index.php?Page_Type=Downtime amp; id=15853 | |||
</GOCDB_PORTAL_URL> | |||
<AFFECTED_ENDPOINTS> | |||
<ENDPOINT> | |||
<ID>6246</ID> | |||
<NAME>Portal endpoint</NAME> | |||
<URL>https://gocdb-test.esc.rl.ac.uk/portal</URL> | |||
<INTERFACENAME>egi.GOCDB</INTERFACENAME> | |||
</ENDPOINT> | |||
<ENDPOINT> | |||
<ID>6247</ID> | |||
<NAME>PI endpoint</NAME> | |||
<URL>https://gocdb-test.esc.rl.ac.uk/gocdbpi</URL> | |||
<INTERFACENAME>egi.GOCDB</INTERFACENAME> | |||
</ENDPOINT> | |||
</AFFECTED_ENDPOINTS> | |||
<SEVERITY>WARNING</SEVERITY> | |||
<DESCRIPTION>test</DESCRIPTION> | |||
<INSERT_DATE>1422358770</INSERT_DATE> | |||
<START_DATE>1422358680</START_DATE> | |||
<END_DATE>1422362280</END_DATE> | |||
<REMINDER_START_DOWNTIME>1422358770</REMINDER_START_DOWNTIME> | |||
<BROADCASTING_START_DOWNTIME/> | |||
</DOWNTIME> | |||
</results> | |||
</Source> | </Source> | ||
[[GOCDB/PI/Technical_Documentation|Back to GOCDB technical Documentation main page]] | [[GOCDB/PI/Technical_Documentation|Back to GOCDB technical Documentation main page]] |
Revision as of 13:40, 27 January 2015
Main | EGI.eu operations services | Support | Documentation | Tools | Activities | Performance | Technology | Catch-all Services | Resource Allocation | Security |
GOC DB menu: | Home • | Documentation Index • |
Method: get_downtime_to_broadcast
Description | Returns the list of downtimes recently declared with notification settings for CIC portal downtime notification service |
Protection Level | Protected (level 2) |
Entry point
https://goc.egi.eu/gocdbpi/private/?method=get_downtime_to_broadcast
parameters
parameter | effect | format/value(s) | default | example |
---|---|---|---|---|
interval | Limit results to downtimes that have been inserted in the past interval days | number | 1 | ?method=get_downtime_to_broadcast&interval=7 |
scope | Show only downtimes that affect service endpoints with the requested scope-tags (Local and EGI are currently the only available scopes) | A comma separated list of scope-tag values or an empty value to return all scopes, i.e. '&scope=' | EGI | ?method=get_downtime_to_broadcast&scope=Local |
scope_match | Match 'all' or 'any' of the specified scope-tags | 'all' or 'any' | all | ?method=get_downtime_to_broadcast&scope=Local,EGI&scope_match=any |
Output Example
<?xml version="1.0"?>
<results>
<DOWNTIME ID="15853" PRIMARY_KEY="94375G0" CLASSIFICATION="UNSCHEDULED">
<PRIMARY_KEY>94375G0</PRIMARY_KEY>
<SITENAME>GRIDOPS-GOCDB</SITENAME>
<HOSTNAME>goc.egi.eu</HOSTNAME>
<SERVICE_TYPE>egi.GOCDB</SERVICE_TYPE>
<HOSTED_BY>GRIDOPS-GOCDB</HOSTED_BY>
<GOCDB_PORTAL_URL>
https://localhost/portal/index.php?Page_Type=Downtime amp; id=15853
</GOCDB_PORTAL_URL>
<AFFECTED_ENDPOINTS>
<ENDPOINT>
<ID>6246</ID>
<NAME>Portal endpoint</NAME>
<URL>https://gocdb-test.esc.rl.ac.uk/portal</URL>
<INTERFACENAME>egi.GOCDB</INTERFACENAME>
</ENDPOINT>
<ENDPOINT>
<ID>6247</ID>
<NAME>PI endpoint</NAME>
<URL>https://gocdb-test.esc.rl.ac.uk/gocdbpi</URL>
<INTERFACENAME>egi.GOCDB</INTERFACENAME>
</ENDPOINT>
</AFFECTED_ENDPOINTS>
<SEVERITY>WARNING</SEVERITY>
<DESCRIPTION>test</DESCRIPTION>
<INSERT_DATE>1422358770</INSERT_DATE>
<START_DATE>1422358680</START_DATE>
<END_DATE>1422362280</END_DATE>
<REMINDER_START_DOWNTIME>1422358770</REMINDER_START_DOWNTIME>
<BROADCASTING_START_DOWNTIME/>
</DOWNTIME>
</results>