Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

default flow entries installed by ODL when switches get connected

Hi Experts, Can you please tell me for what purpose ODL installs default flows when switches get connected. Below are the flow entries in each switch. (My config is sw2---sw1---sw3) | | | | h1 h2 h3 h4

0419:~/Downloads/distribution-karaf-0.3.1-Lithium-SR1$ sudo ovs-ofctl dump-flows s1 -O Openflow13 OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000047, duration=6.931s, table=0, npackets=40, nbytes=7342, priority=0 actions=drop cookie=0x2b00000000000047, duration=0.957s, table=0, npackets=1, nbytes=315, priority=2,inport=1 actions=output:2 cookie=0x2b00000000000046, duration=0.957s, table=0, npackets=1, nbytes=315, priority=2,inport=2 actions=output:1 cookie=0x2b00000000000047, duration=6.926s, table=0, npackets=4, nbytes=340, priority=100,dltype=0x88cc actions=CONTROLLER:65535

0419:~/Downloads/distribution-karaf-0.3.1-Lithium-SR1$ tel@tel-CHN-0419:~/Downloads/distribution-karaf-0.3.1-Lithium-SR1$ tel@tel-CHN-0419:~/Downloads/distribution-karaf-0.3.1-Lithium-SR1$ tel@tel-CHN-0419:~/Downloads/distribution-karaf-0.3.1-Lithium-SR1$ sudo ovs-ofctl dump-flows s2 -O Openflow13 OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000046, duration=11.053s, table=0, npackets=31, nbytes=4569, priority=0 actions=drop cookie=0x2b00000000000041, duration=5.076s, table=0, npackets=10, nbytes=1808, priority=2,inport=3 actions=output:2,output:1 cookie=0x2b00000000000042, duration=5.076s, table=0, npackets=1, nbytes=70, priority=2,inport=1 actions=output:2,output:3,CONTROLLER:65535 cookie=0x2b00000000000040, duration=5.076s, table=0, npackets=1, nbytes=70, priority=2,inport=2 actions=output:3,output:1,CONTROLLER:65535 cookie=0x2b00000000000045, duration=11.058s, table=0, npackets=3, nbytes=255, priority=100,dl_type=0x88cc actions=CONTROLLER:65535

0419:~/Downloads/distribution-karaf-0.3.1-Lithium-SR1$ sudo ovs-ofctl dump-flows s3 -O Openflow13 OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000043, duration=13.958s, table=0, npackets=33, nbytes=4962, priority=0 actions=drop cookie=0x2b00000000000045, duration=7.970s, table=0, npackets=9, nbytes=1493, priority=2,inport=3 actions=output:2,output:1 cookie=0x2b00000000000044, duration=7.970s, table=0, npackets=1, nbytes=70, priority=2,inport=1 actions=output:2,output:3,CONTROLLER:65535 cookie=0x2b00000000000043, duration=7.970s, table=0, npackets=1, nbytes=70, priority=2,inport=2 actions=output:1,output:3,CONTROLLER:65535 cookie=0x2b00000000000043, duration=13.970s, table=0, npackets=3, nbytes=255, priority=100,dl_type=0x88cc actions=CONTROLLER:65535 tel@tel-CHN-0419:~/Downloads/distribution-karaf-0.3.1-Lithium-SR1$

Also when i try to ping from h1 to h4 packetin msg is reaching the controller, but no flow mod is installing for that paketin, also ping is successful.

My questions,

  1. what happen to that packetin? (lot of packetin msg are reaching the controller but no response from controller side)
  2. In the flow entry above packets are flooding to all the other port expect in_port, wht is the reason to install a flow like that?

Note: Used Mininet to create the topo and used lithium edition.

Thanks in advance!!!