0.8.17 Other/Proprietary License
5.0/5 1


Automated configuration generator for Netkit




AutoNetkit is a software for creating Netkit configurations.


AutoNetkit requires the following modules: netaddr, mako, networkx, pydot, pyparse, graphviz and pexpect.

These can be installed using:

sudo easy_install netaddr
sudo easy_install mako
sudo easy_install networkx
sudo easy_install pydot
sudo easy_install pyparsing
sudo easy_install pexpect

for plotting you will need graphviz. On Linux this can be installed as:

    sudo apt-get install graphviz     

A sample AutoNetkit lab can be found in the labs folder. This lab will create a small internet of 3 Autonomous Systems, with a number of routers in each. These routers are connected. This lab is then plotted.

The lab also can be deployed. For deployment, you must provide the details of your Netkit host machine. This can either be the same machine or a different machine.

The settings required are the address of the machine (use "localhost" if you are running Netkit on the same machine as AutoNetkit), your username to log into the machine (using ssh), and your password.
For example:

host = ""
username = "sknight"
password = "12345"                                       

or if running on the same machine:

host = "localhost"
username = "sknight"
password = "12345"  

You can then deploy the lab using:



Once you have configured your lab, you can start AutoNetkit using:


If you wish to specify your lab in a different configuration file, eg myLab.txt, use the following command:

./ -f labs/myLab.txt

And you should see output such as:
INFO   Loading network from labs/myLab.txt
INFO   Compiling configuration for AS1
INFO   Compiling configuration for AS2
INFO   Compiling configuration for AS3
INFO   Connecting to
INFO   Connected to
INFO   Halting previous lab
INFO   Copying Lab over
INFO   Checking all previous machines shutdown
INFO   Some hosts still running, retrying in 5 seconds
INFO   All previous machines shutdown, starting lab
INFO   Starting r1B (1/10)
INFO   Starting r1C (2/10)
INFO   Starting r1A (3/10)
INFO   Starting r1D (4/10)
INFO   Starting r1E (5/10)
INFO   Starting r2A (6/10)
INFO   Starting r3A (7/10)
INFO   Starting r3B (8/10)
INFO   Starting r3C (9/10)
INFO   Starting r3D (10/10)
INFO   Finished starting Lab, 10 machines started
Lab generated in 28.14 seconds
Last updated on July 14th, 2012

#Netkit configurations #configuration generator #Netkit #configuration #generator #networking

0 User reviews so far.