Search Mailing List Archives
[mininet-discuss] Configure the topology in run time
rlantz at cs.stanford.edu
Thu Mar 8 00:15:39 PST 2012
Right now you can do so using moveIntf() and sending add-if and del-if commands to the switch from the Python API. There currently isn't a CLI command, but you can use the py command to call python.
Reconnecting hosts is a useful feature that other people (e.g. Kyriakos, Big Switch, KK, me) want as well, so a friendlier way of doing this is on the list of things I want to integrate in.
On Mar 7, 2012, at 9:21 AM, Hyogi Jung wrote:
> Hi all
> I research openflow using mininet.
> In mininet, custom topologies can be easily defined using a simple Python API.
> This example connects two switches directly, with a single host off each switch.
> h1 ---------- s1 ---------- s2 ---------- h2
> So user can test to the command-line. For example
> sudo mn --custom ~/mininet/custom/topo-2sw-2host.py --topo mytopo
> I want to move host position in run time using mininet CLI.
> Not pre-definded topology. I just want to configure host position after starting mininet.
> For example,
> s1 ---------- s2 ---------- h2
> Can I configure the topology in run time? Is there a mininet command?
> Thanks a lot!
> Hyogi Jung, MS Student
> Multimedia & Mobile Communications Lab
> School of Computer Science and Engineering
> Seoul National University, Korea
> Tel: +82-2-880-9147
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mininet-discuss