<div dir="ltr">I'm really sorry Arran, python syntax does not allow function naming as python.authorize<div>Also, tried to declare func_dhcp as python.dhcp in the module config, but no, it wants exact function name.</div>

<div>Or didn't i get you right again?</div><div>i have python module call in the instantiate section and i have func_instantiate declared in the module config and it is invoked properly when instantiated i just want the same for dhcp.</div>
<div>Thank you.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 8, 2014 at 4:15 PM, Arran Cudbard-Bell <span dir="ltr"><<a href="mailto:a.cudbardb@freeradius.org" target="_blank">a.cudbardb@freeradius.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On 8 May 2014, at 13:34, Serge Krawczenko <<a href="mailto:skrawczenko@gmail.com">skrawczenko@gmail.com</a>> wrote:<br>
<br>
> Would you add a few words please? Thanks.<br>
<br>
</div>Module calls are<br>
<br>
<instance name>[.<method override>]<br>
<br>
If you want to call a python function associated with the authorize<br>
section in a normal RADIUS virtual-server, use python.authorize.<br>
<br>
If you want to call a python function associated with the accounting<br>
section in a normal RADIUS virtual-server, use python.accounting.<br>
<br>
and so on...<br>
<br>
Pick the behaviour you need and use the correct method override.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Arran<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
Arran Cudbard-Bell <<a href="mailto:a.cudbardb@freeradius.org">a.cudbardb@freeradius.org</a>><br>
FreeRADIUS Development Team<br>
<br>
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2<br>
<br>
</div></div><br>-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br></div>