I think I am still confused about what you're trying to accomplish here.  But 
if you want to change how a packet is forwarded, you need to modify the flow 
table by sending ofp_flow_mod messages to the relevant switch (or switches).

My guess is that modifying the spanning tree component is not going to be an 
effective way to do what you want, but I am just guessing since I am not clear 
on what you're doing.

Good luck.

-- Murphy

On Jul 14, 2012, at 2:44 AM, Silvia Fichera <[email protected]> wrote:

> doing "link s2 s4 down" I turn off manually the link. And I lose the packets 
> as they don't take the other path through s2 s3.
> I want that it turns it off automatically after a certain number of packets 
> and the subsequent packets have to take the other path, so when s2-s4 is off, 
> s2-s3 is on, and vice versa, but I need that this series of switch on and 
> switch off shouldn't be manual. 
> 
> 2012/7/14 Silvia Fichera <[email protected]>
> I'll try. Thanks
> 
> 
> 2012/7/14 Murphy McCauley <[email protected]>
> On Jul 14, 2012, at 1:50 AM, Silvia Fichera wrote:
> 
> > The original spanning tree code assigns a single path, always the same. I 
> > need to have two different alternating path.
> 
> 
> Well, spanning_tree will switch paths if the original path becomes unusable 
> because a link goes down, but okay.
> 
> > Using Mininet to disable links? How?!
> 
> 
> I'd suggest you look at the Mininet help/documentation.  But try something 
> like the following from the Mininet prompt:
> link s2 s4 down
> 
> -- Murphy
> 
> 
> 
> -- 
> Silvia Fichera
> 
> 
> 
> -- 
> Silvia Fichera

Reply via email to