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] Enable / disable switches

Bob Lantz rlantz at cs.stanford.edu
Mon Oct 24 18:21:57 PDT 2011


Actually a better term might be "virtual patch panel," but an OF switch would be a good way of implementing it. -BL

On Oct 24, 2011, at 6:12 PM, Bob Lantz wrote:

> For some time, I've been thinking of the best way to implement a virtual punchboard. I'm still not 100% sure, but my current thinking is that a reasonable implementation might be to create another OpenFlow switch with two ports for every host interface, as the punchboard, and then to wrap it in a nice API to make it easy to use.
> 
> However, as Brandon pointed out, the link command (or its 'ifconfig s1-eth1 down' equivalent) is probably what you're looking for.
> 
> -Bob
> 
> On Oct 24, 2011, at 6:02 PM, Aaron Rosen wrote:
> 
>> Hi Bob, 
>> 
>> I wanted to test my controller working in a chancing topology. I think just having a large topology and then just changing my flowspace is probably the easiest solution. I was just curious if mininet already had some features for this built in. 
>> 
>> Cheers, 
>> 
>> Aaron
>> 
>> 
>> On Mon, Oct 24, 2011 at 8:54 PM, Bob Lantz <rlantz at cs.stanford.edu> wrote:
>> Aaron,
>> 
>> What exactly are you trying to do and why? If I have a better understanding of what you're trying to do, I might be able to suggest something.
>> 
>> I think we discussed this before but didn't adopt it because there weren't obvious clear semantics that had an analog to hardware (e.g. unplugging a cable, breaking a cable, turning a port off administratively, shutting the switch down, etc..)
>> 
>> As Brandon implied, you *could* "pause" the reference user switch by doing something like switch.cmd('kill -STOP %ofdatapath %ofprotocol'), but I would think carefully about whether this is what you really want.
>> 
>> My thinking is that the right way to disable a port is for the controller to set it to administratively down by sending a OFPT_PORT_MOD message (assuming that works.)
>> 
>> -Bob
>> 
>> On Oct 24, 2011, at 3:05 PM, Brandon Heller wrote:
>> 
>>> I'm not aware of an easy way.  
>>> 
>>> By disable, do you mean pausing the user-space process for a switch, or killing the whole thing?  Using a user-space switch would certainly make this kind of thing easier.
>>> 
>>> -b
>>> 
>>> On Mon, Oct 24, 2011 at 2:45 PM, Aaron Rosen <arosen at clemson.edu> wrote:
>>> Hello, 
>>> 
>>> Sorry if this has already been asked but is there is a way to easily disable end enable switches (maybe event ports? )  easily through mininet? 
>>> 
>>> Thanks, 
>>> 
>>> Aaron
>>> 
>>> P.S: I suppose you could easily do this with flowvisor pretty easily if not directly through mininet. 
>>> 
>>> 
>>> -- 
>>> Aaron O. Rosen
>>> Masters Student - Network Communication
>>> 306B Fluor Daniel
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> mininet-discuss mailing list
>>> mininet-discuss at lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>>> 
>>> 
>>> _______________________________________________
>>> mininet-discuss mailing list
>>> mininet-discuss at lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>> 
>> 
>> 
>> 
>> -- 
>> Aaron O. Rosen
>> Masters Student - Network Communication
>> 306B Fluor Daniel
>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.stanford.edu/mailman/private/mininet-discuss/attachments/20111024/817d77b5/attachment-0001.html>


More information about the mininet-discuss mailing list