[pox-dev] send OFPFlowMod message to a specific switch from the controller

2014-03-19 Thread Windhya Rankothge
Hi all, I want to send OFPFlowMod message to a specific switch from the controller.. I have read about OFPFlowMod message structure and saw that we can specify the datapath.. But I am not sure how I can use this datapath to specify the switch I want to send the message.. Also I want to install ru

Re: [pox-dev] How to Access Other Switches from Event Handler of A Switch

2014-03-19 Thread Murphy McCauley
In general, POX doesn't "save" information on previous events for you. If you want it, you should save it yourself. For example, if you want port information, you can create a dictionary in a global variable, use the DPID as the key, and save port information as the values. Port information i

Re: [pox-dev] How to Access Other Switches from Event Handler of A Switch

2014-03-19 Thread Rizwan Jamil
Dear Murphy! That section on the POX manual was a bit helpful. But what I am trying to do is to check ports states of other switches from within the PacketIn event handler of one switch. For that I need to access the "state" flag of "ofp.desc" attribute of the PortStatus events of different swit