def __init__(self, gui, rank, category, name, *args): """Create a new workspace, and store a reference to the server ('gui') object. Also create the list of views for the workspace.""" CompWorkspace.__init__(self, gui, rank, category, 'lhc', name, [LHCWorkspace.CooldownView()]) gui._addJSFragment("%s/javascript/Overview/Example.js" % gui.contentpath)
def __init__(self, gui, rank, category, name, *args): CompWorkspace.__init__(self, gui, rank, category, 'caf', name, [ self.StorageSummary(), self.BatchSummary(), self.JobSummary(), self.DiskMonitor() ]) gui._addJSFragment("%s/javascript/Overview/CAF.js" % gui.contentpath)
def __init__(self, gui, rank, category, name, *args): CompWorkspace.__init__(self, gui, rank, category, 'phedex', name, [ self.LinkRate(), self.LinkBytes(), self.RateQuality(), self.BlockLatency(), self.RegionCrossRate() ]) gui._addJSFragment("%s/javascript/Overview/PhEDEx.js" % gui.contentpath)
def __init__(self, gui, rank, category, name, *args): CompWorkspace.__init__( self, gui, rank, category, "caf", name, [self.StorageSummary(), self.BatchSummary(), self.JobSummary(), self.DiskMonitor()], ) gui._addJSFragment("%s/javascript/Overview/CAF.js" % gui.contentpath)
def __init__(self,gui,rank,category,name,*args): _loginfo("FILELIGHT_W: Workspace created") CompWorkspace.__init__(self, gui, rank, category, 'filelight', name, [self.FileLightSiteView(self),self.FileLightGroupView(self)]) gui._addJSFragment("%s/javascript/Overview/FileLight.js" % gui.contentpath) self.source = None for s in gui.sources: if s.plothook=='filelight': self.source = s if self.source==None: _logerr("FILELIGHT_W: Couldn't find FileLightSource") raise Exception, "FILELIGHT_W Couldn't find source"
def __init__(self, gui, rank, category, name, *args): CompWorkspace.__init__(self, gui, rank, category, 'ddt', name, [ self.Summary(), self.Site("T0_CH_CERN"), self.Site("T1_CH_CERN"), self.Site("T1_DE_FZK"), self.Site("T1_ES_PIC"), self.Site("T1_FR_CCIN2P3"), self.Site("T1_IT_CNAF"), self.Site("T1_TW_ASGC"), self.Site("T1_UK_RAL"), self.Site("T1_US_FNAL"), self.Site("T2_CH_CAF") ]) gui._addJSFragment('%s/javascript/Overview/DDT.js' % gui.contentpath)
def __init__(self,gui,rank,category,name,*args): """ Create a new ProdMonWorkspace instance. Note that we need to find ProdMonSource in the server source list, or we'll exit ingloriously. TODO: good mechanism for finding sources TODO: SiteDB source integration TODO: ProdRequest integration """ _loginfo("PRODMON_W: Workspace created") CompWorkspace.__init__(self, gui, rank, category, 'prodmon', name, [ProdMonWorkspace.ProdMonSummary(self),ProdMonWorkspace.ProdMonPlot(self)]) gui._addJSFragment("%s/javascript/Overview/ProdMon.js" % gui.contentpath) gui._addCSSFragment("%s/css/Overview/ProdMon.css" % gui.contentpath) self.source = None for s in gui.sources: if s.plothook=='prodmon': self.source = s if self.source==None: _logerr("PRODMON_W: Couldn't find ProdMonSource") raise Exception, "PW: Failed to find prodmon source. Fatal."
def __init__(self, gui, rank, category, name, *args): CompWorkspace.__init__( self, gui, rank, category, "ddt", name, [ self.Summary(), self.Site("T0_CH_CERN"), self.Site("T1_CH_CERN"), self.Site("T1_DE_FZK"), self.Site("T1_ES_PIC"), self.Site("T1_FR_CCIN2P3"), self.Site("T1_IT_CNAF"), self.Site("T1_TW_ASGC"), self.Site("T1_UK_RAL"), self.Site("T1_US_FNAL"), self.Site("T2_CH_CAF"), ], ) gui._addJSFragment("%s/javascript/Overview/DDT.js" % gui.contentpath)
def __init__(self, gui, rank, category, name, *args): CompWorkspace.__init__(self, gui, rank, category, 'core', name, [self.Summary()]) gui._addJSFragment('%s/javascript/Overview/Core.js' % gui.contentpath)
def __init__(self, gui, rank, category, name, *args): CompWorkspace.__init__(self, gui, rank, category, 'tpg', name, [TPGWorkspace.TPGView()]) gui._addJSFragment("%s/javascript/Overview/Example.js" % gui.contentpath)
def __init__(self, gui, rank, category, name, *args): CompWorkspace.__init__(self, gui, rank, category, 'phedex', name, [self.LinkRate(), self.LinkBytes(), self.RateQuality(), self.BlockLatency(), self.RegionCrossRate()]) gui._addJSFragment("%s/javascript/Overview/PhEDEx.js" % gui.contentpath)