all i need is just to invoke my python script from dhcp section to perform my actions and return some values.
if i got it right, there are handlers in python module, for corresponding sections in radiusd.conf
for example, i have instantiate section in radiusd.conf and def instantiate(_params) function in my script and it is being invoked successfully
there's python module config as well, where we define module and appropriate function for each event, such as
mod_instantiate = "test_freeradius"
func_instantiate = "instantiate"
next, i've not found any mention of 'dhcp' section in rlm_python sources and even added it.