GGUSTicketsClient

GGUSTicketsClient class is a client for the GGUS Tickets DB.

class DIRAC.Core.LCG.GGUSTicketsClient.GGUSTicketsClient

Bases: object

__init__()
getTicketsList(siteName=None, startDate=None, endDate=None)

Return tickets of entity in name

Parameters:
  • name – should be the name of the site

  • startDate – starting date (optional)

  • endDate – end date (optional)

globalStatistics(ticketList)

Get some statistics about the tickets for the site: total number of tickets and number of ticket in different status

DIRAC.Core.LCG.GGUSTicketsClient.getGGUSURL(vo=None, siteName=None)

create the URL to get tickets relative to the site ( opened only ! ):