[reSIProcate] plugin example config for DSO and Python
Here is an example of a plugin configuration that loads the Python example:
Build the project with
./configure --with-c-ares --with-ssl --with-mysql \
--with-freeradius --with-repro --enable-repro-plugins --with-apps \
--enable-ipv6 --enable-dtls --with-python \
DEPS_PYTHON_CFLAGS=-I/usr/include/python2.7 \
DEPS_PYTHON_LIBS=-lpython2.7 \
--no-create --no-recursion && make -j13
(this works on a Debian 7 box)
and then append to repro.config:
# for the master plugin loader
PluginDirectory = /home/daniel/ws/resiprocate/repro/plugins/pyroute/.libs
LoadPlugins = pyroute
# configure the pyroute plugin to load the example.py script:
PyRoutePath = /home/daniel/ws/resiprocate/repro/plugins/pyroute
PyRouteScript = example