예제 #1
0
 class Config(BaseConfig):
     # A list of VLAN IDs that should be ignored.
     # You can use this if you have VLAN IDs which are reserved for internal
     # use, which should never be touched by func.
     # Use strings here, not integers!
     ignorevlans = ListOption()
     vconfig = Option("/sbin/vconfig")
     ip = Option("/sbin/ip")
     ifup = Option("/sbin/ifup")
     ifdown = Option("/sbin/ifdown")
예제 #2
0
class FuncdConfig(BaseConfig):
    log_level = Option('INFO')
    acl_dir = Option('/etc/func/minion-acl.d')
    certmaster_overrides_acls = BoolOption(True)

    listen_addr = Option('')
    listen_port = IntOption('51234')
    minion_name = Option('')

    method_log_dir = Option("/var/log/func/methods/")
    use_certmaster = BoolOption(True)
    ca_file = Option('')
    cert_file = Option('')
    key_file = Option('')
    crl_location = Option('')
    module_list = ListOption([])
예제 #3
0
파일: call.py 프로젝트: wujcheng/func
class CallConfig(BaseConfig):
    force_async = ListOption('')
예제 #4
0
 class Config(BaseConfig):
     ignorebridges = ListOption()
     brctl = Option("/usr/sbin/brctl")
     ip = Option("/sbin/ip")
     ifup = Option("/sbin/ifup")
     ifdown = Option("/sbin/ifdown")