Search Mailing List Archives
[mininet-discuss] mininet control socket
gee.developer at gmail.com
Wed Apr 30 11:50:19 PDT 2014
To expand on that, your could create your own REST interface onto Mininet
like mentioned in the FAQ. Just look for a topic called 'How can I add a
REST interface to Mininet?'.
On Wed, Apr 30, 2014 at 9:40 AM, Baohua Yang <yangbaohua at gmail.com> wrote:
> Hi Felician
> For this purpose, I guess you can implement by using the python
> library provided by mininet.
> E.g., write some python scripts to call the linkdown or linkup
> functions in the lib.
> How do you think?
> On Wed, Apr 30, 2014 at 8:50 PM, Felician Nemeth <nemethf at tmit.bme.hu>wrote:
>> The CLI interface of mininet is really convenient, but sometimes it
>> would be really good to have a programmable interface to mininet in
>> addition to the CLI. Example usage may include changing link status
>> periodically, orchestrating host mobility, or creating virtual network
>> functions dynamically.
>> Obviously, mininet could be extended for each of these tasks. (For
>> example, periodic timers can issue link up/down commands.) However, I
>> think, a remote control interface would be more general.
>> Then one possible implementation could be a new --mininetport command
>> line argument that would expose the currently available CLI on the given
>> port. (The implementation might get a bit complicated since the cmdloop
>> of the cmd python module seems to block.)
>> So what do you think, can a control interface similar to the above be
>> generally useful?
>> mininet-discuss mailing list
>> mininet-discuss at lists.stanford.edu
> Best wishes!
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mininet-discuss