With the provided python module the click modular router can be easily run inside mininet.
The example directory contains a full example with a mininet script and a click configuration file. To run the example the click modular router must be installed. For an easy quickstart you can use the provided Vagrantfile to start a virtual machine with click and mininet installed.