On Nov 14, 2014, at 7:12 PM, Padma Jayasankar <padmaj...@gmail.com> wrote:
> HI, > 1. I am getting the following entry in all switches. What does this entry > denote? > cookie=0x0, duration=100.653s, table=0, n_packets=34, n_bytes=1394, > idle_age=1, priority=65000,dl_dst=01:23:20:00:00:01,dl_type=0x88cc > actions=CONTROLLER:65535 I'm guessing this is the output from ovs-ofctl or dpctl or something. It's probably worth learning to use the tool; it probably has a man page. It should also be pretty clear if you take a look at the OpenFlow spec. The high points of this entry are that packets with the destination MAC 01:23:20:00:00:01 and Ethertype 0x88cc are sent to the controller. 0x88cc is LLDP. And if you look up the OUI of the MAC address, you'll see that it's Nicira Networks. This is the multicast MAC address used for Nicira-style discovery. You're probably running the POX discovery component, which installs table entries like this. > 2. I am using POX with Mininet and OVSK. I am using l2_multi routine.This > deletes all the flow entries when a link failure(link down) event is raised. > I want to change this , so that it deletes entries pertaining the failed > link alone.How to achieve this? I tried with the following code > ie) How to delete entries of a switch that has outport or inport as the > specified port number > > clear = of.ofp_flow_mod(command=of. > OFPFC_DELETE,out_port=port1) > sw1.connection.send(clear) > > clear = > of.ofp_flow_mod(command=of.OFPFC_DELETE,match=of.ofp_match(in_port=port2)) > sw2.connection.send(clear) > > But it is not behaving as expected What's it doing instead? > Please clarify. > > Thanks and Regards, > Padma V