Beispiel #1
0
 def __init__(self, config=None, verbose=0):
     GenericService.__init__(self, config, verbose)
     self.name = 'dbs'
     self.url = config['services'][self.name]
     self.instances = ["prod/phys01", "prod/phys02", "prod/phys03"]
     self.all_dbs = ['prod/global']+self.instances
     self.tiers = set() # fill at run time
Beispiel #2
0
 def __init__(self, config=None, verbose=0):
     GenericService.__init__(self, config, verbose)
     self.name = 'dbs'
     self.url = config['services'][self.name]
     self.instances = ["prod/phys01", "prod/phys02", "prod/phys03"]
     self.all_dbs = ['prod/global'] + self.instances
     self.tiers = set()  # fill at run time
Beispiel #3
0
 def __init__(self, config=None, verbose=0):
     GenericService.__init__(self, config, verbose)
     self.name = 'dashboard'
     self.url = config['services'][self.name]
     self.ckey, self.cert = get_key_cert()
     self.sitedb = SiteDBService(config)
Beispiel #4
0
 def __init__(self, config=None, verbose=0):
     GenericService.__init__(self, config, verbose)
     self.name = 'popdb'
     self.url = config['services'][self.name]
     self.ckey, self.cert = get_key_cert()
Beispiel #5
0
 def __init__(self, config=None, verbose=0):
     GenericService.__init__(self, config, verbose)
     self.name = 'sitedb'
     self.url = config['services'][self.name]
Beispiel #6
0
 def __init__(self, config=None, verbose=0):
     if not config:
         config = {}
     GenericService.__init__(self, config, verbose)
     self.name = 'phedex'
     self.url = config['services'][self.name]
Beispiel #7
0
 def __init__(self, config=None, verbose=0):
     if  not config:
         config = {}
     GenericService.__init__(self, config, verbose)
     self.name = 'phedex'
     self.url = config['services'][self.name]
Beispiel #8
0
 def __init__(self, config=None, verbose=0):
     GenericService.__init__(self, config, verbose)
     self.name = 'dashboard'
     self.url = config['services'][self.name]
     self.ckey, self.cert = get_key_cert()
     self.sitedb = SiteDBService(config)