I think MAC-to-MAC flows (in default flood mode) are created when source and 
destination MAC are in the same switch. Your topology (linear,3) has only 1 
host per switch.

BR/Luis


> On Mar 29, 2017, at 2:16 AM, Amit Kumar <ebiib...@gmail.com> wrote:
> 
> 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
> 
> OFPST_FLOW reply (OF1.3) (xid=0x2):
> 
> cookie=0x2b0000000000000a, duration=2952.212s, table=0, n_packets=43, 
> n_bytes=3262, priority=2,in_port=1 actions=output:2,CONTROLLER:65535
> 
> cookie=0x2b0000000000000b, duration=2952.212s, table=0, n_packets=83, 
> n_bytes=6286, priority=2,in_port=2 actions=output:1
> 
> cookie=0x2b00000000000006, duration=2958.144s, table=0, n_packets=592, 
> n_bytes=50320, priority=100,dl_type=0x88cc actions=CONTROLLER:65535
> 
> cookie=0x2b00000000000005, duration=2958.164s, table=0, n_packets=0, 
> n_bytes=0, priority=0 actions=drop
> 
> root@mininet-vm:~# ovs-ofctl -O OpenFlow13 dump-flows s2
> 
> OFPST_FLOW reply (OF1.3) (xid=0x2):
> 
> cookie=0x2b00000000000013, duration=2953.621s, table=0, n_packets=40, 
> n_bytes=3024, priority=2,in_port=3 actions=output:1,output:2
> 
> cookie=0x2b00000000000011, duration=2953.621s, table=0, n_packets=43, 
> n_bytes=3262, priority=2,in_port=1 actions=output:2,output:3,CONTROLLER:65535
> 
> cookie=0x2b00000000000012, duration=2953.621s, table=0, n_packets=43, 
> n_bytes=3262, priority=2,in_port=2 actions=output:1,output:3
> 
> cookie=0x2b00000000000004, duration=2959.578s, table=0, n_packets=1184, 
> n_bytes=100640, priority=100,dl_type=0x88cc actions=CONTROLLER:65535
> 
> cookie=0x2b00000000000004, duration=2959.578s, table=0, n_packets=0, 
> n_bytes=0, priority=0 actions=drop
> 
> root@mininet-vm:~# ovs-ofctl -O OpenFlow13 dump-flows s3
> 
> OFPST_FLOW reply (OF1.3) (xid=0x2):
> 
> cookie=0x2b0000000000000d, duration=2955.194s, table=0, n_packets=40, 
> n_bytes=3024, priority=2,in_port=1 actions=output:2,CONTROLLER:65535
> 
> cookie=0x2b0000000000000e, duration=2955.194s, table=0, n_packets=86, 
> n_bytes=6524, priority=2,in_port=2 actions=output:1
> 
> cookie=0x2b00000000000007, duration=2961.127s, table=0, n_packets=592, 
> n_bytes=50320, priority=100,dl_type=0x88cc actions=CONTROLLER:65535
> 
> cookie=0x2b00000000000007, duration=2961.136s, table=0, n_packets=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
> 
> _______________________________________________
> L2switch-dev mailing list
> L2switch-dev@lists.opendaylight.org
> https://lists.opendaylight.org/mailman/listinfo/l2switch-dev

_______________________________________________
L2switch-dev mailing list
L2switch-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/l2switch-dev

Reply via email to