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")
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([])
class CallConfig(BaseConfig): force_async = ListOption('')
class Config(BaseConfig): ignorebridges = ListOption() brctl = Option("/usr/sbin/brctl") ip = Option("/sbin/ip") ifup = Option("/sbin/ifup") ifdown = Option("/sbin/ifdown")