Exemplo n.º 1
0
 def __init__(self,params,workdir_name):
     cgWDictFile.glideinMainDicts.__init__(self,params.submit_dir,params.stage_dir,workdir_name,
                                           params.log_dir,
                                           params.client_log_dirs,params.client_proxies_dirs)
     self.monitor_dir=params.monitor_dir
     self.add_dir_obj(cWDictFile.monitorWLinkDirSupport(self.monitor_dir,self.work_dir))
     self.monitor_jslibs_dir=os.path.join(self.monitor_dir,'jslibs')
     self.add_dir_obj(cWDictFile.simpleDirSupport(self.monitor_jslibs_dir,"monitor"))
     self.monitor_images_dir=os.path.join(self.monitor_dir,'images')
     self.add_dir_obj(cWDictFile.simpleDirSupport(self.monitor_images_dir,"monitor"))
     self.params=params
     self.active_sub_list=[]
     self.monitor_jslibs=[]
     self.monitor_images=[]
     self.monitor_htmls=[]
Exemplo n.º 2
0
 def __init__(self,params,workdir_name):
     cvWDictFile.frontendMainDicts.__init__(self,params.work_dir,params.stage_dir,workdir_name,simple_work_dir=False,assume_groups=True,log_dir=params.log_dir)
     self.monitor_dir=params.monitor_dir
     self.add_dir_obj(cWDictFile.monitorWLinkDirSupport(self.monitor_dir,self.work_dir))
     self.monitor_jslibs_dir=os.path.join(self.monitor_dir,'jslibs')
     self.add_dir_obj(cWDictFile.simpleDirSupport(self.monitor_jslibs_dir,"monitor"))
     self.params=params
     self.active_sub_list=[]
     self.monitor_jslibs=[]
     self.monitor_htmls=[]
     self.client_security={}
Exemplo n.º 3
0
 def __init__(self, conf, workdir_name):
     submit_dir = conf.get_submit_dir()
     stage_dir = conf.get_stage_dir()
     monitor_dir = conf.get_monitor_dir()
     log_dir = conf.get_log_dir()
     client_log_dirs = conf.get_client_log_dirs()
     client_proxy_dirs = conf.get_client_proxy_dirs()
     cgWDictFile.glideinMainDicts.__init__(
         self, submit_dir, stage_dir, workdir_name, log_dir, client_log_dirs, client_proxy_dirs
     )
     self.monitor_dir = monitor_dir
     self.add_dir_obj(cWDictFile.monitorWLinkDirSupport(self.monitor_dir, self.work_dir))
     self.monitor_jslibs_dir = os.path.join(self.monitor_dir, "jslibs")
     self.add_dir_obj(cWDictFile.simpleDirSupport(self.monitor_jslibs_dir, "monitor"))
     self.monitor_images_dir = os.path.join(self.monitor_dir, "images")
     self.add_dir_obj(cWDictFile.simpleDirSupport(self.monitor_images_dir, "monitor"))
     self.conf = conf
     self.active_sub_list = []
     self.disabled_sub_list = []
     self.monitor_jslibs = []
     self.monitor_images = []
     self.monitor_htmls = []