Re: [pox-dev] How to get switch name set in Mininet in POX

2013-10-29 Thread Sulabh Bista
switches by their DPID rather than a name. -- Murphy On Oct 29, 2013, at 4:55 PM, Sulabh Bista sul...@gmail.com wrote: Hello: I wanted to know if we can fetch the name assigned to an OVSwitch in Mininet in POX. I am listening to PacketIn event and found noting relating to the switch name

Re: [pox-dev] How to get switch name set in Mininet in POX

2013-10-29 Thread Sulabh Bista
Thanks for the clarification. On Tue, Oct 29, 2013 at 8:31 PM, Murphy McCauley murphy.mccau...@gmail.comwrote: On Oct 29, 2013, at 5:23 PM, Sulabh Bista sul...@gmail.com wrote: Thanks Murphy. That helped. I noticed (with the dpctl show command in Mininet CLI) that two switches s1 and r1

Re: [pox-dev] host unreachable

2013-11-13 Thread Sulabh Bista
You can start pox with layer 2 learning algorithm. Try this: ./pox.py forwarding.l2_learning On Wed, Nov 13, 2013 at 1:42 PM, farshad tajedin farshad.taje...@gmail.comwrote: hi when i run mininet by like sudo mn --controller remote and run ./pox.py and ping h2 from h1 i get destination

Re: [pox-dev] TCP unreachability

2013-12-11 Thread Sulabh Bista
input port % (dpid, inport, str(dstaddr))) Looks like you missed the formatting symbols. input port %s %s %s % (str(dpid), str(inport), str(dstaddr)))

Re: [pox-dev] Getting counter values in POX controller

2015-02-28 Thread Sulabh Bista
Hey, A generic method would be: 1. Requesting statistics from a switch (see: https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-ofp_stats_request-Requestingstatisticsfromswitches ) 2. Listening to statistics events (see:

Re: [pox-dev] Set Priority on Flow Rules

2015-06-28 Thread Sulabh Bista
You can find some clues in the documentation here: https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-OpenFlowMessages Straight from the documentation: priority (int) - the priority at which a rule will match, higher numbers higher priority. Note: Exact matches will have highest priority.