AutoNetkit

Automated configuration generator for Netkit
Download

AutoNetkit Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Other/Proprietary Li...
  • Price:
  • FREE
  • Publisher Name:
  • Simon Knight and Hung Nguyen
  • Publisher web site:
  • http://bandicoot.maths.adelaide.edu.au/

AutoNetkit Tags


AutoNetkit Description

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 netaddrsudo easy_install makosudo easy_install networkxsudo easy_install pydotsudo easy_install pyparsingsudo easy_install pexpectfor 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.pyIf you wish to specify your lab in a different configuration file, eg myLab.txt, use the following command:./AutoNetkit.py -f labs/myLab.txtAnd you should see output such as:INFO Loading network from labs/myLab.txtINFO Compiling configuration for AS1INFO Compiling configuration for AS2INFO Compiling configuration for AS3INFO Connecting to netkithost.adelaide.edu.auINFO Connected to netkithost.adelaide.edu.auINFO Halting previous labINFO Copying Lab overINFO Checking all previous machines shutdownINFO Some hosts still running, retrying in 5 secondsINFO All previous machines shutdown, starting labINFO 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 startedLab generated in 28.14 seconds Requirements: · Python


AutoNetkit Related Software