Code Monkey home page Code Monkey logo

mininet_tools's Introduction

这是我们在Mininet上试验时所用的工具箱。

topo.py是一个拓扑生成工具。可以使用

  'python topo.py -h xx -s yy'

来生成一个新的拓扑。对于'-h'和'-s'并没有顺序要求。'-h'后的xx代表
新拓扑中的主机数,'-s'后的yy则代表新拓扑中的交换机数量。新拓扑为
线性,每台主机都与编号相同的交换机相连。如果主机数量多于交换机数
量,则第n+1台主机连接到第1个交换机。

scp_dhcp是DHCPDISCOVER包生成代码。可以在代码中

	'sendp(dhcp_disc, loop=1, inter=0.2)'

调整是否循环和发送时延。其中,loop为循环控制(1=循环; 0=不循环)。
inter为间隔时间。

更多信息,请参考
richardzhao.me

---
赵伟辰
[email protected]


This is a tool-box for our experiments/stimulations on Mininet.

topo.py is a topo-gen tool. You can use 
  'python topo.py'

to generate a new topology. There is no restrict on the order of
'-h' and '-s'. The xx after '-h' is the number of hosts in that
topo, and yy after '-s' the number of switches. The new topo is 
linear topology, and each host is connect with a switch which have
the same number. If there are more hosts than switches, then the
(n+1)th host will connect to 1st switch.

scp_dhcp is a piece of DHCPDISCOVER packet generating code. You
can adjust in

	'sendp(dhcp_disc, loop=1, inter=0.2)'

where loop=1; loop=0 are enable and disable looping. And inter
controls the interval time between packets.

for more information, please visit
richardzhao.me

---
Richard Zhao
[email protected]

mininet_tools's People

Contributors

09zwcbupt avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

flyawaytang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.