ironic.pxe_filter.dnsmasq module¶
- ironic.pxe_filter.dnsmasq.sync(allow_macs, deny_macs, allow_unknown)[source]¶
- Conduct a complete sync of the state. - Unlike - update, MACs not in either list are handled according to- allow_unknown.- Parameters:
- allow_macs – MACs to allow in dnsmasq. 
- deny_macs – MACs to disallow in dnsmasq. 
- allow_unknown – Whether to allow access to dnsmasq to unknown MACs. 
 
 
- ironic.pxe_filter.dnsmasq.update(allow_macs, deny_macs, allow_unknown=None)[source]¶
- Update only the given MACs. - MACs not in either lists are ignored. - Parameters:
- allow_macs – MACs to allow in dnsmasq. 
- deny_macs – MACs to disallow in dnsmasq. 
- allow_unknown – If set to True, unknown MACs are also allowed. Setting it to False does nothing in this call. 
 
 
