[opendaylight][l2switch] l2switch not sending MAC-to-MAC based flows

asked 2017-03-29 02:32:43 -0700

ebiibe82 gravatar image

Hi All,

I have downloaded and installed ODL release: distribution-karaf-0.4.3-Beryllium-SR3

I have enabled following features: feature:install odl-l2switch-switch feature:install odl-restconf-all feature:install odl-dlux-core I have created a n/w in mininet using following command: sudo mn --controller=remote,ip=192.168.121.79 --mac --topo=linear,3 --switch ovsk,protocols=OpenFlow13

When all the Switches created in mininet connects to Controller, following flows are received: root@mininet-vm:~# ovs-ofctl -O OpenFlow13 dump-flows s1 OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b0000000000000a, duration=2952.212s, table=0, npackets=43, nbytes=3262, priority=2,inport=1 actions=output:2,CONTROLLER:65535 cookie=0x2b0000000000000b, duration=2952.212s, table=0, npackets=83, nbytes=6286, priority=2,inport=2 actions=output:1 cookie=0x2b00000000000006, duration=2958.144s, table=0, npackets=592, nbytes=50320, priority=100,dltype=0x88cc actions=CONTROLLER:65535 cookie=0x2b00000000000005, duration=2958.164s, table=0, npackets=0, nbytes=0, priority=0 actions=drop root@mininet-vm:~# ovs-ofctl -O OpenFlow13 dump-flows s2 OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000013, duration=2953.621s, table=0, npackets=40, nbytes=3024, priority=2,inport=3 actions=output:1,output:2 cookie=0x2b00000000000011, duration=2953.621s, table=0, npackets=43, nbytes=3262, priority=2,inport=1 actions=output:2,output:3,CONTROLLER:65535 cookie=0x2b00000000000012, duration=2953.621s, table=0, npackets=43, nbytes=3262, priority=2,inport=2 actions=output:1,output:3 cookie=0x2b00000000000004, duration=2959.578s, table=0, npackets=1184, nbytes=100640, priority=100,dltype=0x88cc actions=CONTROLLER:65535 cookie=0x2b00000000000004, duration=2959.578s, table=0, npackets=0, nbytes=0, priority=0 actions=drop root@mininet-vm:~# ovs-ofctl -O OpenFlow13 dump-flows s3 OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b0000000000000d, duration=2955.194s, table=0, npackets=40, nbytes=3024, priority=2,inport=1 actions=output:2,CONTROLLER:65535 cookie=0x2b0000000000000e, duration=2955.194s, table=0, npackets=86, nbytes=6524, priority=2,inport=2 actions=output:1 cookie=0x2b00000000000007, duration=2961.127s, table=0, npackets=592, nbytes=50320, priority=100,dltype=0x88cc actions=CONTROLLER:65535 cookie=0x2b00000000000007, duration=2961.136s, table=0, npackets=0, n_bytes=0, priority=0 actions=drop

When I do "pingall" in mininet VM, even then there are no MAC-to-MAC based flows are being added from Controller. “is-learning-only-mode” is set to false in "etc/opendaylight/karaf/58-l2switchmain.xml".

Am I missing anything here? Shouldn't I expect MAC-to-MAC based flows on Switches once ping is generated from hosts?

Regards, Amit

edit retag flag offensive close merge delete