本文整理汇总了Python中Configuration.Configuration.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Configuration.__init__方法的具体用法?Python Configuration.__init__怎么用?Python Configuration.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Configuration.Configuration
的用法示例。
在下文中一共展示了Configuration.__init__方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from Configuration import Configuration [as 别名]
# 或者: from Configuration.Configuration import __init__ [as 别名]
def __init__(self,inifile,ini_section,ini_options):
self.ini_section = ini_section
self.inifile = inifile
self.ini_options = ini_options
Configuration.__init__(self,inifile)
self.validate_section(self.ini_section,self.ini_options)
self.use_gridmanager = False
self.userjob_classads_required = False
self.daemon_list = None
self.schedd_name_suffix = "jobs"
self.client_only_install = False # VOFrontend is only one which will reset
self.condor_version = None
self.condor_first_dir = None
#--- secondary schedd files --
## self.schedd_setup_file = "new_schedd_setup.sh"
## self.schedd_init_file = "init_schedd.sh"
## self.schedd_startup_file = "start_master_schedd.sh"
self.schedd_initd_function = "return # no secondary schedds"
#--- condor config data --
self.condor_config_data = { "00_gwms_general" : "",
"01_gwms_collectors" : "",
"02_gwms_schedds" : "",
"03_gwms_local" : "",
"11_gwms_secondary_collectors" : "",
}
#-- classes used ---
self.certs = None
self.get_certs()
示例2: __init__
# 需要导入模块: from Configuration import Configuration [as 别名]
# 或者: from Configuration.Configuration import __init__ [as 别名]
def __init__(self,inifile,ini_section,ini_options):
self.ini_section = ini_section
self.inifile = inifile
Configuration.__init__(self,self.inifile)
self.validate_section(self.ini_section,ini_options)
self.vdt = None
self.javascriptrrd_dir = None
self.flot_dir = None
self.jquery_dir = None
示例3: __init__
# 需要导入模块: from Configuration import Configuration [as 别名]
# 或者: from Configuration.Configuration import __init__ [as 别名]
def __init__(self,section,inifile):
self.section = section
Configuration.__init__(self,inifile)
self.validate_section(self.section,valid_options)
self.vdt_services = ["fetch-crl", "vdt-rotate-logs", "vdt-update-certs",]
self.messagesDict = { "pacman_url" : self.pacman_url(),
"pacman_urlfile" : self.pacman_urlfile(),
"pacman_location" : self.pacman_location(),
"pacman_parent" : self.pacman_parent(),
"pacman_tarball" : self.pacman_tarball(),
"vdt_location" : self.vdt_location(),
}