Mininet commands

Mininet is a great tool for virtualizing the OpenFlow lab. As discussed before, Mininet is a wrapper over multiple tools, such as OVS, and Linux containers. It allows you to create different configurations and labs using virtual switches.

Mininet has lots of commands and CLI arguments; we will cover only the relevant ones here:

  • Arguments
  • --Topo

Topo is used to tell Mininet what kind of topology to build. There are predefined topologies in Mininet, such as linear, tree, and minimal; also, you can create and define your own topology using a script.

Linear and tree topologies are good topologies to use when running Mininet labs.

  • --mac

This argument generates the host's MAC addresses based on the host ID; it is very useful ...

Get Learning OpenDaylight now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.