- class ironic_inspector.pxe_filter.iptables.IptablesFilter¶
A PXE boot filtering interface implementation.
Base driver initialization logic. Locked.
Reset internal driver state.
This method is called by the fsm_context manager upon exception as well as by the tear_down_filter method. A subclass might wish to override as necessary, though must not lock the driver. The overriding subclass should up-call.
Sync firewall filter rules for introspection.
Gives access to PXE boot port for any machine, except for those, whose MAC is registered in Ironic and is not on introspection right now.
This function is called from both introspection initialization code and from periodic task. This function is supposed to be resistant to unexpected iptables state.
init()function must be called once before any call to this function. This function is using
eventletsemaphore to serialize access from different green threads.
ironic – an ironic client instance.