Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] mininet control socket

Gregory Gee 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?'.

https://github.com/mininet/mininet/wiki/FAQ

Greg


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:
>
>> Hi,
>>
>> 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?
>>
>> Thanks,
>> Felicián
>> _______________________________________________
>> mininet-discuss mailing list
>> mininet-discuss at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>>
>
>
>
> --
> Best wishes!
> Baohua
>
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20140430/d64570e9/attachment.html>


More information about the mininet-discuss mailing list