Which mininet/OVS version are you using for this test? I will try this later 
today. Also cc-ing l2switch people.

BR/Luis

From: Selvakumar Murugasekaran [mailto:[email protected]]
Sent: Tuesday, May 17, 2016 3:45 AM
To: Daniel Farrell
Cc: Luis Gomez; Luis Gomez; [email protected]; 
[email protected]
Subject: Reg: Ping is not working in mininet with ODL controller reactive mode.

Hello Daniel Farrell,

Good day to you.

I am using mininet(version 2.2.0b1) and ODL beryllium 
controller(distribution-karaf-0.4.0-Beryllium.tar.gz)

Currently I am doing benchmarking draft test for "Reactive path provisioning 
time & rate" of ODL beryllium controller using mininet.

I executed the following commands in controller PC,

export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export JAVA_MAX_MEM=2072M
tar -xvzf distribution-karaf-0.4.0-Beryllium.tar.gz
./distribution-karaf-0.4.0-Beryllium/bin/karaf
feature:install odl-restconf-all odl-l2switch-switch odl-openflowplugin-all 
odl-dlux-all odl-openflowplugin-flow-services-ui odl-l2switch-hosttracker

Then I did the following changes to make the ODL controller in reactive mode,

Location: [ODL-folder]/etc/opendaylight/karaf
I changed <is-proactive-flood-mode> to false from true in file 
54-arphandler.xml. Also changed <is-install-dropall-flow> to false from true in 
file 58-l2switchmain.xml.

After that I did ./karaf  clean following by installed the following feature's,

"feature:install odl-restconf-all odl-l2switch-switch odl-openflowplugin-all 
odl-dlux-all odl-openflowplugin-flow-services-ui odl-l2switch-hosttracker"

Then I executed the following commands in mininet PC,

mn --controller=remote,ip=33.33.33.1 --topo=linear,16 
--switch=ovsk,protocols=OpenFlow13 --mac
pingall
h1 ping h10
h1 ping h2
h1 ping 11
h1 ping h16
exit

The h1 ping upto h8 is working fine.

The pingall, h1 ping h10 & h1 ping h16 is not working in above commands.

Could you please help me to rectify this problem?

Could you please clarify whether any other controller configuration need for 
reactive mode?

Note: Sporadically sometime h1 ping h2 also not working.

Result of OVS dump:
================
root@admin1-PDSM4:~# ovs-ofctl dump-flows s11 -O openflow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x2b00000000000071, duration=44.030s, table=0, n_packets=19, 
n_bytes=1653, priority=100,dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x2b00000000000071, duration=44.030s, table=0, n_packets=0, n_bytes=0, 
priority=1,arp actions=CONTROLLER:65535
root@admin1-PDSM4:~#
root@admin1-PDSM4:~# ovs-ofctl dump-flows s1 -O openflow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x2a0000000000005e, duration=104.694s, table=0, n_packets=3, 
n_bytes=294, idle_timeout=1800, hard_timeout=3600, 
priority=10,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:0a actions=output:2
 cookie=0x2a0000000000005f, duration=104.694s, table=0, n_packets=3, 
n_bytes=294, idle_timeout=1800, hard_timeout=3600, 
priority=10,dl_src=00:00:00:00:00:0a,dl_dst=00:00:00:00:00:01 actions=output:1
 cookie=0x2b0000000000005d, duration=113.056s, table=0, n_packets=24, 
n_bytes=2040, priority=100,dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x2b0000000000005d, duration=113.056s, table=0, n_packets=20, 
n_bytes=840, priority=1,arp actions=CONTROLLER:65535
root@admin1-PDSM4:~#
root@admin1-PDSM4:~# ovs-ofctl dump-flows s16 -O openflow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x2b0000000000007b, duration=114.483s, table=0, n_packets=23, 
n_bytes=2001, priority=100,dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x2b0000000000007b, duration=114.483s, table=0, n_packets=0, n_bytes=0, 
priority=1,arp actions=CONTROLLER:65535
root@admin1-PDSM4:~#

Let me know if you need any more information.


Thanks and Regards,
Selvakumar Murugasekaran.








_______________________________________________
L2switch-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/l2switch-dev

Reply via email to