Lines Matching refs:conf
40 def __init__(self, conf, network, process_monitor, version=None,
42 super(Dnsmasq, self).__init__(conf, network, process_monitor,
44 self.device_manager = DeviceManager(self.conf, plugin)
94 if self.conf.dhcp_lease_duration == -1:
97 lease = '%ss' % self.conf.dhcp_lease_duration
121 min(possible_leases, self.conf.dnsmasq_lease_max))
123 cmd.append('--conf-file=%s' % self.conf.dnsmasq_config_file)
124 if self.conf.dnsmasq_dns_servers:
127 for server in self.conf.dnsmasq_dns_servers)
129 if self.conf.dhcp_domain:
130 cmd.append('--domain=%s' % self.conf.dhcp_domain)
132 if self.conf.dhcp_broadcast_reply:
149 def should_enable_metadata(cls, conf, network):
157 def __init__(self, conf, plugin):
158 super(DeviceManager, self).__init__(conf, plugin)