AutoNetkit 0.8.17

Automated configuration generator for Netkit
AutoNetkit is a software for creating Netkit configurations.

Dependencies:

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     
   
Configuring:

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 = "netkithost.adelaide.edu.au"
username = "sknight"
password = "12345"                                       

or if running on the same machine:

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


You can then deploy the lab using:

myNetkit.deploy(myInternet)

Running:

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

python AutoNetkit.py

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

./AutoNetkit.py -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 netkithost.adelaide.edu.au
INFO   Connected to netkithost.adelaide.edu.au
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, 14:44 GMT
price:
FREE!
developed by:
Simon Knight and Hung Nguyen
homepage:
bandicoot.maths.adelaide.edu.au
license type:
Other/Proprietary License
category:
ROOT \ System \ Networking

FREE!

In a hurry? Add it to your Download Basket!

user rating 1

5.0/5
 

0/5

Rate it!

Add your review!

SUBMIT