On Aug 23, 2014, at 5:42 AM, Padma Jayasankar <[email protected]> wrote:
> Hi, > I am new to POX and Openflow. In my project.I have to compute working path > and backup path and install them in switches.I am going to use Mininet and > POX..Please guide me where to start with.. > > In POX, i tried with > python ./pox.py openflow.discovery forwarding.l2_multi > and in Mininet, > sudo mn --topo single,2 --controller remote,ip=192.168.1.4,6633 > > The topology was built successfully. > 1)I wanted to check the flow entries in the flow table of switch s1. > > i executed > sudo dpctl dump-flows tcp:127.0.0.1:6634 > > Initially it showed a single entry which directed the flows to the controller. This is probably an entry to direct the discovery packets to the controller. > Then i executed h1 ping -c10 h2 > > mean while checked the flow entries using dpctl command > > Now it listed some 5 entries including the previous one. For the same input > and poutput pairs there were 2 entries..why is it so? l2_multi installs exact-match flows. There's probably a pair for both directions of ARP and another pair for both directions of ICMP. Check the Ethertype and IP protocol numbers for each table entry. Also, you should probably use the OVS tools (ovs-dpctl, ovs-ofctl, etc.) rather than the reference distribution's dpctl. > 2) According to my requirements, some of the switches have to generate > renewal packets peroiodically, to keep the back up paths alive. Which part > has to be modified for this? You haven't really explained your strategy for backup paths, so I don't have any idea what you're talking about here. Offhand, it seems like you could just install the entries for your backup paths without a timeout. > Please clarify the doubts.. > > Thanks & Regards, > Padma V
