The section "Communicating with a Datapath (Switch)" in the manual may be 
useful to you.

-- Murphy

On Feb 22, 2014, at 11:33 PM, Rizwan Jamil <u_r_wel...@hotmail.com> wrote:

> Dear All !
> 
> 
> My question is regarding the controller: that how can I access the parameters 
> of other switches of a network FROM WITHIN the event handler of one of the 
> switches of that same network?
> 
> 
> For example, I require to delete all flows in all switches in a network 
> whenever any port of any one of the switches goes down. So I think I would 
> have to access the flow tables of other switches from within the event 
> handler (Ports Status) of the switch which has triggered the removal/deletion 
> of one of its ports. But is it possible to do? How?
> 
> 
> Another example is that, in a ring-protected network, I want to install the 
> flow in a switch for the shorter of the two paths with the help of an 
> algorithm. But while handling the packet_in event and before installing the 
> flow for the shorter path, I also require to make a check that whether or not 
> the ports of all switches upto the destination switch are up. If up, then 
> install that flow (for the shorter path), otherwise install the flow for the 
> other i.e. longer path. So it is possible to read the ports states of other 
> switches from within the packet_in handler of one of the switches which is 
> asking for a flow to the destination?
> 
> 
> Please help!

Reply via email to